CVE-2024-38564: bpf: Add BPF_PROG_TYPE_CGROUP_SKB attach type enforcement in BPF_LINK_CREATE
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.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 23 · Related 15Timeline
- 19-06-2024PublishedVulnerability first disclosed.
- 27-10-2026Last 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- OSV · Red hatEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
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
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
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