CVE-2026-143167

Source
https://cve.org/CVERecord?id=CVE-2026-143167
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143167.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143167
Downstream
Published
2026-12-03T09:20:04Z
Modified
2026-12-03T11:01:42Z
Summary
mm/page_alloc: clear ->private of deferred free pages
Details

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

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

free_pages_nolock() and free_frozen_pages_nolock() put the page on zone->trylock_free_pages if they get neither the pcp lock nor zone->lock. add_page_to_zone_llist() keeps the order of the page in page->private. The next free_one_page() which does get zone->lock passes these pages to split_large_buddy() with ->private still set.

__free_one_page() 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/page_alloc: remove set_page_private() in prep_compound_tail()") the allocator relies on it. When the stale page is allocated again as a tail of a larger page:

  • prep_compound_tail() hits VM_WARN_ON_ONCE(tail->private);
  • with the page checks enabled, __free_pages_prepare() 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 kmalloc_nolock()).

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

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143167.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8c57b687e8331eb80e302a2c528b18b966a9ac7a
Fixed
39feec0f1dd6132652755debecf3087be212aa87
Fixed
04f8feced6059c267c35cce715921beb4cc07021
Fixed
aae6b83fe47ed8bff9195efbe1d191ec52e5436e

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143167.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.15.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143167.json"