CVE-2025-38160
Last modified
CVE-2025-38160 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.9, < 5.10.239 |
| Linux | Linux Kernel | >= 5.11, < 5.15.186 |
| Linux | Linux Kernel | >= 5.16, < 6.1.142 |
| Linux | Linux Kernel | >= 6.2, < 6.6.94 |
| Linux | Linux Kernel | >= 6.7, < 6.12.34 |
| Linux | Linux Kernel | >= 6.13, < 6.15.3 |
| Debian | Debian Linux | 11.0 |
References
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-38160?
How severe is CVE-2025-38160?
How do I fix CVE-2025-38160?
Are you affected by CVE-2025-38160?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
