CVE-2024-41055

mm: prevent derefencing NULL ptr in pfn_section_valid()

MEDIUM
5.5
CVSS Score
Published: July 29, 2024 at 02:32 PM UTC
Updated: June 17, 2026 at 07:47 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 6.7.35.10.210 ≤ v < 5.10.2225.10.219 ≤ v < 5.10.2225.15.149 ≤ v < 5.15.1636.1.76 ≤ v < 6.1.1006.6.15 ≤ v < 6.6.416.7.3 ≤ v < 6.86.8 ≤ v < 6.106.8 ≤ v < 6.9.103a01daace71b521563c38bbbf874e14c3e58adb75.10.2105.15.1495ec8e8ea8b7783fab150cf86404fc38cb4db88006.1.766.6.156.7.36.868ed9e33324021e9d6b798e9db00ca3093d2012a70064241f2229f7ba7b9599a98f68d9142e81a9790ad17575d26874287271127d43ef3c2af876ceab448de2459b6d62a53892487ab18b7d823ff0529
Vendor states this is fixed in 0100aeb8a12d51950418e685f879cc80cb8e5982 (fixed)
Vendor states this is fixed in 797323d1cf92d09b7a017cfec576d9babf99cde7 (fixed)
Vendor states this is fixed in 82f0b6f041fad768c28b4ad05a683065412c226e (fixed)
Vendor states this is fixed in 941e816185661bf2b44b488565d09444ae316509 (fixed)
Vendor states this is fixed in adccdf702b4ea913ded5ff512239e382d7473b63 (fixed)
Vendor states this is fixed in bc17f2377818dca643a74499c3f5333500c90503 (fixed)
Vendor states this is fixed in 5.10.222 (unaffected)
Vendor states this is fixed in 5.15.163 (unaffected)
Vendor states this is fixed in 6.1.100 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.41 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)
Vendor states this is fixed in 6.9.10 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0100aeb8a12d51950418e685f879cc80cb8e5982
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/797323d1cf92d09b7a017cfec576d9babf99cde7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/82f0b6f041fad768c28b4ad05a683065412c226e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/941e816185661bf2b44b488565d09444ae316509
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/adccdf702b4ea913ded5ff512239e382d7473b63
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bc17f2377818dca643a74499c3f5333500c90503
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card