CVE-2021-47390
kernel: KVM: x86: Fix stack-out-of-bounds memory access from ioapic_write_indirect()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 21, 2024
Updated · August 5, 2026
Description
A vulnerability was found in the Linux kernel’s KVM subsystem in ioapic_write_indirect() function, beacuse of incorrect stack allocation for the vcpu_bitmap, which is defined as a single long instead of the required size to support all virtual CPUs, which causes out-of-bounds memory access, leading to potential system crashes
Statement
This vulnerability is rated as a moderate severity because it impacting the reliability of virtual machine operations which does not directly facilitate arbitrary code execution or privilege escalation.
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
Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.
CVSS / CWE
CVSS 3.1 · 5.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:H
CWE-121 · Stack-based Buffer Overflow