CVE-2026-64302
x86/mm: Fix freeing of PMD-sized vmemmap pages
Reported by linux · Published July 25, 2026
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 ]
EPSS 0.16% · 5.2th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| Linux | Linux | add1e4112e00b619614784bf630aeebfdefa23e1, 6.18.39, 39406c05f8f150f1685839acd38ffdd69ff92031, 03f6ecbc446c33b38fd452cd3c494092a8116967 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a1593c90896babf33e947910c7aecb9f50bab993, bf9e4e30f3538391745a99bc2268ec4f5e4a401e, bf9e4e30f3538391745a99bc2268ec4f5e4a401e |
| Linux | Linux | 6.19, 0, 6.18.39 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | perf6.18 | 0 |
| Linux | Linux | 7.1.4, 6.18.39, 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| linux | linux_kernel | 6.18.7, 6.19, 6.19 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.18.35-68.127 | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
Timeline
- Jul 25, 2026 EPSS Score (10 in total, the first dated here)
- Jul 25, 2026 Coalition ESS Score
- Jul 25, 2026 CVE Published
- Jul 26, 2026 Security Advisory (20 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (21 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-64302
vulnetix vdb fixes CVE-2026-64302
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64302/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart