
Cloud Vulnerability DB
A community-led vulnerabilities database
A vulnerability in the Linux kernel's ftrace functionality was discovered and assigned CVE-2025-39689. The issue was reported on September 5, 2025, and affects the filter file reading mechanism in the ftrace system. The vulnerability specifically impacts the setftracefilter and setftracenotrace functionality in the Linux kernel (NVD).
The vulnerability stems from how the reader of setftracefilter and setftracenotrace handles hash pointers. Instead of allocating a copy of the hash like the writer does, the reader maintains a pointer to the global tracer hashes. This pointer remains static across function calls that release locks, which can lead to potential Use-After-Free (UAF) vulnerabilities and similar memory-related bugs (NVD).
The vulnerability could potentially lead to Use-After-Free (UAF) conditions and similar memory corruption issues in the Linux kernel. These types of vulnerabilities can result in system instability, crashes, or potential security compromises (NVD).
The fix involves modifying the reader to allocate and copy the hash for reading filter files, similar to how writers handle the hash. This change not only addresses the UAF bugs but also simplifies the code by eliminating the need to differentiate between writers and readers when freeing the iterator's hash (NVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."