CVE-2024-56675: Linux kernel · bpf: Fix UAF via mismatching bpf_prog/attachment RCU flavors
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 30 Oct 2026, 00:53 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel by adding explicit waiting for a tasks-trace-RCU grace period after detaching the BPF program. Users should apply the official kernel patches or update to a fixed kernel version once available. Since no specific fixed versions are provided, check the vendor or kernel mailing list advisories for the exact patched releases.
Description
CVE-2024-56675 is a use-after-free (UAF) vulnerability in the Linux kernel's BPF subsystem caused by mismatched RCU (Read-Copy-Update) flavors when detaching BPF programs from uprobes. This flaw allows a non-sleepable BPF program to be freed incorrectly, leading to potential memory corruption. The vulnerability has a high severity with a CVSS score of 7.8.
References
- nvd.nist.gov/vuln/detail/CVE-2024-56675 (opens in a new tab)
- git.kernel.org/stable/c/9245459a992d22fe0e92e988f49db1fec82c184a (opens in a new tab)
- git.kernel.org/stable/c/9b53d2c2a38a1effc341d99be3f99fa7ef17047d (opens in a new tab)
- git.kernel.org/stable/c/ef1b808e3b7c98612feceedf985c2fbbeb28f956 (opens in a new tab)
- git.kernel.org/stable/c/f9f85df30118f3f4112761e6682fc60ebcce23e5 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)