Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.10, < 6.6.33 |
References
- https://git.kernel.org/stable/c/543576ec15b17c0c93301ac8297333c7b6e84ac7Patch
- https://git.kernel.org/stable/c/6675c541f540a29487a802d3135280b69b9f568dPatch
- https://git.kernel.org/stable/c/67929e973f5a347f05fef064fea4ae79e7cdb5fdPatch
- https://git.kernel.org/stable/c/b34bbc76651065a5eafad8ddff1eb8d1f8473172Patch
- https://git.kernel.org/stable/c/543576ec15b17c0c93301ac8297333c7b6e84ac7Patch
- https://git.kernel.org/stable/c/6675c541f540a29487a802d3135280b69b9f568dPatch
- https://git.kernel.org/stable/c/67929e973f5a347f05fef064fea4ae79e7cdb5fdPatch
- https://git.kernel.org/stable/c/b34bbc76651065a5eafad8ddff1eb8d1f8473172Patch
FAQ
What is CVE-2024-38564?
CVE-2024-38564 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 enfo...
How severe is CVE-2024-38564?
CVE-2024-38564 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-38564?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.