Local system crash via stale tracer private data
Published Apr 16, 2025 · Updated Aug 5, 2026
Use-after-free in Linux kernel tracing allows local users to crash the system by switching tracers while trace output is being read. During print_trace_line, tracer switching updates iter->trace->print_line but leaves event->funcs->trace using the old tracer after graph_trace_close frees iter->private without clearing it. A local user with access to tracing must read trace output while switching from function_graph to timerlat; dereferencing the stale pointer can crash the host.
Summary
What happened
Use-after-free in Linux kernel tracing allows local users to crash the system by switching tracers while trace output is being read. During print_trace_line, tracer switching updates iter->trace->print_line but leaves event->funcs->trace using the old tracer after graph_trace_close frees iter->private without clearing it. A local user with access to tracing must read trace output while switching from function_graph to timerlat; dereferencing the stale pointer can crash the host.
The record
- CVE
- CVE-2025-22035
- Published
- Apr 16, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 16, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=05319d707732c728eb721ac616a50e7978eb499a <42561fe62c3628ea3bc9623f64f047605e98857f
- Affected versionversion=2242640e9bd94e706acf75c60a2ab1d0e150e0fb
- Affected versionversion=2cb0c037c927db4ec928cc927488e52aa359786e <a2cce54c1748216535dda02e185d07a084be837e
- Affected versionversion=4.14.324 <4.15
- Affected versionversion=4.19.293 <4.20
- Affected versionversion=5.10.193 <5.10.236
- Affected versionversion=5.15.129 <5.15.180
- Affected versionversion=5.4.255 <5.4.292
- Affected versionversion=5d433eda76b66ab271f5924b26ddfec063eeb454
- Affected versionversion=6.1.50 <6.1.134
- Affected versionversion=6.4.13 <6.5
- Affected versionversion=6.5
- Affected versionversion=b8205dfed68183dc1470e83863c5ded6d7fa30a9 <de7b309139f862a44379ecd96e93c9133c69f813
- Affected versionversion=ce6e2b14bc094866d9173db6935da2d752f06d8b <81a85b12132c8ffe98f5ddbdc185481790aeaa1b
- Affected versionversion=d6b35c9a8d51032ed9890431da3ae39fe76c1ae3
- Affected versionversion=eecb91b9f98d6427d4af5fdb8f108f52572a39e7 <099ef3385800828b74933a96c117574637c3fb3a
- Affected versionversion=eecb91b9f98d6427d4af5fdb8f108f52572a39e7 <70be951bc01e4a0e10d443f3510bb17426f257fb
- Affected versionversion=eecb91b9f98d6427d4af5fdb8f108f52572a39e7 <7f81f27b1093e4895e87b74143c59c055c3b1906
- Affected versionversion=eecb91b9f98d6427d4af5fdb8f108f52572a39e7 <c85efe6e13743cac6ba4ccf144cb91f44c86231a
- Affected versionversion=eecb91b9f98d6427d4af5fdb8f108f52572a39e7 <f14752d66056d0c7bffe5092130409417d3baa70
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo