7.8

CVE-2024-38564: bpf: Add BPF_PROG_TYPE_CGROUP_SKB attach type enforcement in BPF_LINK_CREATE

Modified
AliasesRHSA-2024:10945RHSA-2024:10946UBUNTU-CVE-2024-38564
Published 19-06-2024Last modified 27-10-2026

Vulnerability summary

CVE-2024-38564 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 15% 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.24%
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 23 · Related 15

Timeline

  1. 19-06-2024
    PublishedVulnerability first disclosed.
  2. 27-10-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Add BPF_PROG_TYPE_CGROUP_SKB attach type enforcement in BPF_LINK_CREATE bpf_prog_attach uses attach_type_to_prog_type to enforce proper attach type for BPF_PROG_TYPE_CGROUP_SKB. link_create uses bpf_prog_get and relies on bpf_prog_attach_check_attach_type to properly verify prog_type <> attach_type association. Add missing attach_type enforcement for the link_create case. Otherwise, it's currently possible to attach cgroup_skb prog types to other cgroup hooks.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

0.24%

Chance of exploitation in the next 30 days

Percentile

15%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.24% on 04-10-2026

04-10-202603-11-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

No weakness data has been published for this record.

Affected systems

Version check

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

Ubuntu117 products
  • linuxAll versions (No fix recorded) | < 6.8.0-40.40
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 6.8.0-1013.14
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Redhat75 products
  • bpftool< 0:7.0.0-284.96.1.el9_2
  • bpftool-debuginfo< 0:7.0.0-284.96.1.el9_2
  • kernel< 0:5.14.0-284.96.1.el9_2
  • kernel-64k< 0:5.14.0-284.96.1.el9_2
  • kernel-64k-core< 0:5.14.0-284.96.1.el9_2
Linux2 products
  • linux≥ 3505cb9fa26cfec9512744466e754a8cbc2365b0, < 6675c541f540a29487a802d3135280b69b9f568d | ≥ 3505cb9fa26cfec9512744466e754a8cbc2365b0, < 67929e973f5a347f05fef064fea4ae79e7cdb5fd | ≥ 3505cb9fa26cfec9512744466e754a8cbc2365b0, < b34bbc76651065a5eafad8ddff1eb8d1f8473172 | ≥ 3505cb9fa26cfec9512744466e754a8cbc2365b0, < 543576ec15b17c0c93301ac8297333c7b6e84ac7 | 6.6
  • linux_kernel≥ 5.10, < 6.6.33 | ≥ 6.7, < 6.8.12 | ≥ 6.9, < 6.9.3
Debian1 product
  • linuxAll versions (No fix recorded) | < 6.8.12-1

4 vendors · 195 products

References

22 links
Show all 22 references