What’s Vulnerable › Vulnerabilities

CVE-2021-47255: kvm: LAPIC: Restore guard to prevent illegal APIC register access

Description

In the Linux kernel, the following vulnerability has been resolved: kvm: LAPIC: Restore guard to prevent illegal APIC register access Per the SDM, "any access that touches bytes 4 through 15 of an APIC register may cause undefined behavior and must not be executed." Worse, such an access in kvm_lapic_reg_read can result in a leak of kernel stack contents. Prior to commit 01402cf81051 ("kvm: LAPIC: write down valid APIC registers"), such an access was explicitly disallowed. Restore the guard that was removed in that commit.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.46, 5.12.13, 5.4.128. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47255 or the next vulnerability affects your stack