← CVE Intelligence

CVE-2021-47255

kvm: LAPIC: Restore guard to prevent illegal APIC register access PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 01402cf81051f796dac7c60ca11d6147153ca46a before bf99ea52970caeb4583bdba1192c1f9b53b12c84; affected 01402cf81051f796dac7c60ca11d6147153ca46a before 018685461a5b9a9a70e664ac77aef0d7415a3fd5; affected 01402cf81051f796dac7c60ca11d6147153ca46a before a2aff09807fbe4018c269d3773a629949058b210; affected 01402cf81051f796dac7c60ca11d6147153ca46a before 218bf772bddd221489c38dde6ef8e917131161f6
Linux / Linuxaffected 5.3; unaffected 0 before 5.3; unaffected 5.4.128 through 5.4.*; unaffected 5.10.46 through 5.10.*; unaffected 5.12.13 through 5.12.*; unaffected 5.13 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.