# CVE-2026-53342: arm64: mm: call pagetable dtor when freeing hot-removed page tables

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.16% (percentile 3, 2026-11-26)
- **Published:** 2026-07-01T13:32:23.449Z
- **Modified:** 2026-07-23T21:32:31.813Z

## Who should check

- Anyone running Linux \>= 5e8eb9aeeda3a7aaf48efa1d34ae804e894e307f, \< 95f27fcda681021ed3906d3cae7e68b6a57a1d8e; \>= 5e8eb9aeeda3a7aaf48efa1d34ae804e894e307f, \< aaa688ac9f18207f7452c6472e647c1febaea6a3; \>= 5e8eb9aeeda3a7aaf48efa1d34ae804e894e307f, \< c594b83457ccdee76d458416fb3bc9348a37592f
- Anyone running Linux 6.16

## Description

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

arm64: mm: call pagetable dtor when freeing hot-removed page tables

Since 5e8eb9aeeda3 ("arm64: mm: always call PTE/PMD ctor in
\_\_create\_pgd\_mapping()") page-table allocation on ARM64 always calls
pagetable\_{pte,pmd,pud,p4d}\_ctor().  This sets the page\_type to
PGTY\_table, increments NR\_PAGETABLE and possible allocates a PTL.  However
the matching pagetable\_dtor() calls were never added.

With DEBUG\_VM enabled on kernel versions prior to v6.17 without
2dfcd1608f3a9 ("mm/page\_alloc: let page freeing clear any set page type")
this leads to the following warning when freeing these pages due to
page-\>page\_type sharing page-\>\_mapcount:

  BUG: Bad page state in process ... pfn:284fbb
  page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x284fbb
  flags: 0x17fffc000000000(node=0\|zone=2\|lastcpupid=0x1ffff)
  page\_type: f2(table)
  page dumped because: nonzero mapcount
  Call trace:
   bad\_page+0x13c/0x160
   \_\_free\_frozen\_pages+0x6cc/0x860
   \_\_\_free\_pages+0xf4/0x180
   free\_pages+0x54/0x80
   free\_hotplug\_page\_range.part.0+0x58/0x90
   free\_empty\_tables+0x438/0x500
   \_\_remove\_pgd\_mapping.constprop.0+0x60/0xa8
   arch\_remove\_memory+0x48/0x80
   try\_remove\_memory+0x158/0x1d8
   offline\_and\_remove\_memory+0x138/0x180

It can also lead to leaking the ptl allocation if ALLOC\_SPLIT\_PTLOCKS is
defined and incorrect NR\_PAGETABLE stats.  Fix this by calling
pagetable\_dtor() in free\_hotplug\_pgtable\_page() prior to freeing the page
to undo the effects of calling pagetable\_\*\_ctor().

## Affected and fixed versions

- Linux: \>= 5e8eb9aeeda3a7aaf48efa1d34ae804e894e307f, \< 95f27fcda681021ed3906d3cae7e68b6a57a1d8e; \>= 5e8eb9aeeda3a7aaf48efa1d34ae804e894e307f, \< aaa688ac9f18207f7452c6472e647c1febaea6a3; \>= 5e8eb9aeeda3a7aaf48efa1d34ae804e894e307f, \< c594b83457ccdee76d458416fb3bc9348a37592f (cvelist)
- Linux: 6.16 (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-53342. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53342.md
Affected: Linux >= 5e8eb9aeeda3a7aaf48efa1d34ae804e894e307f, < 95f27fcda681021ed3906d3cae7e68b6a57a1d8e; >= 5e8eb9aeeda3a7aaf48efa1d34ae804e894e307f, < aaa688ac9f18207f7452c6472e647c1febaea6a3; >= 5e8eb9aeeda3a7aaf48efa1d34ae804e894e307f, < c594b83457ccdee76d458416fb3bc9348a37592f; Linux 6.16
Fixed in: Linux 95f27fcda681021ed3906d3cae7e68b6a57a1d8e

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

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

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

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

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

Linux \>= 5e8eb9aeeda3a7aaf48efa1d34ae804e894e307f, \< 95f27fcda681021ed3906d3cae7e68b6a57a1d8e; \>= 5e8eb9aeeda3a7aaf48efa1d34ae804e894e307f, \< aaa688ac9f18207f7452c6472e647c1febaea6a3; \>= 5e8eb9aeeda3a7aaf48efa1d34ae804e894e307f, \< c594b83457ccdee76d458416fb3bc9348a37592f; Linux 6.16.

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

Yes. Fixed in Linux 95f27fcda681021ed3906d3cae7e68b6a57a1d8e. No fix listed yet: follow the vendor advisory.

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

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/95f27fcda681021ed3906d3cae7e68b6a57a1d8e>
- patch: <https://git.kernel.org/stable/c/aaa688ac9f18207f7452c6472e647c1febaea6a3>
- patch: <https://git.kernel.org/stable/c/c594b83457ccdee76d458416fb3bc9348a37592f>

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

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