Skip to main content
Mallory
← Back to News
endpoint-software-vulnerabilitywidely-deployed-product-advisoryprivilege-escalation-method

Linux eBPF Uprobe Use-After-Free Fixed in Stable Kernels and RHEL

Vulnerability Disclosure · 3 sources · Updated 3mo ago · First seen Nov 11, 2025

Linux eBPF Uprobe Use-After-Free Fixed in Stable Kernels and RHEL

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_ADMIN because 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.
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · Nov 11, 2025
  1. Nov 11, 20251y ago

    Red Hat releases RHEL 9 and RHEL 10 kernel fixes

    Red Hat issued RHSA-2025:20095 for RHEL 10 and RHSA-2025:20518 for RHEL 9 to address CVE-2024-56675. RHEL 9 kernel-rt remained listed as affected.

    CVE-2024-56675 - Red Hat Customer Portal
  2. Reported Dec 27, 20242y ago

    Kernel stable releases receive tasks-trace-RCU fix

    Linux kernel fixes were made available in versions 6.1.121, 6.6.67, 6.12.6, and 6.13-rc3. The remediation explicitly waits for a tasks-trace-RCU grace period after removing a BPF program attachment from a perf event.

    CVE-2024-56675: bpf: Fix UAF via mismatching bpf_prog/attachment RCU flavors
  3. Reported Dec 27, 20242y ago

    Linux kernel CVE team assigns CVE-2024-56675

    The Linux kernel CVE team assigned CVE-2024-56675 to the BPF tracing use-after-free issue in kernel/trace/bpf_trace.c. The flaw can allow a BPF program freed after a normal RCU grace period to remain accessible on an uprobe path protected by tasks-trace-RCU.

    CVE-2024-56675: bpf: Fix UAF via mismatching bpf_prog/attachment RCU flavors
  4. Reported Dec 27, 20242y ago

    RCU lifetime flaw introduced in Linux kernel 6.0

    A change in Linux kernel 6.0 introduced mismatched normal-RCU and tasks-trace-RCU lifetime handling for BPF programs attached to uprobes, creating a potential use-after-free condition.

    CVE-2024-56675: bpf: Fix UAF via mismatching bpf_prog/attachment RCU flavors
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Red Hat Enterprise Linux
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.