CVE-2024-38564
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| rhel | 9 | fixed | |
| rocky | 8 | fixed | |
| sles | affected | | |
| debian | bookworm | affected | |
| debian | bullseye | affected | |
| debian | forky | fixed | 6.8.12-1 |
| debian | sid | fixed | 6.8.12-1 |
| debian | trixie | fixed | 6.8.12-1 |
| almalinux | 9 | fixed | rv-5.14.0-503.19.1.el9_5.aarch64.rpm |
References
- https://access.redhat.com/errata/RHSA-2024:11486
- https://errata.rockylinux.org/RLSA-2024:10282
- https://errata.rockylinux.org/RLSA-2024:10281
- https://www.suse.com/security/cve/CVE-2024-38564.html
- https://security-tracker.debian.org/tracker/CVE-2024-38564
- https://access.redhat.com/errata/RHSA-2024:10282
- https://bugzilla.redhat.com/2278445
- https://bugzilla.redhat.com/2293429
- https://errata.almalinux.org/8/ALSA-2024-10282.html
- https://bugzilla.redhat.com/2280462
- https://bugzilla.redhat.com/2311717
- https://bugzilla.redhat.com/2312085
- https://bugzilla.redhat.com/2320254
- https://bugzilla.redhat.com/2320517
- https://bugzilla.redhat.com/2323904
- https://bugzilla.redhat.com/2323930
- https://bugzilla.redhat.com/2323937
- https://bugzilla.redhat.com/2323944
- https://bugzilla.redhat.com/2323955
- https://bugzilla.redhat.com/2324315
- https://bugzilla.redhat.com/2324332
- https://bugzilla.redhat.com/2324612
- https://bugzilla.redhat.com/2324867
- https://bugzilla.redhat.com/2324868
- https://bugzilla.redhat.com/2324892
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.