CVE-2026-64561

KVM: x86: Check for invalid/obsolete root *after* making MMU pages available

HIGH 8.8

At a glance

Source
NVD
EPSS
EPSS 0.27 % · percentile 20 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: KVM: x86: Check for invalid/obsolete root *after* making MMU pages available Check for a "stale" page fault, i.e. for an invalid and/or obsolete root, after making MMU pages available for the shadow MMU. If reclaiming shadow pages zaps an in-use root, i.e. marks it invalid, then KVM will attempt to map memory into an invalid root. On its own, populating an invalid root is "fine", but because child shadow pages inherit their parent's role, any children created during the map/fetch will be created as invalid pages, thus violating KVM's invariant that invalid pages are never on the list of active MMU pages. Note, the underlying flaw has existed since KVM first started tracking invalid roots in 2008 (commit 2e53d63acba7, "KVM: MMU: ignore zapped root pagetables"), but the true badness only came along in 2020 (Linux 5.9) with the invariant that invalid shadow pages can't be on the list of active pages. Note #2, inheriting role.invalid when creating child shadow pages is also far from ideal; that flaw will be addressed separately.

Weaknesses (CWE)

  • CWE-362 — Concurrent Execution using Shared Resource with Improper Synchronization

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected f95eec9bed76d42194c23153cb1cc8f186bf91cb < 62ef67af1878fa2cd066642f2f59e33ade95f637 ; affected f95eec9bed76d42194c23153cb1cc8f186bf91cb < 65c4f7a1028cf01a93a2762d679c289810ede990 ; affected f95eec9bed76d42194c23153cb1cc8f186bf91cb < 35e77467610c4a37cb0ff54ee56b85f73b1f5700 ; affected f95eec9bed76d42194c23153cb1cc8f186bf91cb < 0026dbb7de8ea76e97d6edf42fc3cc084564e2bf ; affected f95eec9bed76d42194c23153cb1cc8f186bf91cb < f3477a6a4164f15287444eda685b5f6405dbd1e5 ; affected f95eec9bed76d42194c23153cb1cc8f186bf91cb < bce0d3c26e2c761a4bf43c8949f333fc7374eb2d
Linux · Linuxaffected 5.9 ; unaffected 0 < 5.9 ; unaffected 5.15.218 ≤ 5.15.* ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.148 ≤ 6.6.* ; unaffected 6.12.101 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD