CVE-2024-41055

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-41055
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-41055.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-41055
Downstream
Related
Published
2024-07-29T14:32:10.672Z
Modified
2025-11-28T02:34:18.987773Z
Summary
mm: prevent derefencing NULL ptr in pfn_section_valid()
Details

In the Linux kernel, the following vulnerability has been resolved:

mm: prevent derefencing NULL ptr in pfnsectionvalid()

Commit 5ec8e8ea8b77 ("mm/sparsemem: fix race in accessing memorysection->usage") changed pfnsectionvalid() to add a READONCE() call around "ms->usage" to fix a race with sectiondeactivate() where ms->usage can be cleared. The READONCE() call, by itself, is not enough to prevent NULL pointer dereference. We need to check its value before dereferencing it.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41055.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
90ad17575d26874287271127d43ef3c2af876cea
Fixed
0100aeb8a12d51950418e685f879cc80cb8e5982
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b448de2459b6d62a53892487ab18b7d823ff0529
Fixed
bc17f2377818dca643a74499c3f5333500c90503
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
68ed9e33324021e9d6b798e9db00ca3093d2012a
Fixed
941e816185661bf2b44b488565d09444ae316509
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
70064241f2229f7ba7b9599a98f68d9142e81a97
Fixed
797323d1cf92d09b7a017cfec576d9babf99cde7
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5ec8e8ea8b7783fab150cf86404fc38cb4db8800
Fixed
adccdf702b4ea913ded5ff512239e382d7473b63
Fixed
82f0b6f041fad768c28b4ad05a683065412c226e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
3a01daace71b521563c38bbbf874e14c3e58adb7

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.10.222
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.163
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.100
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.41
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.9.10