PT-2025-36283
CVE-2025-39689
·
Published
2025-01-01
·
Updated
2026-10-18
Description by
CVSS 3.1
7.8
HighMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The Linux kernel contains a flaw in its ftrace functionality where the reader of filter files does not allocate and copy the hash, leading to a use-after-free (UAF) condition. Specifically, the reader of
set ftrace filter and set ftrace notrace keeps a pointer to filter hashes without allocating a copy, unlike the writer. This can cause issues when the global tracer hashes are updated while locks are released. Allocating and copying the hash for reading filter files, similar to the writer, resolves the UAF bugs and simplifies the code.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾