{"id":"CVE-2024-57881","published":"2025-01-11T15:10:43Z","modified":"2026-05-11T20:59:42Z","title":"mm/page_alloc: don't call pfn_to_page() on possibly non-existent PFN in split_large_buddy()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/page_alloc: don't call pfn_to_page() on possibly non-existent PFN in split_large_buddy()\n\nIn split_large_buddy(), we might call pfn_to_page() on a PFN that might\nnot exist.  In corner cases, such as when freeing the highest pageblock in\nthe last memory section, this could result with CONFIG_SPARSEMEM &&\n!CONFIG_SPARSEMEM_EXTREME in __pfn_to_section() returning NULL and and\n__section_mem_map_addr() dereferencing that NULL pointer.\n\nLet's fix it, and avoid doing a pfn_to_page() call for the first\niteration, where we already have the page.\n\nSo far this was found by code inspection, but let's just CC stable as the\nfix is easy.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00263,"percentile":0.11122,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/4234ca9884bcae9e48ed38652d91696ad5cd591d","tags":[]},{"url":"https://git.kernel.org/stable/c/faeec8e23c10bd30e8aa759a2eb3018dae00f924","tags":[]}],"priority":{"score":6.1,"factors":[{"name":"EPSS percentile","points":2.22},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= fd919a85cd55be5d00a6a7372071f44c8eafb825, < 4234ca9884bcae9e48ed38652d91696ad5cd591d",">= fd919a85cd55be5d00a6a7372071f44c8eafb825, < faeec8e23c10bd30e8aa759a2eb3018dae00f924"]},{"vendor":"Linux","product":"Linux","versions":["6.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:54:46.665604Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-53784","exploited":false,"provenance":"source"}}