Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97525 Overview
CVE-2026-97525 affects the Linux kernel's x86 memory management subsystem, specifically the Page Attribute Table (PAT) code path that splits large pages. The Change Page Attribute (CPA) code in __split_large_page() allocates a Page Table Entry (PTE) directly without using the standard pte_alloc_one_kernel() routine. The resulting page table is never marked as a kernel page table, so ptdesc_set_kernel() is never invoked. This causes IOTLB cache entries for split kernel page tables to remain uninvalidated after freeing, since batched deferred freeing introduced upstream relies on this flag to trigger invalidation.
Critical Impact
Stale Input/Output Translation Lookaside Buffer (IOTLB) entries can persist for freed kernel page tables, enabling memory integrity and confidentiality violations in environments using Shared Virtual Addressing (SVA) with IOMMU.
Affected Products
- Linux kernel x86 architecture builds containing commit 5ba2f0a15564 ("mm: introduce deferred freeing for kernel page tables")
- Linux kernel builds with commit e37d5a2d60a3 ("iommu/sva: invalidate stale IOTLB entries for kernel address space")
- Systems using the CPA code path with large page splitting on x86
Discovery Timeline
- 2026-09-25 - CVE CVE-2026-97525 published to NVD
- 2026-09-25 - Last updated in NVD database
Technical Details for CVE-2026-97525
Vulnerability Analysis
The flaw resides in the x86 PAT subsystem where __split_large_page() splits a large page into smaller mappings. The function allocates a PTE directly rather than through pte_alloc_one_kernel(), bypassing the page table constructor. Two consequences follow. First, the folio backing the page table is not marked with PG_table, and lruvec_stat_add_folio() never updates statistics. Second, and more serious, ptdesc_set_kernel() is never called, so the page table is not identified as a kernel page table.
Root Cause
Since commit 5ba2f0a15564, kernel page table freeing is batched through deferred freeing. Commit e37d5a2d60a3 added IOTLB invalidation for kernel address space entries upon freeing. Both mechanisms depend on the page table being properly flagged. Because split page tables lack the kernel page table marker, they bypass pagetable_free_kernel() and are released without IOTLB invalidation.
Attack Vector
Exploitation requires local access with high privileges on an x86 system where IOMMU-SVA is in use. A local attacker able to influence CPA operations and IOMMU DMA activity could leverage stale IOTLB entries pointing to reclaimed physical memory. This creates conditions for cross-context memory access or integrity violations across the kernel address space.
The fix routes split page table allocation through the ordinary PTE allocation API, invokes the constructor, and conditionally calls pagetable_dtor_free() when the PG_table folio flag is set, otherwise freeing via pagetable_free(). See the kernel commits 84e0cd79, 922873cf, and 9e4a3ec3 for the applied patches.
Detection Methods for CVE-2026-97525
Indicators of Compromise
- Unexpected IOMMU translation faults or DMA errors in dmesg on x86 systems using SVA
- Discrepancies in nr_page_table_pages counters in /proc/vmstat on kernels predating the fix
- Kernel oops or memory corruption events traceable to CPA split operations
Detection Strategies
- Inventory running kernel versions against the fixing commits using uname -r and distribution patch metadata
- Monitor IOMMU subsystem logs for stale translation errors on hosts running SVA-capable workloads
- Correlate kernel memory statistics with workloads that trigger large page splits, such as hugepage reconfiguration or set_memory_*() calls
Monitoring Recommendations
- Collect kernel audit and syslog streams centrally to detect anomalous IOMMU and page table events
- Baseline /proc/vmstat counters so new tracking of split page tables after patching does not trigger false alerts
- Alert on privileged local processes performing repeated memory attribute changes via set_memory_ro, set_memory_nx, or similar APIs
How to Mitigate CVE-2026-97525
Immediate Actions Required
- Apply vendor-supplied kernel updates incorporating the upstream fix commits as soon as they are available
- Restrict local privileged access on x86 systems using IOMMU-SVA to limit exposure to the local attack vector
- Audit third-party kernel modules and drivers that invoke CPA operations for abnormal behavior
Patch Information
The fix is available in the upstream Linux kernel through commits 84e0cd79, 922873cf, and 9e4a3ec3. The patch routes split page tables through the standard PTE allocation API so they inherit kernel page table marking and deferred-freeing invalidation.
Workarounds
- Where feasible, disable IOMMU Shared Virtual Addressing until the kernel is patched
- Limit workloads that exercise large page splitting on affected hosts
- Enforce strict role separation so only trusted administrators hold the privileges required for local exploitation
# Verify running kernel version and check for the fix
uname -r
grep -E 'nr_page_table_pages' /proc/vmstat
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

