CVE-2025-37938
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-37938 is a vulnerability discovered in the Linux kernel's tracing system, disclosed on May 20, 2025. The vulnerability affects the Linux kernel's tracing subsystem and specifically involves the trace event verifier's handling of event formats containing '%*p..' patterns (NVD, Wiz).

Technical details

The vulnerability exists in the trace event verifier which checks formats of trace events to ensure they don't reference memory that could be freed before the event is read. The verifier runs at boot time or module load and scans the print formats of events. When encountering formats using '%*p..', the verifier would ignore these patterns instead of properly validating them. The vulnerability has been assigned a CVSS 3.1 score of 7.0 with the vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (RedHat).

Impact

If exploited, this vulnerability could lead to kernel crashes by allowing events to read freed memory. This occurs when an event references data that was allocated during event triggering but is freed before the event is read, potentially causing system instability (NVD).

Mitigation and workarounds

The vulnerability has been resolved in the Linux kernel through patches that enhance the trace event verifier to properly validate event formats containing '%p..' patterns. The fix includes additional verification for these format specifiers and adds sample code demonstrating the proper use of '%pbl' (NVD).

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