CVE-2023-54024

KVM: Destroy target device if coalesced MMIO unregistration fails

No CVSS score yet EPSS 0.21%

Published 24 Dec 2025 Updated 23 May 2026 CNA: Linux

Check your servers for CVE-2023-54024

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-54024 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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

Exploitation

EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.1% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 7d1bc32d6477ff96a32695ea4be8144e4513ab2d, before 10c2a20d73e99463e69b7e92706791656adc16d7
affected from 2a20592baff59c5351c5200ec667e1a2aa22af85, before 76a9886e1b61ce5592df5ae78a19ed30399ae189
affected from 5d3c4c79384af06e3c8e25b7770b6247496b4417, before 999439fd5da5a76253e2f2c37b94204f47d75491
affected from 5d3c4c79384af06e3c8e25b7770b6247496b4417, before ccf6a7fb1aedb1472e1241ee55e4d26b68f8d066
affected from 5d3c4c79384af06e3c8e25b7770b6247496b4417, before fb436dd6914325075f07d19851ab277b7a693ae7
affected from 5d3c4c79384af06e3c8e25b7770b6247496b4417, before b1cb1fac22abf102ffeb29dd3eeca208a3869d54
affected 168e82f640ed1891a700bdb43e37da354b2ab63c
affected 50cbad42bfea8c052b7ca590bd4126cdc898713c
affected from 5.4.119, before 5.4.235
affected from 5.10.37, before 5.10.173
affected from 5.11.21, before 5.12
affected from 5.12.4, before 5.13
Other versions: unaffected
Linux
affected 5.13
unaffected before 5.13
unaffected from 5.4.235 up to and including 5.4.*
unaffected from 5.10.173 up to and including 5.10.*
unaffected from 5.15.99 up to and including 5.15.*
unaffected from 6.1.16 up to and including 6.1.*
unaffected from 6.2.3 up to and including 6.2.*
unaffected 6.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-54024 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54024

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-54024
trivy image --scanners vuln IMAGE | grep CVE-2023-54024

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-54024 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.