NULL pointer dereference in Linux
CVE-2024-41055
- CVSS v3
- 5.5 Medium
- Public exploits
- None known
- EPSS
- 0.003 · 17.2th percentile
- Published
- 2024-07-29
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.003, 17.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 5ec8e8ea8b7783fab150cf86404fc38cb4db8800, 6.7.3, 6.6.15
- Linux Kernel
Weakness classification (CWE)
References
- git.kernel.org/stable/c/0100aeb8a12d51950418e685f879cc80cb8e5982 (Patch)
- git.kernel.org/stable/c/bc17f2377818dca643a74499c3f5333500c90503 (Patch)
- git.kernel.org/stable/c/941e816185661bf2b44b488565d09444ae316509 (Patch)
- git.kernel.org/stable/c/797323d1cf92d09b7a017cfec576d9babf99cde7 (Patch)
- git.kernel.org/stable/c/adccdf702b4ea913ded5ff512239e382d7473b63 (Patch)
- git.kernel.org/stable/c/82f0b6f041fad768c28b4ad05a683065412c226e (Patch)
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html