Race Condition in Linux Kernel's ftrace Functionality
CVE-2025-39813
What is CVE-2025-39813?
A race condition in the ftrace functionality of the Linux kernel can lead to unexpected warnings during concurrent access to trace_pipe. The issue arises when ftrace_dump_one() is executed while another reader accesses the trace_pipe, resulting in a scenario where the trace iterator is not properly populated. This can trigger an unexpected condition due to simultaneous actions by different CPUs, leading to potential logging issues that could be exploited in specific circumstances. A patch has been implemented to ensure proper sequencing and prevent this race condition, enhancing the stability and reliability of kernel tracing.
Affected Version(s)
Linux d769041f865330034131525ee6a7f72eb4af2a24
Linux d769041f865330034131525ee6a7f72eb4af2a24 < 5ab0ec206deb99eb3baf8f1d7602aeaa91dbcc85
Linux d769041f865330034131525ee6a7f72eb4af2a24