# CVE-2026-53109: powerpc/pgtable-frag: Fix bad page state in pte\_frag\_destroy

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; 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)
- **CWE:** CWE-416
- **Published:** 2026-06-24T16:30:43.364Z
- **Modified:** 2026-11-06T17:18:07.143Z

## Who should check

- Anyone running Linux \>= 32cc0b7c9d508efde8946a82eb3c4acfa8dfed15, \< e9d197c248e70278645f206defa87f085826c4c1; \>= 32cc0b7c9d508efde8946a82eb3c4acfa8dfed15, \< f4bc93135bfe39e7052d31e4c71f5f838e0bf516; \>= 32cc0b7c9d508efde8946a82eb3c4acfa8dfed15, \< c8b710655012a2993a9567873fb71a8a51f8459c; \>= 32cc0b7c9d508efde8946a82eb3c4acfa8dfed15, \< a32db6fca3c74b4eb8bae5470f0680deb4cbac6f; \>= 32cc0b7c9d508efde8946a82eb3c4acfa8dfed15, \< fda4d71651f71c44b35829d13f3c8bf920032f77
- Anyone running Linux 6.6

## Description

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

powerpc/pgtable-frag: Fix bad page state in pte\_frag\_destroy

powerpc uses pt\_frag\_refcount as a reference counter for tracking it's
pte and pmd page table fragments. For PTE table, in case of Hash with
64K pagesize, we have 16 fragments of 4K size in one 64K page.

Patch series \[1\] "mm: free retracted page table by RCU"
added pte\_free\_defer() to defer the freeing of PTE tables when
retract\_page\_tables() is called for madvise MADV\_COLLAPSE on shmem
range.
\[1\]: https://lore.kernel.org/all/7cd843a9-aa80-14f-5eb2-33427363c20@google.com/

pte\_free\_defer() sets the active flag on the corresponding fragment's
folio & calls pte\_fragment\_free(), which reduces the pt\_frag\_refcount.
When pt\_frag\_refcount reaches 0 (no active fragment using the folio), it
checks if the folio active flag is set, if set, it calls call\_rcu to
free the folio, it the active flag is unset then it calls pte\_free\_now().

Now, this can lead to following problem in a corner case...

\[  265.351553\]\[  T183\] BUG: Bad page state in process a.out  pfn:20d62
\[  265.353555\]\[  T183\] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x20d62
\[  265.355457\]\[  T183\] flags: 0x3ffff800000100(active\|node=0\|zone=0\|lastcpupid=0x7ffff)
\[  265.358719\]\[  T183\] raw: 003ffff800000100 0000000000000000 5deadbeef0000122 0000000000000000
\[  265.360177\]\[  T183\] raw: 0000000000000000 c0000000119caf58 00000000ffffffff 0000000000000000
\[  265.361438\]\[  T183\] page dumped because: PAGE\_FLAGS\_CHECK\_AT\_FREE flag(s) set
\[  265.362572\]\[  T183\] Modules linked in:
\[  265.364622\]\[  T183\] CPU: 0 UID: 0 PID: 183 Comm: a.out Not tainted 6.18.0-rc3-00141-g1ddeaaace7ff-dirty \#53 VOLUNTARY
\[  265.364785\]\[  T183\] Hardware name: IBM pSeries (emulated by qemu) POWER10 (architected) 0x801200 0xf000006 of:SLOF,git-ee03ae pSeries
\[  265.364908\]\[  T183\] Call Trace:
\[  265.364955\]\[  T183\] \[c000000011e6f7c0\] \[c000000001cfaa18\] dump\_stack\_lvl+0x130/0x148 (unreliable)
\[  265.365202\]\[  T183\] \[c000000011e6f7f0\] \[c000000000794758\] bad\_page+0xb4/0x1c8
\[  265.365384\]\[  T183\] \[c000000011e6f890\] \[c00000000079c020\] \_\_free\_frozen\_pages+0x838/0xd08
\[  265.365554\]\[  T183\] \[c000000011e6f980\] \[c0000000000a70ac\] pte\_frag\_destroy+0x298/0x310
\[  265.365729\]\[  T183\] \[c000000011e6fa30\] \[c0000000000aa764\] arch\_exit\_mmap+0x34/0x218
\[  265.365912\]\[  T183\] \[c000000011e6fa80\] \[c000000000751698\] exit\_mmap+0xb8/0x820
\[  265.366080\]\[  T183\] \[c000000011e6fc30\] \[c0000000001b1258\] \_\_mmput+0x98/0x300
\[  265.366244\]\[  T183\] \[c000000011e6fc80\] \[c0000000001c81f8\] do\_exit+0x470/0x1508
\[  265.366421\]\[  T183\] \[c000000011e6fd70\] \[c0000000001c95e4\] do\_group\_exit+0x88/0x148
\[  265.366602\]\[  T183\] \[c000000011e6fdc0\] \[c0000000001c96ec\] pid\_child\_should\_wake+0x0/0x178
\[  265.366780\]\[  T183\] \[c000000011e6fdf0\] \[c00000000003a270\] system\_call\_exception+0x1b0/0x4e0
\[  265.366958\]\[  T183\] \[c000000011e6fe50\] \[c00000000000d05c\] system\_call\_vectored\_common+0x15c/0x2ec

The bad page state error occurs when such a folio gets freed (with
active flag set), from do\_exit() path in parallel.

... this can happen when the pte fragment was allocated from this folio,
but when all the fragments get freed, the pte\_frag\_refcount still had some
unused fragments. Now, if this process exits, with such folio as it's cached
pte\_frag in mm-\>context, then during pte\_frag\_destroy(), we simply call
pagetable\_dtor() and pagetable\_free(), meaning it doesn't clear the
active flag. This, can lead to the above bug. Since we are anyway in
do\_exit() path, then if the refcount is 0, then I guess it should be
ok to simply clear the folio active flag before calling pagetable\_dtor()
& pagetable\_free().

## Affected and fixed versions

- Linux: \>= 32cc0b7c9d508efde8946a82eb3c4acfa8dfed15, \< e9d197c248e70278645f206defa87f085826c4c1; \>= 32cc0b7c9d508efde8946a82eb3c4acfa8dfed15, \< f4bc93135bfe39e7052d31e4c71f5f838e0bf516; \>= 32cc0b7c9d508efde8946a82eb3c4acfa8dfed15, \< c8b710655012a2993a9567873fb71a8a51f8459c; \>= 32cc0b7c9d508efde8946a82eb3c4acfa8dfed15, \< a32db6fca3c74b4eb8bae5470f0680deb4cbac6f; \>= 32cc0b7c9d508efde8946a82eb3c4acfa8dfed15, \< fda4d71651f71c44b35829d13f3c8bf920032f77 (cvelist)
- Linux: 6.6 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-53109.md
Affected: Linux >= 32cc0b7c9d508efde8946a82eb3c4acfa8dfed15, < e9d197c248e70278645f206defa87f085826c4c1; >= 32cc0b7c9d508efde8946a82eb3c4acfa8dfed15, < f4bc93135bfe39e7052d31e4c71f5f838e0bf516; >= 32cc0b7c9d508efde8946a82eb3c4acfa8dfed15, < c8b710655012a2993a9567873fb71a8a51f8459c; >= 32cc0b7c9d508efde8946a8…
Fixed in: no fixed version listed yet

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-53109 being exploited?

There is no confirmed exploitation: CVE-2026-53109 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-53109?

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

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

Linux \>= 32cc0b7c9d508efde8946a82eb3c4acfa8dfed15, \< e9d197c248e70278645f206defa87f085826c4c1; \>= 32cc0b7c9d508efde8946a82eb3c4acfa8dfed15, \< f4bc93135bfe39e7052d31e4c71f5f838e0bf516; \>= 32cc0b7c9d508efde8946a82eb3c4acfa8dfed15, \< c8b710655012a2993a9567873fb71a8a51f8459c; \>= 32cc0b7c9d508efde8946a82eb3c4acfa8dfed15, \< a32db6fca3c74b4eb8bae5470f0680deb4cbac6f; \>= 32cc0b7c9d508efde8946a82eb3c4acfa8dfed15, \< fda4d71651f71c44b35829d13f3c8bf920032f77; Linux 6.6.

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

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

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

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

- patch: <https://git.kernel.org/stable/c/c8b710655012a2993a9567873fb71a8a51f8459c>
- patch: <https://git.kernel.org/stable/c/a32db6fca3c74b4eb8bae5470f0680deb4cbac6f>
- patch: <https://git.kernel.org/stable/c/fda4d71651f71c44b35829d13f3c8bf920032f77>
- other: <https://git.kernel.org/stable/c/e9d197c248e70278645f206defa87f085826c4c1>
- other: <https://git.kernel.org/stable/c/f4bc93135bfe39e7052d31e4c71f5f838e0bf516>

## 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-53109>

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