# CVE-2026-97525: x86/mm/pat: Allocate split page tables as kernel page tables

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.2
- **CVSS:** 8.2 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-09-25T10:21:28.284Z
- **Modified:** 2026-10-19T10:17:21.410Z

## Who should check

- Anyone running Linux \>= b3039c526f3e1744db0cbb7ae1f0213f5e27d3f4, \< 84e0cd79d57f06b872154eb5d8f610584133f260; \>= 5ba2f0a1556479638ac11a3c201421f5515e89f5, \< 922873cf4fc34124215070a8ad391bf831538bb9; \>= 5ba2f0a1556479638ac11a3c201421f5515e89f5, \< 9e4a3ec3411bb6bb59e3c1f29b75609f1e87aac4; \>= 6.18.7, \< 6.18.53
- Anyone running Linux 6.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

x86/mm/pat: Allocate split page tables as kernel page tables

A PTE is allocated directly without going through the standard page table
allocation routines (such as pte\_alloc\_one\_kernel()) when the CPA code
splits a large page (\_\_split\_large\_page()).

This means the page table constructor is never called nor is the page table
marked as a kernel page table.

The former results in the folio associated with the page table not being
marked as a page table (\_\_pagetable\_ctor() is never called thus neither is
\_\_folio\_set\_pgtable()) nor are statistics updated to reflect
it (lruvec\_stat\_add\_folio() is never called).

The latter issue of failing to mark the page table as a kernel page
table (ptdesc\_set\_kernel() is never called) is far more problematic.

Since commit:

  5ba2f0a15564 ("mm: introduce deferred freeing for kernel page tables")

kernel page table freeing has been batched and since the
subsequent commit:

  e37d5a2d60a3 ("iommu/sva: invalidate stale IOTLB entries for kernel address space")

IOTLB cache entries for kernel page tables have been invalidated upon
being freed.

Since split page tables are freed without this invalidation, the IOTLB
can contain stale entries for them.

Resolve the issue by using the ordinary PTE allocation API at split time.

This results in these kernel page tables invoking a page table constructor,
and thus requires a page table destructor.

Destructors are not always present, like for early allocated direct map
page tables). Conditionally call pagetable\_dtor\_free() if the PG\_table
folio flag for the ptdesc is set, otherwise we free the page table via
pagetable\_free().

Regardless of which path is taken page tables marked as kernel page tables,
which now includes split page tables, take the correct route through
pagetable\_free\_kernel().

There is a user-visible side effect in that split page tables will appear
in nr\_page\_table\_pages in /proc/vmstat (as do other kernel page tables
allocated after early boot), however this is a positive change.

This issue started being markedly problematic after commit:

  5ba2f0a15564 ("mm: introduce deferred freeing for kernel page tables")

so choose this as the Fixes target.

\[ dhansen: rephrase in imperative mood \]

## Affected and fixed versions

- Linux: \>= b3039c526f3e1744db0cbb7ae1f0213f5e27d3f4, \< 84e0cd79d57f06b872154eb5d8f610584133f260; \>= 5ba2f0a1556479638ac11a3c201421f5515e89f5, \< 922873cf4fc34124215070a8ad391bf831538bb9; \>= 5ba2f0a1556479638ac11a3c201421f5515e89f5, \< 9e4a3ec3411bb6bb59e3c1f29b75609f1e87aac4; \>= 6.18.7, \< 6.18.53 (cvelist)
- Linux: 6.19 (cvelist)

## Mitigation

- Upgrade Linux to 6.18.53 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-97525. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97525.md
Affected: Linux >= b3039c526f3e1744db0cbb7ae1f0213f5e27d3f4, < 84e0cd79d57f06b872154eb5d8f610584133f260; >= 5ba2f0a1556479638ac11a3c201421f5515e89f5, < 922873cf4fc34124215070a8ad391bf831538bb9; >= 5ba2f0a1556479638ac11a3c201421f5515e89f5, < 9e4a3ec3411bb6bb59e3c1f29b75609f1e87aac4; >= 6.18.7, < 6.18.53; Linu…
Fixed in: Linux 84e0cd79d57f06b872154eb5d8f610584133f260, Linux 922873cf4fc34124215070a8ad391bf831538bb9, Linux 9e4a3ec3411bb6bb59e3c1f29b75609f1e87aac4, Linux 6.18.53

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-97525 being exploited?

There is no confirmed exploitation: CVE-2026-97525 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-97525?

High: CVSS 8.2 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-97525?

Linux \>= b3039c526f3e1744db0cbb7ae1f0213f5e27d3f4, \< 84e0cd79d57f06b872154eb5d8f610584133f260; \>= 5ba2f0a1556479638ac11a3c201421f5515e89f5, \< 922873cf4fc34124215070a8ad391bf831538bb9; \>= 5ba2f0a1556479638ac11a3c201421f5515e89f5, \< 9e4a3ec3411bb6bb59e3c1f29b75609f1e87aac4; \>= 6.18.7, \< 6.18.53; Linux 6.19.

### Is there a fix for CVE-2026-97525?

Yes. Fixed in Linux 84e0cd79d57f06b872154eb5d8f610584133f260, Linux 922873cf4fc34124215070a8ad391bf831538bb9, Linux 9e4a3ec3411bb6bb59e3c1f29b75609f1e87aac4, Linux 6.18.53. Upgrade Linux to 6.18.53 or later.

### How do I check if I'm affected by CVE-2026-97525?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/84e0cd79d57f06b872154eb5d8f610584133f260>
- other: <https://git.kernel.org/stable/c/922873cf4fc34124215070a8ad391bf831538bb9>
- other: <https://git.kernel.org/stable/c/9e4a3ec3411bb6bb59e3c1f29b75609f1e87aac4>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-97525>

HTML: <https://flawdb.com/CVE-2026-97525> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-97525>
