CVE-2025-38160
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
03/07/2025
Last modified:
18/12/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
clk: bcm: rpi: Add NULL check in raspberrypi_clk_register()<br />
<br />
devm_kasprintf() returns NULL when memory allocation fails. Currently,<br />
raspberrypi_clk_register() does not check for this case, which results<br />
in a NULL pointer dereference.<br />
<br />
Add NULL check after devm_kasprintf() to prevent this issue.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.9 (including) | 5.10.239 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 (including) | 5.15.186 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 6.1.142 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.6.94 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.12.34 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.15.3 (excluding) |
| cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/0a2712cd24ecfeb520af60f6f859b442c7ab01ff
- https://git.kernel.org/stable/c/1b69a5299f28ce8e6afa37c3690dbc14c3a1f53f
- https://git.kernel.org/stable/c/3c1adc2f8c732ea09e8c4bce5941fec019c6205d
- https://git.kernel.org/stable/c/52562161df3567cdaedada46834a7a8d8c4ab737
- https://git.kernel.org/stable/c/54ce9bcdaee59d4ef0703f390d55708557818f9e
- https://git.kernel.org/stable/c/73c46d9a93d071ca69858dea3f569111b03e549e
- https://git.kernel.org/stable/c/938f625bd3364cfdc93916739add3b637ff90368
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html



