CVE-2021-47255

published 21 May 2024 · updated 11 May 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 018685461a5b9a9a70e664ac77aef0d7415a3fd5, Kernel 218bf772bddd221489c38dde6ef8e917131161f6, Kernel a2aff09807fbe4018c269d3773a629949058b210 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.3, >=01402cf81051f796dac7c60ca11d6147153ca46a <018685461a5b9a9a70e664ac77aef0d7415a3fd5, >=01402cf81051f796dac7c60ca11d6147153ca46a <218bf772bddd221489c38dde6ef8e917131161f6, >=01402cf81051f796dac7c60ca11d6147153ca46a <a2aff09807fbe4018c269d3773a629949058b210, >=01402cf81051f796dac7c60ca11d6147153ca46a <bf99ea52970caeb4583bdba1192c1f9b53b12c84018685461a5b9a9a70e664ac77aef0d7415a3fd5, 218bf772bddd221489c38dde6ef8e917131161f6, a2aff09807fbe4018c269d3773a629949058b210, bf99ea52970caeb4583bdba1192c1f9b53b12c84

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47255 severity on Zeptric[![CVE-2021-47255](https://zeptric.io/badge/cve/CVE-2021-47255.svg)](https://zeptric.io/cve/CVE-2021-47255)