CVE-2026-64302

CVE-2026-64302

Medium · published July 25, 2026

CVSS v3.1
5.5
EPSS
0%
Percentile
4.5
In the wild
Unconfirmed
What it is

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 ]

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00158 · 4.5th percentile
Published
2026-07-25T14:17Z
Affected products (2)
ProductVersionsFixed in
linux/linux_kernel≥ 6.18.7, < 6.18.396.18.39
linux/linux_kernel≥ 6.19, < 7.1.47.1.4
References (3)
EPSS history
Timeline
  • 25 JUL 08:49Z
    x86/mm: Fix freeing of PMD-sized vmemmap pages
    cvelistv5