CVE-2023-53515
virtio-mmio: don't break lifecycle of vm_dev
Mitigation
- Upgrade Linux to 55c91fedd03d7b9cf0c5199b2eb12b9b8e95281a or later.
Who should check
- Anyone running Linux >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 97a2d55ead76358245b446efd87818e919196d7a; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < b788ad3b2468512339c05f23692e36860264e674; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 3ff54d904fafabd0912796785e53cce4e69ca123; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 5b7d5c2dd664eb8b9a06ecbc06e28d39359c422e; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < af5818c35173e096085c6ae2e3aac605d3d15e41; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 2dcb368fe5a8eee498ca75c93a18ce2f3b0d6a8e; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 55c91fedd03d7b9cf0c5199b2eb12b9b8e95281a
- Anyone running Linux 4.15
Vulnerability facts
- Affected
- Linux >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 97a2d55ead76358245b446efd87818e919196d7a; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < b788ad3b2468512339c05f23692e36860264e674; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 3ff54d904fafabd0912796785e53cce4e69ca123; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 5b7d5c2dd664eb8b9a06ecbc06e28d39359c422e; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < af5818c35173e096085c6ae2e3aac605d3d15e41; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 2dcb368fe5a8eee498ca75c93a18ce2f3b0d6a8e; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 55c91fedd03d7b9cf0c5199b2eb12b9b8e95281a; Linux 4.15
- Fixed in
- Linux 97a2d55ead76358245b446efd87818e919196d7a, Linux 3ff54d904fafabd0912796785e53cce4e69ca123, Linux 5b7d5c2dd664eb8b9a06ecbc06e28d39359c422e, Linux 2dcb368fe5a8eee498ca75c93a18ce2f3b0d6a8e, Linux 55c91fedd03d7b9cf0c5199b2eb12b9b8e95281a
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
- CWE
- CWE-416
- Modified
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 called. To easily see the problem, compile the kernel with CONFIG_DEBUG_KOBJECT_RELEASE and unbind with sysfs. The fix is easy, don't use devres in this case. Found during my research about object lifetime problems.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 97a2d55ead76358245b446efd87818e919196d7a; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < b788ad3b2468512339c05f23692e36860264e674; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 3ff54d904fafabd0912796785e53cce4e69ca123; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 5b7d5c2dd664eb8b9a06ecbc06e28d39359c422e; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < af5818c35173e096085c6ae2e3aac605d3d15e41; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 2dcb368fe5a8eee498ca75c93a18ce2f3b0d6a8e; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 55c91fedd03d7b9cf0c5199b2eb12b9b8e95281a | — | cvelist |
| Linux | 4.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-53515. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-53515.md Affected: Linux >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 97a2d55ead76358245b446efd87818e919196d7a; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < b788ad3b2468512339c05f23692e36860264e674; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 3ff54d904fafabd0912796785e53cce4e69ca123; >= 7eb781b1bbb7136fe78fb8c… Fixed in: Linux 97a2d55ead76358245b446efd87818e919196d7a, Linux 3ff54d904fafabd0912796785e53cce4e69ca123, Linux 5b7d5c2dd664eb8b9a06ecbc06e28d39359c422e, Linux 2dcb368fe5a8eee498ca75c93a18ce2f3b0d6a8e, Linux 55c91fedd03d7b9cf0c5199b2eb12b9b8e95281a Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/97a2d55ead76358245b446efd87818e919196d7a
- https://git.kernel.org/stable/c/b788ad3b2468512339c05f23692e36860264e674
- https://git.kernel.org/stable/c/3ff54d904fafabd0912796785e53cce4e69ca123
- https://git.kernel.org/stable/c/5b7d5c2dd664eb8b9a06ecbc06e28d39359c422e
- https://git.kernel.org/stable/c/af5818c35173e096085c6ae2e3aac605d3d15e41
- https://git.kernel.org/stable/c/2dcb368fe5a8eee498ca75c93a18ce2f3b0d6a8e
- https://git.kernel.org/stable/c/55c91fedd03d7b9cf0c5199b2eb12b9b8e95281a
FAQ
Is CVE-2023-53515 being exploited?
There is no confirmed exploitation: CVE-2023-53515 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-53515?
High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-53515?
Linux >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 97a2d55ead76358245b446efd87818e919196d7a; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < b788ad3b2468512339c05f23692e36860264e674; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 3ff54d904fafabd0912796785e53cce4e69ca123; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 5b7d5c2dd664eb8b9a06ecbc06e28d39359c422e; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < af5818c35173e096085c6ae2e3aac605d3d15e41; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 2dcb368fe5a8eee498ca75c93a18ce2f3b0d6a8e; >= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, < 55c91fedd03d7b9cf0c5199b2eb12b9b8e95281a; Linux 4.15.
Is there a fix for CVE-2023-53515?
Yes. Fixed in Linux 97a2d55ead76358245b446efd87818e919196d7a, Linux 3ff54d904fafabd0912796785e53cce4e69ca123, Linux 5b7d5c2dd664eb8b9a06ecbc06e28d39359c422e, Linux 2dcb368fe5a8eee498ca75c93a18ce2f3b0d6a8e, Linux 55c91fedd03d7b9cf0c5199b2eb12b9b8e95281a. Upgrade Linux to 55c91fedd03d7b9cf0c5199b2eb12b9b8e95281a or later.
How do I check if I'm affected by CVE-2023-53515?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.