CVE-2025-38160 Details
Description
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.
A NULL pointer dereference vulnerability has been identified in the Linux kernel's Raspberry Pi clock management. The issue arises in the function 'raspberrypi_clk_register()', which fails to validate the return value of 'devm_kasprintf()' after a memory allocation. This oversight can lead to a NULL pointer dereference when the allocation fails.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0a2712cd24ecfeb520af60f6f859b442c7ab01ff | kernel.org | Patch |
| https://git.kernel.org/stable/c/1b69a5299f28ce8e6afa37c3690dbc14c3a1f53f | kernel.org | Patch |
| https://git.kernel.org/stable/c/3c1adc2f8c732ea09e8c4bce5941fec019c6205d | kernel.org | Patch |
| https://git.kernel.org/stable/c/52562161df3567cdaedada46834a7a8d8c4ab737 | kernel.org | Patch |
| https://git.kernel.org/stable/c/54ce9bcdaee59d4ef0703f390d55708557818f9e | kernel.org | Patch |
| https://git.kernel.org/stable/c/73c46d9a93d071ca69858dea3f569111b03e549e | kernel.org | Patch |
| https://git.kernel.org/stable/c/938f625bd3364cfdc93916739add3b637ff90368 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html | CVE | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.9, < 5.10.239 >= 5.11, < 5.15.186 >= 5.16, < 6.1.142 >= 6.2, < 6.6.94 >= 6.7, < 6.12.34 >= 6.13, < 6.15.3 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 18, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Jul 3, 2025 | New CVE Received | kernel.org |