CVE-2026-99906: KVM: arm64: Sanitise ID_AA64MMFR3_EL1.S1P[IO]E
In the Linux kernel, the following vulnerability has been resolved:
KVM: arm64: Sanitise IDAA64MMFR3EL1.S1P[IO]E
KVM uses the VM's ID registers as the source of truth for what the guest has, but userspace can expose S1PIE or S1POE without the features they imply. As per the architecture, both imply TCR2 and ATS1A, and S1POE also implies HPDS. With TCR2 hidden, the world switch skips PIREL1, PIRE0EL1 and POREL1 while KVM doesn't trap them, so the guest accesses registers that are neither trapped nor switched. Under VHE, that leaks values between guests. On nVHE and hVHE, pKVM included, the host kernel resumes with the guest's PIREL1 and PIRE0EL1.
On first run, clear S1PIE and S1POE from the VM's ID registers when the features they imply are missing, before anything derives state from them. The guest and userspace then see neither feature, and the guest's accesses to their registers UNDEF.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
On first run, clear S1PIE and S1POE from the VM's ID registers before deriving state from the features they imply.
Linux kernel KVM arm64 ID_AA64MMFR3_EL1.S1PIE and S1POE = cleared
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
The issue affects arm64 systems using KVM where userspace exposes the S1PIE or S1POE CPU features to a guest while omitting required implied features. S1PIE and S1POE imply TCR2 and ATS1A; S1POE also implies HPDS.
What conditions are required for cross-guest data exposure?
Cross-guest value leakage occurs under VHE when TCR2 is hidden but S1PIE or S1POE is exposed, because the affected registers are neither trapped nor switched during world switches. On nVHE and hVHE, including pKVM, the host kernel can instead resume with guest PIR_EL1 and PIRE0_EL1 values.
How does the fix prevent exploitation?
The fix clears S1PIE and S1POE from the VM ID registers on first run when their required implied features are absent. Guests and userspace then no longer see those features, and guest accesses to the associated registers generate UNDEF.