7.0high
KVM: arm64: Sanitise ID_AA64MMFR3_EL1.S1P[IO]E
- Severity
- 7.0high CVSS:3.1 by Linux
- Exploit likelihood
- 0.29% (higher than 22% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Sanitise ID_AA64MMFR3_EL1.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 PIR_EL1, PIRE0_EL1 and POR_EL1 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 PIR_EL1 and PIRE0_EL1. 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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 70ed7238297fb53111e0647e2ec7990ddcbbbb45 before 9779762c434ecfd1d6aa941c554fce1e976c4b3d, from 70ed7238297fb53111e0647e2ec7990ddcbbbb45 before e69875c7ec22ca636970249458c18da2c35ca094, from 70ed7238297fb53111e0647e2ec7990ddcbbbb45 before 68c11eed4f8097ef1b71c30679e96eb654df29e0, 6.12 Not affected: before 6.12, from 6.18.65 up to 6.18.*, from 7.3.4 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-99906 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-99906 changed 2026-12-01 | Public domain |