CVE-2025-38160
BaseFortify
Publication date: 2025-07-03
Last updated on: 2025-12-18
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.9 (inc) to 5.10.239 (exc) |
| linux | linux_kernel | From 5.11 (inc) to 5.15.186 (exc) |
| linux | linux_kernel | From 5.16 (inc) to 6.1.142 (exc) |
| linux | linux_kernel | From 6.2 (inc) to 6.6.94 (exc) |
| linux | linux_kernel | From 6.7 (inc) to 6.12.34 (exc) |
| linux | linux_kernel | From 6.13 (inc) to 6.15.3 (exc) |
| debian | debian_linux | 11.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability occurs in the Linux kernel's raspberrypi_clk_register() function, where a NULL pointer dereference can happen because the function does not check if devm_kasprintf() returns NULL when memory allocation fails. This can lead to a crash or unexpected behavior. The fix involves adding a NULL check after devm_kasprintf() to prevent dereferencing a NULL pointer.
How can this vulnerability impact me? :
The vulnerability can cause the Linux kernel on Raspberry Pi devices to crash or behave unexpectedly due to a NULL pointer dereference, potentially leading to denial of service or system instability.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update the Linux kernel to a version that includes the fix for the NULL pointer dereference in raspberrypi_clk_register(), which adds a NULL check after devm_kasprintf().