kvm: LAPIC: Restore guard to prevent illegal APIC register access
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s KVM LAPIC code can read an APIC register in a way that touches bytes 4 through 15, which the specification prohibits. Such a read can leak kernel stack contents; the input does not specify whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux kernels with KVM should check whether their kernel includes the restored APIC register access guard; affected versions are not specified.