Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 01402cf81051f796dac7c60ca11d6147153ca46a to < bf99ea52970caeb4583bdba1192c1f9b53b12c84affected
  • 01402cf81051f796dac7c60ca11d6147153ca46a to < 018685461a5b9a9a70e664ac77aef0d7415a3fd5affected
  • 01402cf81051f796dac7c60ca11d6147153ca46a to < a2aff09807fbe4018c269d3773a629949058b210affected
  • 01402cf81051f796dac7c60ca11d6147153ca46a to < 218bf772bddd221489c38dde6ef8e917131161f6affected

Linux Linux

Default version status: affected

  • 5.3affected
  • 0 to < 5.3unaffected
  • 5.4.128 to ≤ 5.4.*unaffected
  • 5.10.46 to ≤ 5.10.*unaffected
  • 5.12.13 to ≤ 5.12.*unaffected
  • 5.13 to ≤ *unaffected

References