{"id":"CVE-2024-41055","aliases":["CVE-2024-41055"],"related":[],"kind":"vulnerability","state":"published","title":"mm: prevent derefencing NULL ptr in pfn_section_valid()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mm: evita la eliminación de la referencia NULL ptr en pfn_section_valid() La confirmación 5ec8e8ea8b77 (\"mm/sparsemem: corrige la ejecución al acceder a la sección_memoria-&gt;uso\") cambió pfn_section_valid() para agregar un READ_ONCE() llame a \"ms-&gt;usage\" para arreglar una ejecución con section_deactivate() donde se puede borrar ms-&gt;usage. La llamada READ_ONCE(), por sí sola, no es suficiente para evitar la desreferencia al puntero NULL. Necesitamos comprobar su valor antes de desreferenciarlo.","source":"nvd"}],"published":"2024-07-29T14:32:10.672Z","modified":"2026-06-17T07:47:10.853Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"90ad17575d26874287271127d43ef3c2af876cea","fixed":"0100aeb8a12d51950418e685f879cc80cb8e5982","status":"affected"},{"type":"git","introduced":"b448de2459b6d62a53892487ab18b7d823ff0529","fixed":"bc17f2377818dca643a74499c3f5333500c90503","status":"affected"},{"type":"git","introduced":"68ed9e33324021e9d6b798e9db00ca3093d2012a","fixed":"941e816185661bf2b44b488565d09444ae316509","status":"affected"},{"type":"git","introduced":"70064241f2229f7ba7b9599a98f68d9142e81a97","fixed":"797323d1cf92d09b7a017cfec576d9babf99cde7","status":"affected"},{"type":"git","introduced":"5ec8e8ea8b7783fab150cf86404fc38cb4db8800","fixed":"adccdf702b4ea913ded5ff512239e382d7473b63","status":"affected"},{"type":"git","introduced":"5ec8e8ea8b7783fab150cf86404fc38cb4db8800","fixed":"82f0b6f041fad768c28b4ad05a683065412c226e","status":"affected"},{"type":"git","version":"3a01daace71b521563c38bbbf874e14c3e58adb7","status":"affected"},{"type":"semver","introduced":"5.10.210","fixed":"5.10.222","status":"affected"},{"type":"semver","introduced":"5.15.149","fixed":"5.15.163","status":"affected"},{"type":"semver","introduced":"6.1.76","fixed":"6.1.100","status":"affected"},{"type":"semver","introduced":"6.6.15","fixed":"6.6.41","status":"affected"},{"type":"semver","introduced":"6.7.3","fixed":"6.8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.8","status":"unaffected"},{"type":"semver","introduced":"5.10.222","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.163","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.100","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.41","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.10","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.10.219","fixed":"5.10.222"},{"status":"affected","introduced":"5.15.149","fixed":"5.15.163"},{"status":"affected","introduced":"6.1.76","fixed":"6.1.100"},{"status":"affected","introduced":"6.6.15","fixed":"6.6.41"},{"status":"affected","introduced":"6.8","fixed":"6.9.10"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0100aeb8a12d51950418e685f879cc80cb8e5982","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bc17f2377818dca643a74499c3f5333500c90503","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/941e816185661bf2b44b488565d09444ae316509","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/797323d1cf92d09b7a017cfec576d9babf99cde7","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/adccdf702b4ea913ded5ff512239e382d7473b63","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/82f0b6f041fad768c28b4ad05a683065412c226e","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T16:22:28.194Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-41055","url":"https://www.cve.org/CVERecord?id=CVE-2024-41055","licence":"CVE Terms of Use","modified":"2026-05-23T15:51:49.078Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-41055","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41055","licence":"Public domain","modified":"2026-06-17T07:47:10.853Z"}],"updatedAt":"2026-11-25T22:58:43.307Z","epss":{"score":0.00257,"percentile":0.18549,"date":"2026-12-01T12:00:22.000Z"}}