CVE-2024-41055

MEDIUM

Linux Kernel - NULL Pointer Dereference in pfn_section_valid()

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0026
EPSS Percentile 16.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-476
Status published
Products (26)
linux/Kernel < 5.10.222linux
linux/Kernel 5.11.0 - 5.15.163linux
linux/Kernel 5.16.0 - 6.1.100linux
linux/Kernel 6.2.0 - 6.6.41linux
linux/Kernel 6.7.0 - 6.9.10linux
Linux/Linux < 6.8
Linux/Linux 3a01daace71b521563c38bbbf874e14c3e58adb7
Linux/Linux 5.10.210 - 5.10.222
Linux/Linux 5.10.222 - 5.10.*
Linux/Linux 5.15.149 - 5.15.163
... and 16 more
Published Jul 29, 2024
Tracked Since Feb 18, 2026