{"id":"CVE-2024-41055","published":"2024-07-29T14:32:10Z","modified":"2026-05-23T15:51:49Z","title":"mm: prevent derefencing NULL ptr in pfn_section_valid()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm: prevent derefencing NULL ptr in pfn_section_valid()\n\nCommit 5ec8e8ea8b77 (\"mm/sparsemem: fix race in accessing\nmemory_section->usage\") changed pfn_section_valid() to add a READ_ONCE()\ncall around \"ms->usage\" to fix a race with section_deactivate() where\nms->usage can be cleared.  The READ_ONCE() call, by itself, is not enough\nto prevent NULL pointer dereference.  We need to check its value before\ndereferencing it.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00309,"percentile":0.16205,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/0100aeb8a12d51950418e685f879cc80cb8e5982","tags":[]},{"url":"https://git.kernel.org/stable/c/bc17f2377818dca643a74499c3f5333500c90503","tags":[]},{"url":"https://git.kernel.org/stable/c/941e816185661bf2b44b488565d09444ae316509","tags":[]},{"url":"https://git.kernel.org/stable/c/797323d1cf92d09b7a017cfec576d9babf99cde7","tags":[]},{"url":"https://git.kernel.org/stable/c/adccdf702b4ea913ded5ff512239e382d7473b63","tags":[]},{"url":"https://git.kernel.org/stable/c/82f0b6f041fad768c28b4ad05a683065412c226e","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":3.2,"factors":[{"name":"EPSS percentile","points":3.24}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 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"]},{"vendor":"Linux","product":"Linux","versions":["6.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:22:28.194623Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-38855","exploited":false,"provenance":"source"}}