CVE-2026-143167: mm/page_alloc: clear ->private of deferred free pages

Published Dec 3, 2026
·
Updated

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

mm/pagealloc: clear ->private of deferred free pages

freepagesnolock() and freefrozenpagesnolock() put the page on zone->trylockfreepages if they get neither the pcp lock nor zone->lock. addpagetozonellist() keeps the order of the page in page->private. The next freeonepage() which does get zone->lock passes these pages to splitlargebuddy() with ->private still set.

freeonepage() writes ->private of the head of the resulting free page only. If the deferred page is merged with its lower buddy, it becomes a tail of that free page and keeps the order in ->private.

All other free pages which are not the head of a buddy have a ->private of zero, and since commit 819bfbd47e49 ("mm/pagealloc: remove setpageprivate() in prepcompoundtail()") the allocator relies on it. When the stale page is allocated again as a tail of a larger page:

- prepcompoundtail() hits VMWARNONONCE(tail->private); - with the page checks enabled, freepagesprepare() reports "BUG: Bad page state", "nonzero private", and leaks the whole page; - without them the value is seen by whoever uses that page next, e.g. as folio->private of a folio which is split off a large folio.

Only pages of an order above zero are affected. Those can be freed through nolock() by the stack depot (order 2) and by SLUB (a new slab which cannot be added to the partial list by kmallocnolock()).

Clear ->private when the page is taken off the list.

Affected Software

3 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.15.0<6.18.66
6.18.66
linux/kernel>=6.19.0<7.3.7
7.3.7

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.18.66
  2. Upgrade

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

    Fixed in 7.3.7
  3. Compensating control

    Clear ->private when a deferred free page is taken off the list.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:20 AM
Data Sourced
via MITRE·09:20 AM
Description
Data Sourced
via OSV·09:20 AM
DescriptionAffected Software
Data Sourced
via NVD·10:17 AM
Description

Frequently Asked Questions

1

Under what allocator conditions can the stale value persist?

The issue occurs when free_pages_nolock() or free_frozen_pages_nolock() cannot obtain either the per-CPU-pages lock or zone lock and places pages on zone->trylock_free_pages. If a deferred page is later merged with its lower buddy, it can become a tail page while retaining the order value in page->private.

2

What symptoms can indicate this condition has occurred?

Allocation of the affected page as a tail of a larger compound page can trigger VM_WARN_ON_ONCE(tail->private). With page checks enabled, __free_pages_prepare() can report "BUG: Bad page state" and "nonzero private" and leak the whole page.

3

Does enabling page checks change the observed impact?

Yes. With page checks enabled, the allocator reports the nonzero private field and leaks the affected page; without page checks, the stale value can be observed by the next user of that page.

4

Which fixes are identified for this issue?

The provided references identify fixes at stable commits 39feec0f1dd6132652755debecf3087be212aa87, 04f8feced6059c267c35cce715921beb4cc07021, and aae6b83fe47ed8bff9195efbe1d191ec52e5436e.

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