5.5

CVE-2024-41055

mm: prevent derefencing NULL ptr in pfn_section_valid()

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
LinuxLinux Kernel Version >= 5.10.219 < 5.10.222
LinuxLinux Kernel Version >= 5.15.149 < 5.15.163
LinuxLinux Kernel Version >= 6.1.76 < 6.1.100
LinuxLinux Kernel Version >= 6.6.15 < 6.6.41
LinuxLinux Kernel Version >= 6.8 < 6.9.10
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.26% 0.166
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 5.5 1.8 3.6
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-476 NULL Pointer Dereference

The product dereferences a pointer that it expects to be valid but is NULL.

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