All reports
Medium

kernel: mm: prevent derefencing NULL ptr in pfn_section_valid()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-41055

Probability of exploitation in the next 30 days: 0.26%

FIRST EPSS · 2026-11-24

Description

In the Linux kernel, the following vulnerability has been resolved: mm: prevent derefencing NULL ptr in pfn_section_valid() Commit 5ec8e8ea8b77 ("mm/sparsemem: fix race in accessing memory_section->usage") changed pfn_section_valid() to add a READ_ONCE() call around "ms->usage" to fix a race with section_deactivate() where ms->usage can be cleared. The READ_ONCE() call, by itself, is not enough to prevent NULL pointer dereference. We need to check its value before dereferencing it.

A flaw was found in the Linux kernel. This flaw allows a local user to cause a Denial of Service (DoS) by crashing the system. A race condition during memory section deactivation in the memory management subsystem can lead to a null pointer dereference in the pfn_section_valid() function due to a missing pointer validation check.