CVE-2026-142880: mm/page_alloc: mark pages freed by __free_pages_core() as not tagged

Published Dec 3, 2026
·
Updated

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

mm/pagealloc: mark pages freed by freepagescore() as not tagged

Onlining hotplugged memory (e.g., a devdax device bound to kmem) with CONFIGMEMALLOCPROFILINGDEBUG triggers:

alloctag was not set WARNING: ./include/linux/alloctag.h:166 at pgalloctagsub+0x1fc/0x254 Call trace: pgalloctagsub+0x1fc/0x254 (P) freepagesok+0x14c/0x6ac freepagescore+0xa8/0x188 genericonlinepage+0x14/0x20 onlinepages+0x220/0x3b0 memorysubsysonline+0xfc/0x198 deviceonline+0x58/0xe0 statestore+0xf0/0xf8

Pages entering the buddy through freepagescore() have never been allocated, so their allocation tag references are NULL. The free path, freepagesprepare() -> pgalloctagsub(), expects a valid tag or a CODETAGEMPTY mark and warns otherwise. Paths feeding never-allocated pages into the buddy are therefore expected to mark them with clearpagetagref() first, like initcmareservedpageblock() and freereservedpages() do; of freepagescore()'s callers only memblockfreepages() clears the tag ref itself, and the hotplug onlining path was missed.

Since all freepagescore() callers free never-allocated pages, mark the head page as not tagged in freepagescore() itself instead of relying on each caller, and drop the now-redundant clearing from memblockfreepages().

Affected Software

4 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.10.0<6.12.118
6.12.118
linux/kernel>=6.13.0<6.18.64
6.18.64
linux/kernel>=6.19.0<7.3.5
7.3.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.118
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.64
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.5

Event History

Dec 3, 2026
CVE Published
via MITRE·03:23 AM
Data Sourced
via MITRE·03:23 AM
Description
Data Sourced
via OSV·03:23 AM
DescriptionAffected Software
Data Sourced
via NVD·04:18 AM
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