VDB

CVE-2026-64302

CVE-2026-64302 PUBLISHED

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.

PackageEcosystemFixed in
kernel6.18-modules-extra-commonAmazon Linux1:6.18.35-68.127.amzn2023
kernel6.18Amazon Linux1:6.18.35-68.127.amzn2023
perf6.18Amazon Linux1:6.18.35-68.127.amzn2023
LinuxLinuxadd1e4112e00b619614784bf630aeebfdefa23e1, 6.18.39, 39406c05f8f150f1685839acd38ffdd69ff92031, 03f6ecbc446c33b38fd452cd3c494092a8116967

Risk scores

EPSS Score
0.16%
5.2th percentile

Affected products

VendorProductVersions
LinuxLinuxa1593c90896babf33e947910c7aecb9f50bab993, bf9e4e30f3538391745a99bc2268ec4f5e4a401e, bf9e4e30f3538391745a99bc2268ec4f5e4a401e
LinuxLinux6.19, 0, 6.18.39
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.180
amazon:2023perf6.180
LinuxLinux7.1.4, 6.18.39, 0
amazon:2023kernel6.18-tools0
linuxlinux_kernel6.18.7, 6.19, 6.19
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.18-devel0
amazon:2023bpftool6.180
amazon:2023kernel6.18-modules-extra0
amazon:2023microvm-kernel6.180
amazon:2023kernel-livepatch-6.18.35-68.1270
amazon:2023python3-perf6.180

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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›