Kernel control-flow hijack via inactive perf events
Published Sep 16, 2025 · Updated Sep 16, 2025
Use-after-free in Linux kernel perf event throttling in 6.16 through 6.16.4 allows local users to hijack kernel control flow. perf_event_throttle() and perf_event_unthrottle() start or stop an unscheduled disabled sibling whose hw.idx remains -1, leaving its hrtimer queued after the event is freed. An unprivileged process reaches the flaw through task-scoped perf_event_open() groups at the default paranoid setting, enabling kernel-memory disclosure or corruption, control-flow hijacking, and kernel crashes.
Summary
What happened
Use-after-free in Linux kernel perf event throttling in 6.16 through 6.16.4 allows local users to hijack kernel control flow. perf_event_throttle() and perf_event_unthrottle() start or stop an unscheduled disabled sibling whose hw.idx remains -1, leaving its hrtimer queued after the event is freed. An unprivileged process reaches the flaw through task-scoped perf_event_open() groups at the default paranoid setting, enabling kernel-memory disclosure or corruption, control-flow hijacking, and kernel crashes.
The record
- CVE
- CVE-2025-39821
- Published
- Sep 16, 2025
- Updated
- Sep 16, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-787, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 16, 2025CVE publishedPublication date reported by the CVE source.
- Sep 16, 2025Record 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=6.16
- Affected versionversion=9734e25fbf5ae68eb04234b2cd14a4b36ab89141 <b64fdd422a85025b5e91ead794db9d3ef970e369
- Affected versionversion=9734e25fbf5ae68eb04234b2cd14a4b36ab89141 <d689135aa9c5e4e0eab5a92bbe35dab0c8d6677f
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
- Linux CNA syzkaller reproducerproof of concept · demonstrated
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