Vulnerabilities · 2024 · Linux
CVE-2024-38564
Linux Kernel vulnerability
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.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/543576ec15b17c0c93301ac8297333c7b6e84ac7 · Patch
- git.kernel.org/stable/c/6675c541f540a29487a802d3135280b69b9f568d · Patch
- git.kernel.org/stable/c/67929e973f5a347f05fef064fea4ae79e7cdb5fd · Patch
- git.kernel.org/stable/c/b34bbc76651065a5eafad8ddff1eb8d1f8473172 · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-38564
- cve.org/CVERecord?id=CVE-2024-38564
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.