{"id":"CVE-2026-64302","published":"2026-07-25T08:49:37Z","modified":"2026-08-17T04:53:00Z","title":"x86/mm: Fix freeing of PMD-sized vmemmap pages","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/mm: Fix freeing of PMD-sized vmemmap pages\n\nCommit bf9e4e30f353 (\"x86/mm: use pagetable_free()\"), switched from\nfreeing non-boot page tables through __free_pages() to\npagetable_free().\n\nHowever, the function is also called to free vmemmap pages.\n\nGiven that vmemmap pages are not page tables, already the page_ptdesc(page)\nis wrong. But worse, pagetable_free() calls:\n\n\t__free_pages(page, compound_order(page));\n\nSince vmemmap pages are not compound pages (see vmemmap_alloc_block())\n-- except for HVO, which doesn't apply here -- only first page of a\nPMD-sized vmemmap page is freed, leaking the other ones.\n\nFix it by properly decoupling pagetable and vmemmap freeing.\nfree_pagetable() no longer has to mess with SECTION_INFO, as only the\nvmemmap is marked like that in register_page_bootmem_memmap().\n\nThe indentation in remove_pmd_table() is messed up. Fix that while\ntouching it.\n\nBootmem info handling will soon be fixed up. For now, handle it\nsimilar to free_pagetable(), just avoiding the ifdef.\n\n[ dhansen: changelog munging. More imperative voice ]","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0016,"percentile":0.05136,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/add1e4112e00b619614784bf630aeebfdefa23e1","tags":[]},{"url":"https://git.kernel.org/stable/c/03f6ecbc446c33b38fd452cd3c494092a8116967","tags":[]},{"url":"https://git.kernel.org/stable/c/39406c05f8f150f1685839acd38ffdd69ff92031","tags":[]}],"priority":{"score":1.0,"factors":[{"name":"EPSS percentile","points":1.03}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= a1593c90896babf33e947910c7aecb9f50bab993, < add1e4112e00b619614784bf630aeebfdefa23e1",">= bf9e4e30f3538391745a99bc2268ec4f5e4a401e, < 03f6ecbc446c33b38fd452cd3c494092a8116967",">= bf9e4e30f3538391745a99bc2268ec4f5e4a401e, < 39406c05f8f150f1685839acd38ffdd69ff92031",">= 6.18.7, < 6.18.39"]},{"vendor":"Linux","product":"Linux","versions":["6.19"]}],"euvd":{"id":"EUVD-2026-49014","exploited":false,"provenance":"source"}}