kvm: LAPIC: Restore guard to prevent illegal APIC register access (Linux Linux)

CVE-2021-47255
HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 16 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 01402cf81051f796dac7c60ca11d6147153ca46a < bf99ea52970caeb4583bdba1192c1f9b53b12c84 ; affected 01402cf81051f796dac7c60ca11d6147153ca46a < 018685461a5b9a9a70e664ac77aef0d7415a3fd5 ; affected 01402cf81051f796dac7c60ca11d6147153ca46a < a2aff09807fbe4018c269d3773a629949058b210 ; affected 01402cf81051f796dac7c60ca11d6147153ca46a < 218bf772bddd221489c38dde6ef8e917131161f6
Linux · Linuxaffected 5.3 ; unaffected 0 < 5.3 ; unaffected 5.4.128 ≤ 5.4.* ; unaffected 5.10.46 ≤ 5.10.* ; unaffected 5.12.13 ≤ 5.12.* ; unaffected 5.13 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD