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

Published Jul 1, 2026
·
Updated

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 createpgdmapping()") page-table allocation on ARM64 always calls pagetable{pte,pmd,pud,p4d}ctor(). This sets the pagetype to PGTYtable, increments NRPAGETABLE and possible allocates a PTL. However the matching pagetabledtor() calls were never added.

With DEBUGVM enabled on kernel versions prior to v6.17 without 2dfcd1608f3a9 ("mm/pagealloc: let page freeing clear any set page type") this leads to the following warning when freeing these pages due to page->pagetype 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) pagetype: f2(table) page dumped because: nonzero mapcount Call trace: badpage+0x13c/0x160 freefrozenpages+0x6cc/0x860 freepages+0xf4/0x180 freepages+0x54/0x80 freehotplugpagerange.part.0+0x58/0x90 freeemptytables+0x438/0x500 removepgdmapping.constprop.0+0x60/0xa8 archremovememory+0x48/0x80 tryremovememory+0x158/0x1d8 offlineandremovememory+0x138/0x180

It can also lead to leaking the ptl allocation if ALLOCSPLITPTLOCKS is defined and incorrect NRPAGETABLE stats. Fix this by calling pagetabledtor() in freehotplugpgtablepage() prior to freeing the page to undo the effects of calling pagetablector().

Affected Software

1 affected component
Linux Kernel>5e8eb9aeeda3<=6.17

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux-kernel to a version that resolves this vulnerability.

    Fixed in v6.17Patch arm64: mm: call pagetable dtor when freeing hot-removed page tables
  2. Upgrade

    Upgrade linux-kernel to a version that resolves this vulnerability.

    Patch 5e8eb9aeeda3
  3. Upgrade

    Upgrade linux-kernel to a version that resolves this vulnerability.

    Patch 2dfcd1608f3a9

Event History

Jul 1, 2026
CVE Published
via MITRE·01:32 PM
Data Sourced
via MITRE·01:32 PM
Description
Data Sourced
via NVD·02:16 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203