PT-2024-11386

CVE-2021-47390

·

Published

2021-09-22

·

Updated

2024-12-30

Description by

CVSS 3.1
8.8
High
MetricsAV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to a stack-out-of-bounds memory access from the ioapic write indirect() function in the KVM x86 module. KASAN reports a stack-out-of-bounds error in kvm make vcpus request mask+0x174/0x440 [kvm]. The problem appears to be that the vcpu bitmap is allocated as a single long on the stack and should be KVM MAX VCPUS long. Additionally, the lower 16 bits of vcpu bitmap are cleared with bitmap zero() for no particular reason, which may be due to confusion between bitmap and vcpu bitmap variables in kvm bitmap or dest vcpus(). The kvm make vcpus request mask() function is involved, and the issue is related to the ioapic write indirect() function.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Impacts
Vendors
Affected products
Weakness enumeration
Related identifiers
OPENSUSE-SU-2024_2189-1
SUSE-SU-2024:2008-1
SUSE-SU-2024:2011-1
SUSE-SU-2024:2019-1
SUSE-SU-2024:2189-1
SUSE-SU-2024:2190-1
Found an issue in the description? Have something to add? Feel free to write us 👾