{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99906","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.444Z","datePublished":"2026-11-30T13:18:09.618Z","dateUpdated":"2026-12-01T05:44:18.514Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-01T05:44:18.514Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: arm64: Sanitise ID_AA64MMFR3_EL1.S1P[IO]E\n\nKVM uses the VM's ID registers as the source of truth for what the\nguest has, but userspace can expose S1PIE or S1POE without the features\nthey imply. As per the architecture, both imply TCR2 and ATS1A, and\nS1POE also implies HPDS. With TCR2 hidden, the world switch skips\nPIR_EL1, PIRE0_EL1 and POR_EL1 while KVM doesn't trap them, so the guest\naccesses registers that are neither trapped nor switched. Under VHE,\nthat leaks values between guests. On nVHE and hVHE, pKVM included, the\nhost kernel resumes with the guest's PIR_EL1 and PIRE0_EL1.\n\nOn first run, clear S1PIE and S1POE from the VM's ID registers when the\nfeatures they imply are missing, before anything derives state from\nthem. The guest and userspace then see neither feature, and the guest's\naccesses to their registers UNDEF."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"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.\nAC: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.\nPR: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.\nUI: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.\nS: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.\nC: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.\nI: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.\nA: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."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/arm64/include/asm/kvm_host.h","arch/arm64/kvm/config.c","arch/arm64/kvm/sys_regs.c"],"versions":[{"version":"70ed7238297fb53111e0647e2ec7990ddcbbbb45","lessThan":"9779762c434ecfd1d6aa941c554fce1e976c4b3d","status":"affected","versionType":"git"},{"version":"70ed7238297fb53111e0647e2ec7990ddcbbbb45","lessThan":"e69875c7ec22ca636970249458c18da2c35ca094","status":"affected","versionType":"git"},{"version":"70ed7238297fb53111e0647e2ec7990ddcbbbb45","lessThan":"68c11eed4f8097ef1b71c30679e96eb654df29e0","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/arm64/include/asm/kvm_host.h","arch/arm64/kvm/config.c","arch/arm64/kvm/sys_regs.c"],"versions":[{"version":"6.12","status":"affected"},{"version":"0","lessThan":"6.12","status":"unaffected","versionType":"semver"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/9779762c434ecfd1d6aa941c554fce1e976c4b3d"},{"url":"https://git.kernel.org/stable/c/e69875c7ec22ca636970249458c18da2c35ca094"},{"url":"https://git.kernel.org/stable/c/68c11eed4f8097ef1b71c30679e96eb654df29e0"}],"title":"KVM: arm64: Sanitise ID_AA64MMFR3_EL1.S1P[IO]E","x_generator":{"engine":"bippy-1.2.0"}}}}