# CVE-2024-41055: mm: prevent derefencing NULL ptr in pfn\_section\_valid()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-28)
- **CWE:** CWE-476
- **Published:** 2024-07-29T14:32:10.672Z
- **Modified:** 2026-06-17T07:47:10.853Z

## Who should check

- Anyone running Linux \>= 90ad17575d26874287271127d43ef3c2af876cea, \< 0100aeb8a12d51950418e685f879cc80cb8e5982; \>= b448de2459b6d62a53892487ab18b7d823ff0529, \< bc17f2377818dca643a74499c3f5333500c90503; \>= 68ed9e33324021e9d6b798e9db00ca3093d2012a, \< 941e816185661bf2b44b488565d09444ae316509; \>= 70064241f2229f7ba7b9599a98f68d9142e81a97, \< 797323d1cf92d09b7a017cfec576d9babf99cde7; \>= 5ec8e8ea8b7783fab150cf86404fc38cb4db8800, \< adccdf702b4ea913ded5ff512239e382d7473b63; \>= 5ec8e8ea8b7783fab150cf86404fc38cb4db8800, \< 82f0b6f041fad768c28b4ad05a683065412c226e; 3a01daace71b521563c38bbbf874e14c3e58adb7; \>= 5.10.210, \< 5.10.222; \>= 5.15.149, \< 5.15.163; \>= 6.1.76, \< 6.1.100; …
- Anyone running Linux 6.8

## 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 and fixed versions

- Linux: \>= 90ad17575d26874287271127d43ef3c2af876cea, \< 0100aeb8a12d51950418e685f879cc80cb8e5982; \>= b448de2459b6d62a53892487ab18b7d823ff0529, \< bc17f2377818dca643a74499c3f5333500c90503; \>= 68ed9e33324021e9d6b798e9db00ca3093d2012a, \< 941e816185661bf2b44b488565d09444ae316509; \>= 70064241f2229f7ba7b9599a98f68d9142e81a97, \< 797323d1cf92d09b7a017cfec576d9babf99cde7; \>= 5ec8e8ea8b7783fab150cf86404fc38cb4db8800, \< adccdf702b4ea913ded5ff512239e382d7473b63; \>= 5ec8e8ea8b7783fab150cf86404fc38cb4db8800, \< 82f0b6f041fad768c28b4ad05a683065412c226e; 3a01daace71b521563c38bbbf874e14c3e58adb7; \>= 5.10.210, \< 5.10.222; \>= 5.15.149, \< 5.15.163; \>= 6.1.76, \< 6.1.100; … (cvelist)
- Linux: 6.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-41055. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-41055.md
Affected: Linux >= 90ad17575d26874287271127d43ef3c2af876cea, < 0100aeb8a12d51950418e685f879cc80cb8e5982; >= b448de2459b6d62a53892487ab18b7d823ff0529, < bc17f2377818dca643a74499c3f5333500c90503; >= 68ed9e33324021e9d6b798e9db00ca3093d2012a, < 941e816185661bf2b44b488565d09444ae316509; >= 70064241f2229f7ba7b9599…
Fixed in: Linux 0100aeb8a12d51950418e685f879cc80cb8e5982, Linux 941e816185661bf2b44b488565d09444ae316509, Linux 797323d1cf92d09b7a017cfec576d9babf99cde7, Linux 82f0b6f041fad768c28b4ad05a683065412c226e, Linux 5.10.222, Linux 5.15.163, Linux 6.1.100

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-41055 being exploited?

There is no confirmed exploitation: CVE-2024-41055 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-41055?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-41055?

Linux \>= 90ad17575d26874287271127d43ef3c2af876cea, \< 0100aeb8a12d51950418e685f879cc80cb8e5982; \>= b448de2459b6d62a53892487ab18b7d823ff0529, \< bc17f2377818dca643a74499c3f5333500c90503; \>= 68ed9e33324021e9d6b798e9db00ca3093d2012a, \< 941e816185661bf2b44b488565d09444ae316509; \>= 70064241f2229f7ba7b9599a98f68d9142e81a97, \< 797323d1cf92d09b7a017cfec576d9babf99cde7; \>= 5ec8e8ea8b7783fab150cf86404fc38cb4db8800, \< adccdf702b4ea913ded5ff512239e382d7473b63; \>= 5ec8e8ea8b7783fab150cf86404fc38cb4db8800, \< 82f0b6f041fad768c28b4ad05a683065412c226e; 3a01daace71b521563c38bbbf874e14c3e58adb7; \>= 5.10.210, \< 5.10.222; \>= 5.15.149, \< 5.15.163; \>= 6.1.76, \< 6.1.100; …; Linux 6.8.

### Is there a fix for CVE-2024-41055?

Yes. Fixed in Linux 0100aeb8a12d51950418e685f879cc80cb8e5982, Linux 941e816185661bf2b44b488565d09444ae316509, Linux 797323d1cf92d09b7a017cfec576d9babf99cde7, Linux 82f0b6f041fad768c28b4ad05a683065412c226e, Linux 5.10.222, Linux 5.15.163, Linux 6.1.100. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-41055?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/0100aeb8a12d51950418e685f879cc80cb8e5982>
- patch: <https://git.kernel.org/stable/c/bc17f2377818dca643a74499c3f5333500c90503>
- patch: <https://git.kernel.org/stable/c/941e816185661bf2b44b488565d09444ae316509>
- patch: <https://git.kernel.org/stable/c/797323d1cf92d09b7a017cfec576d9babf99cde7>
- patch: <https://git.kernel.org/stable/c/adccdf702b4ea913ded5ff512239e382d7473b63>
- patch: <https://git.kernel.org/stable/c/82f0b6f041fad768c28b4ad05a683065412c226e>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-41055>

HTML: <https://flawdb.com/CVE-2024-41055> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-41055>
