CVE-2021-47255

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

State
Published
Severity
Not scored
Published
May 21, 2024
Updated
May 11, 2026
Reserved
Apr 10, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 01402cf81051f796dac7c60ca11d6147153ca46a to before bf99ea52970caeb4583bdba1192c1f9b53b12c84Affected
  • 01402cf81051f796dac7c60ca11d6147153ca46a to before 018685461a5b9a9a70e664ac77aef0d7415a3fd5Affected
  • 01402cf81051f796dac7c60ca11d6147153ca46a to before a2aff09807fbe4018c269d3773a629949058b210Affected
  • 01402cf81051f796dac7c60ca11d6147153ca46a to before 218bf772bddd221489c38dde6ef8e917131161f6Affected
LinuxLinux
  • 5.3Affected
  • before 5.3Not affected
  • 5.4.128 through 5.4.*Not affected
  • 5.10.46 through 5.10.*Not affected
  • 5.12.13 through 5.12.*Not affected
  • 5.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.