Linux eBPF Uprobe Use-After-Free Fixed in Stable Kernels and RHEL
Vulnerability Disclosure · 3 sources · Updated 3mo ago · First seen Nov 11, 2025

CVE-2024-56675 is a use-after-free flaw in Linux kernel eBPF tracing introduced in kernel 6.0. Non-sleepable BPF programs attached to uprobes could be freed after a normal RCU grace period while uprobe execution still accessed them under tasks-trace-RCU protection, creating an unsafe lifetime mismatch. The upstream fix waits for a tasks-trace-RCU grace period after removing the BPF attachment from its perf_event; fixed stable releases include 6.1.121, 6.6.67, 6.12.6, and 6.13-rc3.
Red Hat rated the issue Moderate (CVSS 6.7) because default RHEL configurations disable unprivileged eBPF, requiring CAP_SYS_ADMIN or root privileges to exploit it. Fixes are available for RHEL 9 and RHEL 10 through RHSA-2025:20518 and RHSA-2025:20095, respectively; RHEL 9 kernel-rt remains affected, while RHEL 6, RHEL 8, and RHEL 8 kernel-rt are not affected. Organizations should deploy the applicable kernel update, with particular attention to systems where privileged users can load or attach eBPF programs.
Why it matters
Impact assessment
CVE-2024-56675 exposes Linux systems running kernels derived from version 6.0 onward to a kernel-space use-after-free condition in eBPF uprobe tracing. Successful exploitation can cause denial of service, kernel memory disclosure or corruption, and potentially privileged code execution; however, default RHEL configurations substantially limit exposure by disabling unprivileged eBPF.
- Affected populations: Linux hosts using eBPF tracing with uprobe attachments, particularly systems that permit non-root eBPF use or grant users/containers
CAP_SYS_ADMIN. - Severity: Red Hat rates the issue Moderate, CVSS 6.7 (
AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H). NVD/CVE.org score it 7.8 and characterize privileges required as Low. - Exposure scope: Broad at the upstream kernel level, but exploitation is local and requires the ability to load and attach an eBPF program. On default RHEL, exploitation requires root or
CAP_SYS_ADMINbecause unprivileged eBPF is disabled. - Known exploitation: The supplied references do not report exploitation in the wild.
- RHEL status: RHEL 9 and RHEL 10 have vendor fixes. RHEL 9 kernel-rt remains affected. RHEL 6, RHEL 8, and RHEL 8 kernel-rt are not affected. RHEL 7 and RHEL 7 kernel-rt are out of support and should be treated as potentially affected pending verification.


