# CVE-2023-54024: KVM: Destroy target device if coalesced MMIO unregistration fails

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-24T10:55:53.718Z
- **Modified:** 2026-06-17T06:46:33.507Z

## Who should check

- Anyone running Linux \>= 7d1bc32d6477ff96a32695ea4be8144e4513ab2d, \< 10c2a20d73e99463e69b7e92706791656adc16d7; \>= 2a20592baff59c5351c5200ec667e1a2aa22af85, \< 76a9886e1b61ce5592df5ae78a19ed30399ae189; \>= 5d3c4c79384af06e3c8e25b7770b6247496b4417, \< 999439fd5da5a76253e2f2c37b94204f47d75491; \>= 5d3c4c79384af06e3c8e25b7770b6247496b4417, \< ccf6a7fb1aedb1472e1241ee55e4d26b68f8d066; \>= 5d3c4c79384af06e3c8e25b7770b6247496b4417, \< fb436dd6914325075f07d19851ab277b7a693ae7; \>= 5d3c4c79384af06e3c8e25b7770b6247496b4417, \< b1cb1fac22abf102ffeb29dd3eeca208a3869d54; 168e82f640ed1891a700bdb43e37da354b2ab63c; 50cbad42bfea8c052b7ca590bd4126cdc898713c; \>= 5.4.119, \< 5.4.235; \>= 5.10.37, \< 5.10.173; …
- Anyone running Linux 5.13

## Description

In the Linux kernel, the following vulnerability has been resolved:

KVM: Destroy target device if coalesced MMIO unregistration fails

Destroy and free the target coalesced MMIO device if unregistering said
device fails.  As clearly noted in the code, kvm\_io\_bus\_unregister\_dev()
does not destroy the target device.

  BUG: memory leak
  unreferenced object 0xffff888112a54880 (size 64):
    comm "syz-executor.2", pid 5258, jiffies 4297861402 (age 14.129s)
    hex dump (first 32 bytes):
      38 c7 67 15 00 c9 ff ff 38 c7 67 15 00 c9 ff ff  8.g.....8.g.....
      e0 c7 e1 83 ff ff ff ff 00 30 67 15 00 c9 ff ff  .........0g.....
    backtrace:
      \[\<0000000006995a8a\>\] kmalloc include/linux/slab.h:556 \[inline\]
      \[\<0000000006995a8a\>\] kzalloc include/linux/slab.h:690 \[inline\]
      \[\<0000000006995a8a\>\] kvm\_vm\_ioctl\_register\_coalesced\_mmio+0x8e/0x3d0 arch/x86/kvm/../../../virt/kvm/coalesced\_mmio.c:150
      \[\<00000000022550c2\>\] kvm\_vm\_ioctl+0x47d/0x1600 arch/x86/kvm/../../../virt/kvm/kvm\_main.c:3323
      \[\<000000008a75102f\>\] vfs\_ioctl fs/ioctl.c:46 \[inline\]
      \[\<000000008a75102f\>\] file\_ioctl fs/ioctl.c:509 \[inline\]
      \[\<000000008a75102f\>\] do\_vfs\_ioctl+0xbab/0x1160 fs/ioctl.c:696
      \[\<0000000080e3f669\>\] ksys\_ioctl+0x76/0xa0 fs/ioctl.c:713
      \[\<0000000059ef4888\>\] \_\_do\_sys\_ioctl fs/ioctl.c:720 \[inline\]
      \[\<0000000059ef4888\>\] \_\_se\_sys\_ioctl fs/ioctl.c:718 \[inline\]
      \[\<0000000059ef4888\>\] \_\_x64\_sys\_ioctl+0x6f/0xb0 fs/ioctl.c:718
      \[\<000000006444fa05\>\] do\_syscall\_64+0x9f/0x4e0 arch/x86/entry/common.c:290
      \[\<000000009a4ed50b\>\] entry\_SYSCALL\_64\_after\_hwframe+0x49/0xbe

  BUG: leak checking failed

## Affected and fixed versions

- Linux: \>= 7d1bc32d6477ff96a32695ea4be8144e4513ab2d, \< 10c2a20d73e99463e69b7e92706791656adc16d7; \>= 2a20592baff59c5351c5200ec667e1a2aa22af85, \< 76a9886e1b61ce5592df5ae78a19ed30399ae189; \>= 5d3c4c79384af06e3c8e25b7770b6247496b4417, \< 999439fd5da5a76253e2f2c37b94204f47d75491; \>= 5d3c4c79384af06e3c8e25b7770b6247496b4417, \< ccf6a7fb1aedb1472e1241ee55e4d26b68f8d066; \>= 5d3c4c79384af06e3c8e25b7770b6247496b4417, \< fb436dd6914325075f07d19851ab277b7a693ae7; \>= 5d3c4c79384af06e3c8e25b7770b6247496b4417, \< b1cb1fac22abf102ffeb29dd3eeca208a3869d54; 168e82f640ed1891a700bdb43e37da354b2ab63c; 50cbad42bfea8c052b7ca590bd4126cdc898713c; \>= 5.4.119, \< 5.4.235; \>= 5.10.37, \< 5.10.173; … (cvelist)
- Linux: 5.13 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-54024. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54024.md
Affected: Linux >= 7d1bc32d6477ff96a32695ea4be8144e4513ab2d, < 10c2a20d73e99463e69b7e92706791656adc16d7; >= 2a20592baff59c5351c5200ec667e1a2aa22af85, < 76a9886e1b61ce5592df5ae78a19ed30399ae189; >= 5d3c4c79384af06e3c8e25b7770b6247496b4417, < 999439fd5da5a76253e2f2c37b94204f47d75491; >= 5d3c4c79384af06e3c8e25b…
Fixed in: Linux 10c2a20d73e99463e69b7e92706791656adc16d7, Linux 76a9886e1b61ce5592df5ae78a19ed30399ae189, Linux 999439fd5da5a76253e2f2c37b94204f47d75491, Linux 5.4.235, Linux 5.10.173

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-54024 being exploited?

There is no confirmed exploitation: CVE-2023-54024 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-54024?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-54024?

Linux \>= 7d1bc32d6477ff96a32695ea4be8144e4513ab2d, \< 10c2a20d73e99463e69b7e92706791656adc16d7; \>= 2a20592baff59c5351c5200ec667e1a2aa22af85, \< 76a9886e1b61ce5592df5ae78a19ed30399ae189; \>= 5d3c4c79384af06e3c8e25b7770b6247496b4417, \< 999439fd5da5a76253e2f2c37b94204f47d75491; \>= 5d3c4c79384af06e3c8e25b7770b6247496b4417, \< ccf6a7fb1aedb1472e1241ee55e4d26b68f8d066; \>= 5d3c4c79384af06e3c8e25b7770b6247496b4417, \< fb436dd6914325075f07d19851ab277b7a693ae7; \>= 5d3c4c79384af06e3c8e25b7770b6247496b4417, \< b1cb1fac22abf102ffeb29dd3eeca208a3869d54; 168e82f640ed1891a700bdb43e37da354b2ab63c; 50cbad42bfea8c052b7ca590bd4126cdc898713c; \>= 5.4.119, \< 5.4.235; \>= 5.10.37, \< 5.10.173; …; Linux 5.13.

### Is there a fix for CVE-2023-54024?

Yes. Fixed in Linux 10c2a20d73e99463e69b7e92706791656adc16d7, Linux 76a9886e1b61ce5592df5ae78a19ed30399ae189, Linux 999439fd5da5a76253e2f2c37b94204f47d75491, Linux 5.4.235, Linux 5.10.173. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54024?

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

- other: <https://git.kernel.org/stable/c/10c2a20d73e99463e69b7e92706791656adc16d7>
- other: <https://git.kernel.org/stable/c/76a9886e1b61ce5592df5ae78a19ed30399ae189>
- other: <https://git.kernel.org/stable/c/999439fd5da5a76253e2f2c37b94204f47d75491>
- other: <https://git.kernel.org/stable/c/ccf6a7fb1aedb1472e1241ee55e4d26b68f8d066>
- other: <https://git.kernel.org/stable/c/fb436dd6914325075f07d19851ab277b7a693ae7>
- other: <https://git.kernel.org/stable/c/b1cb1fac22abf102ffeb29dd3eeca208a3869d54>

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

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