CVE Database›Document archive›CVE-2021-47060

CVE-2021-47060

kernel: KVM: use-after-free while looking for coalesced MMIO zones if the bus is destroyed

Loading…

Severity

Moderate

Red Hat Product Security

6.7

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. The issue arises when looking for coalesced Memory-Mapped I/O (MMIO) zones if the bus is destroyed. The vulnerability is due to a failure in memory allocation for a new instance of the bus during the unregistration process. If the allocation fails, the system continues to walk through coalesced MMIO zones. This issue leads to a use-after-free scenario as the bus and devices are destroyed without notifying the caller.

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.7
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

CWE-416 · Use After Free