CVE-2024-38564: Linux kernel · bpf: Add BPF_PROG_TYPE_CGROUP_SKB attach type enforcement in BPF_LINK_CREATE
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 27 Oct 2026, 17:42 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 19 Jun 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: 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 26 Oct 2026.
What to do
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel by adding the missing attach_type enforcement in the BPF_LINK_CREATE path. Users and administrators should apply the official kernel updates that include this patch to remediate the issue. Since this is a kernel-level vulnerability, upgrading to a patched kernel version is the recommended mitigation. No alternative mitigations or workarounds are indicated.
Description
CVE-2024-38564 is a high-severity vulnerability in the Linux kernel related to the BPF (Berkeley Packet Filter) subsystem. It involves missing enforcement of the attach type for BPF_PROG_TYPE_CGROUP_SKB programs during BPF_LINK_CREATE operations. This flaw allows improper attachment of cgroup_skb program types to other cgroup hooks, which could lead to unauthorized or unintended behavior within the kernel's networking control mechanisms.
References
- git.kernel.org/stable/c/6675c541f540a29487a802d3135280b69b9f568d (opens in a new tab)
- git.kernel.org/stable/c/67929e973f5a347f05fef064fea4ae79e7cdb5fd (opens in a new tab)
- git.kernel.org/stable/c/b34bbc76651065a5eafad8ddff1eb8d1f8473172 (opens in a new tab)
- git.kernel.org/stable/c/543576ec15b17c0c93301ac8297333c7b6e84ac7 (opens in a new tab)