CVE-2024-56675: Linux Kernel BPF Uprobe Use-After-Free from Mismatched RCU Lifetimes
- Vendor
- Linux
CVE-2024-56675 is a use-after-free vulnerability in the Linux kernel BPF tracing subsystem, introduced in Linux 6.0. Uprobes execute BPF programs through bpf_prog_run_array_uprobe() under tasks-trace-RCU protection, but attached non-sleepable BPF programs are freed through normal RCU by __bpf_prog_put_noref(). Because completion of a normal RCU grace period does not guarantee completion of a tasks-trace-RCU grace period, a BPF program can be freed while an in-flight uprobe execution still accesses it. The fix explicitly waits for a tasks-trace-RCU grace period after removing a BPF program attachment from a perf_event.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
The use-after-free can cause kernel memory corruption and system crashes or denial of service. Potential consequences also include kernel memory disclosure and unauthorized code execution, compromising confidentiality and integrity. Exploitability depends on access to the affected BPF and uprobe functionality; default RHEL configurations restrict this access to privileged users.
Mitigation
If you can’t patch tonight, do this now.
Disable unprivileged eBPF by setting kernel.unprivileged_bpf_disabled to 1 and restrict access to privileged BPF and tracing operations. RHEL disables unprivileged eBPF by default; verify that this restriction remains enabled. This reduces exposure to unprivileged users but does not eliminate the vulnerability for users with sufficient privileges.
Remediation
Patch, then assume compromise.
Update to a supported kernel containing the fix and reboot into the updated kernel. Upstream fixed releases include Linux 6.1.121, 6.6.67, 6.12.6, and 6.13-rc3; use the latest supported stable release rather than cherry-picking an individual fix. For distribution kernels, install the vendor's corresponding security update. RHEL 9 and RHEL 10 fixes are provided through RHSA-2025:20518 and RHSA-2025:20095, respectively; these updates should not be assumed to cover RHEL 9 kernel-rt.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2024-56675 exploited in the wild?
- As of Oct 26, 2026, Mallory has no reports of CVE-2024-56675 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2024-56675?
- As of Oct 26, 2026, Mallory has found no public exploit for CVE-2024-56675.
- Is there a patch for CVE-2024-56675?
- Update to a supported kernel containing the fix and reboot into the updated kernel. Upstream fixed releases include Linux 6.1.121, 6.6.67, 6.12.6, and 6.13-rc3; use the latest supported stable release rather than cherry-picking an individual fix.
- What products are affected by CVE-2024-56675?
- Linux Kernel.
- How severe is CVE-2024-56675?
- CVE-2024-56675 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.32% (18th percentile) as of Oct 26, 2026.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.