7.8

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

Modified
AliasesUBUNTU-CVE-2024-56675DEBIAN-CVE-2024-56675
Published 27-12-2024Last modified 11-05-2026

Vulnerability summary

CVE-2024-56675 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 14.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.23%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 27 · Related 24

Timeline

  1. 27-12-2024
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix UAF via mismatching bpf_prog/attachment RCU flavors Uprobes always use bpf_prog_run_array_uprobe() under tasks-trace-RCU protection. But it is possible to attach a non-sleepable BPF program to a uprobe, and non-sleepable BPF programs are freed via normal RCU (see __bpf_prog_put_noref()). This leads to UAF of the bpf_prog because a normal RCU grace period does not imply a tasks-trace-RCU grace period. Fix it by explicitly waiting for a tasks-trace-RCU grace period after removing the attachment of a bpf_prog to a perf_event.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.23%

Chance of exploitation in the next 30 days

Percentile

15%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.23% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu105 products
  • linux< 6.8.0-60.63
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 6.8.0-1029.31
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 8c7dcb84e3b744b2b70baa7a44a9b1881c33a9c9, < 9245459a992d22fe0e92e988f49db1fec82c184a | ≥ 8c7dcb84e3b744b2b70baa7a44a9b1881c33a9c9, < f9f85df30118f3f4112761e6682fc60ebcce23e5 | ≥ 8c7dcb84e3b744b2b70baa7a44a9b1881c33a9c9, < 9b53d2c2a38a1effc341d99be3f99fa7ef17047d | ≥ 8c7dcb84e3b744b2b70baa7a44a9b1881c33a9c9, < ef1b808e3b7c98612feceedf985c2fbbeb28f956 | 6.0
  • linux_kernel≥ 6.0, < 6.1.121 | ≥ 6.2, < 6.6.67 | ≥ 6.7, < 6.12.6 | 6.13:rc1 | 6.13:rc2
Debian1 product
  • linux< 6.1.123-1 | < 6.12.6-1

3 vendors · 108 products

References

26 links
Show all 26 references