{"id":"CVE-2023-54024","aliases":["CVE-2023-54024"],"related":[],"kind":"vulnerability","state":"published","title":"KVM: Destroy target device if coalesced MMIO unregistration fails","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: Destroy target device if coalesced MMIO unregistration fails\n\nDestroy and free the target coalesced MMIO device if unregistering said\ndevice fails.  As clearly noted in the code, kvm_io_bus_unregister_dev()\ndoes not destroy the target device.\n\n  BUG: memory leak\n  unreferenced object 0xffff888112a54880 (size 64):\n    comm \"syz-executor.2\", pid 5258, jiffies 4297861402 (age 14.129s)\n    hex dump (first 32 bytes):\n      38 c7 67 15 00 c9 ff ff 38 c7 67 15 00 c9 ff ff  8.g.....8.g.....\n      e0 c7 e1 83 ff ff ff ff 00 30 67 15 00 c9 ff ff  .........0g.....\n    backtrace:\n      [<0000000006995a8a>] kmalloc include/linux/slab.h:556 [inline]\n      [<0000000006995a8a>] kzalloc include/linux/slab.h:690 [inline]\n      [<0000000006995a8a>] kvm_vm_ioctl_register_coalesced_mmio+0x8e/0x3d0 arch/x86/kvm/../../../virt/kvm/coalesced_mmio.c:150\n      [<00000000022550c2>] kvm_vm_ioctl+0x47d/0x1600 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3323\n      [<000000008a75102f>] vfs_ioctl fs/ioctl.c:46 [inline]\n      [<000000008a75102f>] file_ioctl fs/ioctl.c:509 [inline]\n      [<000000008a75102f>] do_vfs_ioctl+0xbab/0x1160 fs/ioctl.c:696\n      [<0000000080e3f669>] ksys_ioctl+0x76/0xa0 fs/ioctl.c:713\n      [<0000000059ef4888>] __do_sys_ioctl fs/ioctl.c:720 [inline]\n      [<0000000059ef4888>] __se_sys_ioctl fs/ioctl.c:718 [inline]\n      [<0000000059ef4888>] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:718\n      [<000000006444fa05>] do_syscall_64+0x9f/0x4e0 arch/x86/entry/common.c:290\n      [<000000009a4ed50b>] entry_SYSCALL_64_after_hwframe+0x49/0xbe\n\n  BUG: leak checking failed","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: Destroy target device if coalesced MMIO unregistration fails\n\nDestroy and free the target coalesced MMIO device if unregistering said\ndevice fails.  As clearly noted in the code, kvm_io_bus_unregister_dev()\ndoes not destroy the target device.\n\n  BUG: memory leak\n  unreferenced object 0xffff888112a54880 (size 64):\n    comm \"syz-executor.2\", pid 5258, jiffies 4297861402 (age 14.129s)\n    hex dump (first 32 bytes):\n      38 c7 67 15 00 c9 ff ff 38 c7 67 15 00 c9 ff ff  8.g.....8.g.....\n      e0 c7 e1 83 ff ff ff ff 00 30 67 15 00 c9 ff ff  .........0g.....\n    backtrace:\n      [<0000000006995a8a>] kmalloc include/linux/slab.h:556 [inline]\n      [<0000000006995a8a>] kzalloc include/linux/slab.h:690 [inline]\n      [<0000000006995a8a>] kvm_vm_ioctl_register_coalesced_mmio+0x8e/0x3d0 arch/x86/kvm/../../../virt/kvm/coalesced_mmio.c:150\n      [<00000000022550c2>] kvm_vm_ioctl+0x47d/0x1600 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3323\n      [<000000008a75102f>] vfs_ioctl fs/ioctl.c:46 [inline]\n      [<000000008a75102f>] file_ioctl fs/ioctl.c:509 [inline]\n      [<000000008a75102f>] do_vfs_ioctl+0xbab/0x1160 fs/ioctl.c:696\n      [<0000000080e3f669>] ksys_ioctl+0x76/0xa0 fs/ioctl.c:713\n      [<0000000059ef4888>] __do_sys_ioctl fs/ioctl.c:720 [inline]\n      [<0000000059ef4888>] __se_sys_ioctl fs/ioctl.c:718 [inline]\n      [<0000000059ef4888>] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:718\n      [<000000006444fa05>] do_syscall_64+0x9f/0x4e0 arch/x86/entry/common.c:290\n      [<000000009a4ed50b>] entry_SYSCALL_64_after_hwframe+0x49/0xbe\n\n  BUG: leak checking failed","source":"cvelist"}],"published":"2025-12-24T10:55:53.718Z","modified":"2026-06-17T06:46:33.507Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7d1bc32d6477ff96a32695ea4be8144e4513ab2d","fixed":"10c2a20d73e99463e69b7e92706791656adc16d7","status":"affected"},{"type":"git","introduced":"2a20592baff59c5351c5200ec667e1a2aa22af85","fixed":"76a9886e1b61ce5592df5ae78a19ed30399ae189","status":"affected"},{"type":"git","introduced":"5d3c4c79384af06e3c8e25b7770b6247496b4417","fixed":"999439fd5da5a76253e2f2c37b94204f47d75491","status":"affected"},{"type":"git","introduced":"5d3c4c79384af06e3c8e25b7770b6247496b4417","fixed":"ccf6a7fb1aedb1472e1241ee55e4d26b68f8d066","status":"affected"},{"type":"git","introduced":"5d3c4c79384af06e3c8e25b7770b6247496b4417","fixed":"fb436dd6914325075f07d19851ab277b7a693ae7","status":"affected"},{"type":"git","introduced":"5d3c4c79384af06e3c8e25b7770b6247496b4417","fixed":"b1cb1fac22abf102ffeb29dd3eeca208a3869d54","status":"affected"},{"type":"git","version":"168e82f640ed1891a700bdb43e37da354b2ab63c","status":"affected"},{"type":"git","version":"50cbad42bfea8c052b7ca590bd4126cdc898713c","status":"affected"},{"type":"semver","introduced":"5.4.119","fixed":"5.4.235","status":"affected"},{"type":"semver","introduced":"5.10.37","fixed":"5.10.173","status":"affected"},{"type":"semver","introduced":"5.11.21","fixed":"5.12","status":"affected"},{"type":"semver","introduced":"5.12.4","fixed":"5.13","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.13","status":"unaffected"},{"type":"semver","introduced":"5.4.235","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.173","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.99","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.16","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.3","lastAffected":"6.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/10c2a20d73e99463e69b7e92706791656adc16d7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/76a9886e1b61ce5592df5ae78a19ed30399ae189","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/999439fd5da5a76253e2f2c37b94204f47d75491","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ccf6a7fb1aedb1472e1241ee55e4d26b68f8d066","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fb436dd6914325075f07d19851ab277b7a693ae7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b1cb1fac22abf102ffeb29dd3eeca208a3869d54","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54024","url":"https://www.cve.org/CVERecord?id=CVE-2023-54024","licence":"CVE Terms of Use","modified":"2026-05-23T15:32:02.641Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54024","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54024","licence":"Public domain","modified":"2026-06-17T06:46:33.507Z"}],"updatedAt":"2026-11-25T22:58:35.146Z","epss":{"score":0.00205,"percentile":0.11144,"date":"2026-12-01T12:00:22.000Z"}}