Skip to main content
Mallory
HighVulnerability

CVE-2024-56675: Linux Kernel BPF Uprobe Use-After-Free from Mismatched RCU Lifetimes

Published Dec 27, 2024 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS0.32%18th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Linux
IdentifiersCVE-2024-56675CWE-416 · Use After Free

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
LinuxLinux Kerneloperating_system
FAQ

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.
Activity feed

Recent activity

7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+3 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.