NULL pointer dereference in Linux
CVE-2025-38160
In the Linux kernel, the following vulnerability has been resolved:
clk: bcm: rpi: Add NULL check in raspberrypi_clk_register()
devm_kasprintf() returns NULL when memory allocation fails. Currently,
raspberrypi_clk_register() does not check for this case, which results
in a NULL pointer dereference.
Add NULL check after devm_kasprintf() to prevent this issue.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.002, 9.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 93d2725affd65686792f4b57e49ef660f3c8c0f9, 5.9, 0
- Linux Kernel
- Debian Linux — versions 11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/938f625bd3364cfdc93916739add3b637ff90368 (Patch)
- git.kernel.org/stable/c/54ce9bcdaee59d4ef0703f390d55708557818f9e (Patch)
- git.kernel.org/stable/c/52562161df3567cdaedada46834a7a8d8c4ab737 (Patch)
- git.kernel.org/stable/c/3c1adc2f8c732ea09e8c4bce5941fec019c6205d (Patch)
- git.kernel.org/stable/c/0a2712cd24ecfeb520af60f6f859b442c7ab01ff (Patch)
- git.kernel.org/stable/c/1b69a5299f28ce8e6afa37c3690dbc14c3a1f53f (Patch)
- git.kernel.org/stable/c/73c46d9a93d071ca69858dea3f569111b03e549e (Patch)
- lists.debian.org/debian-lts-announce/2025/10/msg00007.html (Third Party Advisory)
- lists.debian.org/debian-lts-announce/2025/10/msg00008.html (Third Party Advisory)