mm/hugetlb: initialize gigantic bootmem hugepage struct pages earlier
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 09505232eced5f1c42902d8f28740f070c3fc6dc, Kernel 29968bc7aefb3cf1e72aa7c5f52697a6b0527094, Kernel 326de479ab5942fb4a4aa4f20c716045434fcd6b and 1 more.
In the Linux kernel, the following vulnerability has been resolved: mm/hugetlb: initialize gigantic bootmem hugepage struct pages earlier Gigantic bootmem HugeTLB pages are currently initialized from hugetlb_init(), but page_alloc_init_late() runs earlier and walks pageblocks to determine zone contiguity. If a bootmem HugeTLB region is marked noinit, set_zone_contiguous() can observe still-uninitialized struct pages through __pageblock_pfn_to_page(). This may not trigger an immediate failure, but it can make set_zone_contiguous() compute the wrong zone contiguity state. If extra poisoned-page checks are added in this path, such as PF_POISONED_CHECK() in page_zone_id(), it can also trigger an early boot panic. Initialize gigantic bootmem HugeTLB struct pages from page_alloc_init_late(), before zone contiguity is evaluated, so later page allocator setup only sees valid struct page state. This also makes the initialization order more natural, as struct pages should be initialized before later code inspects them.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.7, >=fde1c4ecf91640e5a95ec36b71ec2e8ec379ce40 <09505232eced5f1c42902d8f28740f070c3fc6dc, >=fde1c4ecf91640e5a95ec36b71ec2e8ec379ce40 <29968bc7aefb3cf1e72aa7c5f52697a6b0527094, >=fde1c4ecf91640e5a95ec36b71ec2e8ec379ce40 <326de479ab5942fb4a4aa4f20c716045434fcd6b, >=fde1c4ecf91640e5a95ec36b71ec2e8ec379ce40 <b1b7c045e808c761b1cc8c19b3040fadedda3fef | 09505232eced5f1c42902d8f28740f070c3fc6dc, 29968bc7aefb3cf1e72aa7c5f52697a6b0527094, 326de479ab5942fb4a4aa4f20c716045434fcd6b, b1b7c045e808c761b1cc8c19b3040fadedda3fef |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket