CVE-2024-41055
mm: prevent derefencing NULL ptr in pfn_section_valid()
Check your servers for CVE-2024-41055
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-41055 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 18.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 90ad17575d26874287271127d43ef3c2af876cea, before 0100aeb8a12d51950418e685f879cc80cb8e5982 affected from b448de2459b6d62a53892487ab18b7d823ff0529, before bc17f2377818dca643a74499c3f5333500c90503 affected from 68ed9e33324021e9d6b798e9db00ca3093d2012a, before 941e816185661bf2b44b488565d09444ae316509 affected from 70064241f2229f7ba7b9599a98f68d9142e81a97, before 797323d1cf92d09b7a017cfec576d9babf99cde7 affected from 5ec8e8ea8b7783fab150cf86404fc38cb4db8800, before adccdf702b4ea913ded5ff512239e382d7473b63 affected from 5ec8e8ea8b7783fab150cf86404fc38cb4db8800, before 82f0b6f041fad768c28b4ad05a683065412c226e affected 3a01daace71b521563c38bbbf874e14c3e58adb7 affected from 5.10.210, before 5.10.222 affected from 5.15.149, before 5.15.163 affected from 6.1.76, before 6.1.100 affected from 6.6.15, before 6.6.41 affected from 6.7.3, before 6.8
Other versions: unaffected
|
| Linux |
affected 6.8 unaffected before 6.8 unaffected from 5.10.222 up to and including 5.10.* unaffected from 5.15.163 up to and including 5.15.* unaffected from 6.1.100 up to and including 6.1.* unaffected from 6.6.41 up to and including 6.6.* unaffected from 6.9.10 up to and including 6.9.* unaffected 6.10 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-41055 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-41055
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-41055
trivy image --scanners vuln IMAGE | grep CVE-2024-41055
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/0100aeb8a12d51950418e685f879cc80cb8e5982 git.kernel.org
- https://git.kernel.org/stable/c/bc17f2377818dca643a74499c3f5333500c90503 git.kernel.org
- https://git.kernel.org/stable/c/941e816185661bf2b44b488565d09444ae316509 git.kernel.org
- https://git.kernel.org/stable/c/797323d1cf92d09b7a017cfec576d9babf99cde7 git.kernel.org
- https://git.kernel.org/stable/c/adccdf702b4ea913ded5ff512239e382d7473b63 git.kernel.org
- https://git.kernel.org/stable/c/82f0b6f041fad768c28b4ad05a683065412c226e git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
Source: the record CVE-2024-41055 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse