# CVE-2023-53515: virtio-mmio: don't break lifecycle of vm\_dev

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-10-01T11:46:03.192Z
- **Modified:** 2026-11-05T21:17:24.120Z

## 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

## 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

- Linux: \>= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, \< 97a2d55ead76358245b446efd87818e919196d7a; \>= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, \< b788ad3b2468512339c05f23692e36860264e674; \>= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, \< 3ff54d904fafabd0912796785e53cce4e69ca123; \>= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, \< 5b7d5c2dd664eb8b9a06ecbc06e28d39359c422e; \>= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, \< af5818c35173e096085c6ae2e3aac605d3d15e41; \>= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, \< 2dcb368fe5a8eee498ca75c93a18ce2f3b0d6a8e; \>= 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5, \< 55c91fedd03d7b9cf0c5199b2eb12b9b8e95281a (cvelist)
- Linux: 4.15 (cvelist)

## Mitigation

- Upgrade Linux to 55c91fedd03d7b9cf0c5199b2eb12b9b8e95281a or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- patch: <https://git.kernel.org/stable/c/97a2d55ead76358245b446efd87818e919196d7a>
- patch: <https://git.kernel.org/stable/c/b788ad3b2468512339c05f23692e36860264e674>
- patch: <https://git.kernel.org/stable/c/3ff54d904fafabd0912796785e53cce4e69ca123>
- patch: <https://git.kernel.org/stable/c/5b7d5c2dd664eb8b9a06ecbc06e28d39359c422e>
- patch: <https://git.kernel.org/stable/c/af5818c35173e096085c6ae2e3aac605d3d15e41>
- patch: <https://git.kernel.org/stable/c/2dcb368fe5a8eee498ca75c93a18ce2f3b0d6a8e>
- patch: <https://git.kernel.org/stable/c/55c91fedd03d7b9cf0c5199b2eb12b9b8e95281a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53515>

HTML: <https://flawdb.com/CVE-2023-53515> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53515>
