CVE-2026-64302

x86/mm: Fix freeing of PMD-sized vmemmap pages

MEDIUM
5.5
CVSS Score
Published: July 25, 2026 at 08:49 AM UTC
Updated: September 3, 2026 at 04:24 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: x86/mm: Fix freeing of PMD-sized vmemmap pages Commit bf9e4e30f353 ("x86/mm: use pagetable_free()"), switched from freeing non-boot page tables through __free_pages() to pagetable_free(). However, the function is also called to free vmemmap pages. Given that vmemmap pages are not page tables, already the page_ptdesc(page) is wrong. But worse, pagetable_free() calls: __free_pages(page, compound_order(page)); Since vmemmap pages are not compound pages (see vmemmap_alloc_block()) -- except for HVO, which doesn't apply here -- only first page of a PMD-sized vmemmap page is freed, leaking the other ones. Fix it by properly decoupling pagetable and vmemmap freeing. free_pagetable() no longer has to mess with SECTION_INFO, as only the vmemmap is marked like that in register_page_bootmem_memmap(). The indentation in remove_pmd_table() is messed up. Fix that while touching it. Bootmem info handling will soon be fixed up. For now, handle it similar to free_pagetable(), just avoiding the ifdef. [ dhansen: changelog munging. More imperative voice ]

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.18.7 ≤ v < 6.18.396.19 ≤ v < 7.1.46.19 ≤ v < 7.26.18.76.19a1593c90896babf33e947910c7aecb9f50bab993bf9e4e30f3538391745a99bc2268ec4f5e4a401e
Vendor states this is fixed in 03f6ecbc446c33b38fd452cd3c494092a8116967 (fixed)
Vendor states this is fixed in 39406c05f8f150f1685839acd38ffdd69ff92031 (fixed)
Vendor states this is fixed in add1e4112e00b619614784bf630aeebfdefa23e1 (fixed)
Vendor states this is fixed in 6.18.39 (unaffected)
Vendor states this is fixed in 6.19 (unaffected)
Vendor states this is fixed in 7.1.4 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card