CVE-2022-50720 Details
Description
In the Linux kernel, the following vulnerability has been resolved: x86/apic: Don't disable x2APIC if locked The APIC supports two modes, legacy APIC (or xAPIC), and Extended APIC (or x2APIC). X2APIC mode is mostly compatible with legacy APIC, but it disables the memory-mapped APIC interface in favor of one that uses MSRs. The APIC mode is controlled by the EXT bit in the APIC MSR. The MMIO/xAPIC interface has some problems, most notably the APIC LEAK [1]. This bug allows an attacker to use the APIC MMIO interface to extract data from the SGX enclave. Introduce support for a new feature that will allow the BIOS to lock the APIC in x2APIC mode. If the APIC is locked in x2APIC mode and the kernel tries to disable the APIC or revert to legacy APIC mode a GP fault will occur. Introduce support for a new MSR (IA32_XAPIC_DISABLE_STATUS) and handle the new locked mode when the LEGACY_XAPIC_DISABLED bit is set by preventing the kernel from trying to disable the x2APIC. On platforms with the IA32_XAPIC_DISABLE_STATUS MSR, if SGX or TDX are enabled the LEGACY_XAPIC_DISABLED will be set by the BIOS. If legacy APIC is required, then it SGX and TDX need to be disabled in the BIOS. [1]: https://aepicleak.com/aepicleak.pdf
A vulnerability in the Linux kernel's handling of the x86 Advanced Programmable Interrupt Controller (APIC) modes has been addressed. The issue arises from the introduction of a feature that allows the BIOS to lock the APIC in Extended APIC (x2APIC) mode. While x2APIC is generally compatible with legacy APIC, it disables the memory-mapped APIC interface, which has been exploited to leak data from the Software Guard Extensions (SGX) enclave. If the APIC is locked in x2APIC mode and the kernel attempts to revert to legacy mode, a general protection fault occurs. The vulnerability affects Linux kernel versions that include this new APIC locking feature, particularly on Intel systems from 2022 onwards that have SGX or Trusted Domain Extensions (TDX) enabled in the BIOS.
Users can disable SGX and TDX in the BIOS to allow the system to boot with legacy APIC mode. Additionally, the Linux kernel can be configured to handle the locked x2APIC mode by using the IA32_XAPIC_DISABLE_STATUS MSR, preventing the kernel from trying to disable x2APIC when it's not possible.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 24, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/05785ba834f23272f9d23427ae4a80ac505a5296 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/b8d1d163604bd1e600b062fb00de5dc42baa355f | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/dd1241e00addbf0b95f6cd6ce32152692820657e | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 10, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 24, 2025 | New CVE Received | kernel.org |
Volerion