CVE-2025-38160
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2025-38160 is a vulnerability discovered in the Linux kernel, specifically affecting the Raspberry Pi clock (clk) subsystem. The vulnerability was disclosed on July 3, 2025, and involves a NULL pointer dereference issue in the raspberrypiclkregister() function (NVD Database, CVE Database).

Technical details

The vulnerability occurs when devmkasprintf() returns NULL during memory allocation failure in the raspberrypiclk_register() function. The function does not properly check for this NULL return value, leading to a potential NULL pointer dereference. The vulnerability has been assigned a CVSS v2.0 score of 5.0 (AV:L/AC:L/Au:S/C:N/I:N/A:C) indicating local access requirements (Rapid7).

Impact

The vulnerability affects multiple Linux distributions and versions, including Ubuntu 22.04 LTS (jammy), 24.04 LTS (noble), and 25.04 (plucky). Various kernel packages including linux-aws, linux-azure, linux-gcp, and linux-nvidia are impacted. Earlier versions such as Ubuntu 20.04 LTS (focal) and 18.04 LTS (bionic) are not affected (Ubuntu Security).

Mitigation and workarounds

A fix has been implemented by adding a NULL check after the devmkasprintf() call in the raspberrypiclk_register() function to prevent the NULL pointer dereference (NVD Database).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management