CVE-2021-47061
kernel: KVM: use-after-free while destroy I/O bus devices on unregister failure
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 29, 2024
Updated · August 5, 2026
Description
A flaw was found in the Linux kernel’s Kernel-based virtual machine (KVM) subsystem. A bug in the code destroys devices attached to I/O buses before the bus can be nullified. This issue causes use-after-free scenarios as readers may still reference the devices on their bus version.
Statement
Red Hat Enterprise Linux 8 and 9 are not affected by this vulnerability.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 6.7CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CWE-416 · Use After Free