kernel/files
Andrew Lukoshko 048f1efd0c CVE-2026-64561: KVM: x86: check for invalid/obsolete root after making MMU pages available
Taken verbatim from CentOS Stream 10 merge request 3068, which cherry-picks
upstream commit 2abd5287f083 ("KVM: x86: Check for invalid/obsolete root
*after* making MMU pages available") by Sean Christopherson and Paolo
Bonzini.

If reclaiming shadow pages zaps an in-use root, KVM would go on to map
memory into a root already marked invalid. Child shadow pages inherit
their parent's role, so any children created during the map/fetch land on
the list of active MMU pages while flagged invalid, breaking the invariant
introduced in 5.9 that invalid pages are never on that list. The fix moves
the is_page_fault_stale() check to after make_mmu_pages_available().

Applies with --fuzz=0 against arch/x86/kvm/mmu/{mmu.c,paging_tmpl.h}, no
fuzz and no offsets. Verified against the centos-stream-10 main branch: the
el10_2 z-stream tree this kernel is built from (6.12.0-211.38.1.el10_2) is
not published as a branch or tag, but both hunks sit in direct_page_fault()
and FNAME(page_fault)(), which are unchanged across 6.12 z-streams.

Note that MR 3068 is still a Draft upstream. If Red Hat revises it before
merge, this patch needs to be re-synced.

JIRA: RHEL-224013
2026-08-06 13:44:37 +02:00
..
0001-Enable-all-disabled-pci-devices-by-moving-to-unmaint.patch Update patch 2025-02-06 10:14:50 +03:00
0001-Keep-fs-btrfs-files-in-modules-package.patch Sync with a10-beta 2026-07-17 12:27:09 +00:00
0002-Bring-back-deprecated-pci-ids-to-mptsas-mptspi-drive.patch Initial commit 2025-01-23 21:13:09 +01:00
0003-Bring-back-deprecated-pci-ids-to-hpsa-driver.patch Initial commit 2025-01-23 21:13:09 +01:00
0004-Bring-back-deprecated-pci-ids-to-qla2xxx-driver.patch Fix 0004-Bring-back-deprecated-pci-ids-to-qla2xxx-driver.patch 2025-06-18 09:07:40 +00:00
0006-Bring-back-deprecated-pci-ids-to-qla4xxx-driver.patch Initial commit 2025-01-23 21:13:09 +01:00
0007-Bring-back-deprecated-pci-ids-to-be2iscsi-driver.patch Initial commit 2025-01-23 21:13:09 +01:00
0008-Bring-back-deprecated-pci-ids-to-megaraid_sas-driver.patch Fix 0008-Bring-back-deprecated-pci-ids-to-megaraid_sas-driver.patch 2025-06-18 09:29:43 +00:00
0009-Bring-back-deprecated-pci-ids-to-mpt3sas-driver.patch Initial commit 2025-01-23 21:13:09 +01:00
2011-gve-Update-QPL-page-registration-logic.patch gve: backport QPL page registration and max ring size support 2026-07-30 19:40:39 +02:00
2012-gve-Enable-reading-max-ring-size-in-DQO-QPL-mode.patch gve: backport QPL page registration and max ring size support 2026-07-30 19:40:39 +02:00
2013-CVE-2026-64561-KVM-x86-Check-for-invalid-obsolete-root.patch CVE-2026-64561: KVM: x86: check for invalid/obsolete root after making MMU pages available 2026-08-06 13:44:37 +02:00
almalinuxdup1.x509 Initial commit 2025-01-23 21:13:09 +01:00
almalinuxima.x509 Initial commit 2025-01-23 21:13:09 +01:00
almalinuximaca1.x509 Initial commit 2025-01-23 21:13:09 +01:00
almalinuxkpatch1.x509 Initial commit 2025-01-23 21:13:09 +01:00
almalinuxnvidia1.x509 Add almalinuxnvidia1.x509 cert 2025-05-25 22:52:12 +02:00