CVE-2023-53515Use After Free in Linux

Severity
7.8HIGHNVD
EPSS
0.0%
top 96.97%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedOct 1

Description

In the Linux kernel, the following vulnerability has been resolved: virtio-mmio: don't break lifecycle of vm_dev vm_dev has a separate lifecycle because it has a 'struct device' embedded. Thus, having a release callback for it is correct. Allocating the vm_dev struct with devres totally breaks this protection, though. Instead of waiting for the vm_dev release callback, the memory is freed when the platform_device is removed. Resulting in a use-after-free when finally the callback is to be cal

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages4 packages

NVDlinux/linux_kernel4.15.14.19.293+7
Debianlinux/linux_kernel< 5.10.197-1+3
CVEListV5linux/linux7eb781b1bbb7136fe78fb8c28c1c223c61fa32b597a2d55ead76358245b446efd87818e919196d7a+7
debiandebian/linux< linux 6.1.52-1 (bookworm)

Patches

🔴Vulnerability Details

2
GHSA
GHSA-h7xx-83rf-fcj5: In the Linux kernel, the following vulnerability has been resolved: virtio-mmio: don't break lifecycle of vm_dev vm_dev has a separate lifecycle bec2025-10-01
OSV
CVE-2023-53515: In the Linux kernel, the following vulnerability has been resolved: virtio-mmio: don't break lifecycle of vm_dev vm_dev has a separate lifecycle becau2025-10-01

📋Vendor Advisories

2
Red Hat
kernel: virtio-mmio: don't break lifecycle of vm_dev2025-10-01
Debian
CVE-2023-53515: linux - In the Linux kernel, the following vulnerability has been resolved: virtio-mmio...2023