CVE-2024-57881

Medium

Description

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedJan 11, 2025
First seenJan 11, 2025

How to fix

Update
  • linux linux_kernel6.12.7 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel6.10 ≤ v < 6.12.7, 6.136.12.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-57881 · Linux Kernel · Dark Radar