Kernel memory corruption via BPF uprobe UAF
Published Dec 27, 2024 · Updated May 11, 2026
Use-after-free in Linux kernel BPF uprobe handling from 6.0 allows local users to corrupt kernel memory through attached BPF programs. Uprobes run under tasks-trace RCU, but detachment freed non-sleepable bpf_prog objects after only a normal RCU grace period, allowing later uprobe execution to dereference freed memory. Reachability requires permission to load and attach a BPF program to a uprobe; successful reuse can crash the kernel or compromise kernel memory.
Summary
What happened
Use-after-free in Linux kernel BPF uprobe handling from 6.0 allows local users to corrupt kernel memory through attached BPF programs. Uprobes run under tasks-trace RCU, but detachment freed non-sleepable bpf_prog objects after only a normal RCU grace period, allowing later uprobe execution to dereference freed memory. Reachability requires permission to load and attach a BPF program to a uprobe; successful reuse can crash the kernel or compromise kernel memory.
The record
- CVE
- CVE-2024-56675
- Published
- Dec 27, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 27, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 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=6.0
- Affected versionversion=8c7dcb84e3b744b2b70baa7a44a9b1881c33a9c9 <9245459a992d22fe0e92e988f49db1fec82c184a
- Affected versionversion=8c7dcb84e3b744b2b70baa7a44a9b1881c33a9c9 <9b53d2c2a38a1effc341d99be3f99fa7ef17047d
- Affected versionversion=8c7dcb84e3b744b2b70baa7a44a9b1881c33a9c9 <ef1b808e3b7c98612feceedf985c2fbbeb28f956
- Affected versionversion=8c7dcb84e3b744b2b70baa7a44a9b1881c33a9c9 <f9f85df30118f3f4112761e6682fc60ebcce23e5
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