๐Ÿ” CVE Alert

CVE-2024-57881

MEDIUM 5.5

mm/page_alloc: don't call pfn_to_page() on possibly non-existent PFN in split_large_buddy()

CVSS Score
5.5
EPSS Score
0.0%
EPSS Percentile
0th

In the Linux kernel, the following vulnerability has been resolved: mm/page_alloc: don't call pfn_to_page() on possibly non-existent PFN in split_large_buddy() In split_large_buddy(), we might call pfn_to_page() on a PFN that might not exist. In corner cases, such as when freeing the highest pageblock in the last memory section, this could result with CONFIG_SPARSEMEM && !CONFIG_SPARSEMEM_EXTREME in __pfn_to_section() returning NULL and and __section_mem_map_addr() dereferencing that NULL pointer. Let's fix it, and avoid doing a pfn_to_page() call for the first iteration, where we already have the page. So far this was found by code inspection, but let's just CC stable as the fix is easy.

Vendor linux
Product linux
Ecosystems
Industries
Technology
Published Jan 11, 2025
Last Updated May 11, 2026
Stay Ahead of the Next One

Get instant alerts for linux linux

Be the first to know when new medium vulnerabilities affecting linux linux are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

Linux / Linux
fd919a85cd55be5d00a6a7372071f44c8eafb825 < 4234ca9884bcae9e48ed38652d91696ad5cd591d fd919a85cd55be5d00a6a7372071f44c8eafb825 < faeec8e23c10bd30e8aa759a2eb3018dae00f924
Linux / Linux
6.10

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
git.kernel.org: https://git.kernel.org/stable/c/4234ca9884bcae9e48ed38652d91696ad5cd591d git.kernel.org: https://git.kernel.org/stable/c/faeec8e23c10bd30e8aa759a2eb3018dae00f924