CVE-2021-47060: KVM: Stop looking for coalesced MMIO zones if the bus is destroyed
In the Linux kernel, the following vulnerability has been resolved:
KVM: Stop looking for coalesced MMIO zones if the bus is destroyed
Abort the walk of coalesced MMIO zones if kvm_io_bus_unregister_dev()
fails to allocate memory for the new instance of the bus. If it can't
instantiate a new bus, unregister_dev() destroys all devices _except_ the
target device. But, it doesn't tell the caller that it obliterated the
bus and invoked the destructor for all devices that were on the bus. In
the coalesced MMIO case, this can result in a deleted list entry
dereference due to attempting to continue iterating on coalesced_zones
after future entries (in the walk) have been deleted.
Opportunistically add curly braces to the for-loop, which encompasses
many lines but sneaks by without braces due to the guts being a single
if statement.
Security readout for executives and security teams
Plain-English summary
CVE-2021-47060 is a Linux kernel KVM flaw in coalesced MMIO cleanup handling. Under a specific local, highly privileged condition, KVM can continue using list entries after related devices were destroyed, risking host confidentiality and availability impacts. This is most relevant to Linux virtualization hosts, not ordinary remote network exposure.
Executive priority
Treat as a moderate-priority infrastructure hygiene issue. Patch KVM-capable Linux hosts through normal kernel maintenance, with faster handling for shared virtualization or cloud hosts where privileged local access boundaries matter.
Technical view
The bug is in KVM’s coalesced MMIO zone walk after kvm_io_bus_unregister_dev() fails to allocate a replacement bus. The unregister path can destroy other bus devices without clearly signaling that state, so iteration may continue over deleted coalesced_zones entries, causing deleted list entry dereference. CVSS is 6.0 with local attack vector and high privileges required.
Likely exposure
Exposure is likely limited to Linux systems using KVM on affected kernel builds or downstream packages carrying the vulnerable code. The provided source data names Linux kernel versions and stable commit references, but package-level distro status must be verified with the relevant vendor.
Exploitation context
The source bundle does not show CISA KEV listing or active exploitation evidence. The CVSS vector requires local access and high privileges, which reduces broad internet-scale risk but keeps the issue important for shared virtualization, cloud, lab, and hosting environments.
Researcher notes
Evidence supports a kernel logic/use-after-delete style issue during KVM bus unregister failure handling. The prompt does not include proof-of-concept details, exploit reports, or distro fix matrices. Avoid assuming remote exploitability or active attacks without additional sourced evidence.
Mitigation direction
Inventory Linux hosts running KVM or virtualization workloads.
Apply vendor kernel updates containing the referenced stable fixes.
Check distro advisories for package-specific fixed versions.
Restrict privileged KVM and VM management access.
Prioritize hypervisor hosts over non-virtualization Linux systems.
Validation and detection
Confirm kernel versions on KVM-capable hosts.
Map installed packages to vendor advisories for CVE-2021-47060.
Check whether referenced stable commits are present in source builds.
Review virtualization hosts for untrusted privileged users or tenants.
Document any unsupported kernels requiring upgrade planning.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2021-47060 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.