CVE-2026-99906
published high CVSS 3.1 · 7.0KVM: arm64: Sanitise ID_AA64MMFR3_EL1.S1P[IO]E
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux70ed7238297fb53111e0647e2ec7990ddcbbbb45 to < 9779762c434ecfd1d6aa941c554fce1e976c4b3d · 70ed7238297fb53111e0647e2ec7990ddcbbbb45 to < e69875c7ec22ca636970249458c18da2c35ca094 · 70ed7238297fb53111e0647e2ec7990ddcbbbb45 to < 68c11eed4f8097ef1b71c30679e96eb654df29e0 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.12 (affected) · 0 to < 6.12 (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - Attacker is a local host user who opens /dev/kvm, writes ID_AA64MMFR3_EL1 with S1PIE=1/TCRX=0 via KVM_SET_ONE_REG (ID_WRITABLE mask allows it), then KVM_RUNs guest code that writes PIR_EL1/PIRE0_EL1. No network or guest-only path: pKVM protected VMs get no MMFR3, and a guest cannot set its own ID registers. AC:H - Host compromise needs nVHE/hVHE (kvm-arm.mode=nvhe or protected), where host_ctxt->__hyp_running_vcpu makes ctxt_has_tcrx() skip saving/restoring the host's PIR. Every S1PIE CPU has VHE and VHE is the default; under VHE the host uses PIR_EL2, so the only effect is reading another guest's stale PIR. The boot mode is a non-default config gate. PR:L - Only access to /dev/kvm is needed (kvm group/uaccess or a 0666 node on desktops and CI hosts), plus ordinary KVM_CREATE_VM, KVM_SET_ONE_REG and KVM_RUN ioctls; set_id_reg() checks only that the VM has not run yet. UI:N - The attacker configures their own VM's ID register, runs their own guest code, and pins their own host process to the same CPU; no other user or admin action is involved. S:U - A host user corrupts the host kernel's own stage-1 permission registers: a standard local privilege escalation in one authority. The guest is only the attacker's tool, and hypervisor/pVM memory stays behind the host stage-2. C:H - After exit the host kernel runs with attacker-chosen PIR_EL1/PIRE0_EL1 (enabled by TCR2_EL1.PIE in __cpu_setup), so the attacker decides how every PI index is interpreted. For example, PIRE0 can be set so EL0 gets read-write on the _PAGE_READONLY index, opening a path to root and arbitrary host data. I:H - Remapping PIRE0_EL1's _PAGE_READONLY index to RW lets userspace write read-only page-cache mappings (e.g. setuid binaries), and PIR_EL1 can make kernel RO/ROX mappings writable; the values persist on that CPU because the host never rewrites them except on CPU setup/resume. A:H - Writing an all-none PIR_EL1 from the guest leaves the nVHE host kernel unable to fetch its own text after exit, which crashes the host. The attacker can repeat this on any CPU at will.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 70ed7238297fb53111e0647e2ec7990ddcbbbb45 to < 9779762c434ecfd1d6aa941c554fce1e976c4b3d (affected · git)70ed7238297fb53111e0647e2ec7990ddcbbbb45 to < e69875c7ec22ca636970249458c18da2c35ca094 (affected · git)70ed7238297fb53111e0647e2ec7990ddcbbbb45 to < 68c11eed4f8097ef1b71c30679e96eb654df29e0 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.12 (affected)0 to < 6.12 (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
KVM: arm64: Sanitise ID_AA64MMFR3_EL1.S1P[IO]E
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1d3276c10b054865752f92d27e380e6993c4dc586d7d6d51f74475f6e36c4561
- Ingested
- 01 Dec 2026, 05:47:23 UTC
- Source record
- Official CVE record