Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2024-38564

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_att…

Vendor / product: Linux — linux kernel

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
5.5
5.5 (CVSS v3.1)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2024-06-19 14:15
Modified: 2026-10-27 16:17
NVD status: Modified
Last synced 1 day ago
Verified against the source API 2026-10-28 11:29 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

linux / linux_kernel ≥5.10 <6.6.33, ≥6.7 <6.8.12, ≥6.9 <6.9.3

Weakness classification (CWE)

NVD-CWE-noinfo

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Patch / mitigation: https://git.kernel.org/stable/c/543576ec15b17c0c93301ac8297333c7b6e84ac7
Patch / mitigation: https://git.kernel.org/stable/c/6675c541f540a29487a802d3135280b69b9f568d
Patch / mitigation: https://git.kernel.org/stable/c/67929e973f5a347f05fef064fea4ae79e7cdb5fd
Patch / mitigation: https://git.kernel.org/stable/c/b34bbc76651065a5eafad8ddff1eb8d1f8473172
Patch / mitigation: https://git.kernel.org/stable/c/543576ec15b17c0c93301ac8297333c7b6e84ac7
Patch / mitigation: https://git.kernel.org/stable/c/6675c541f540a29487a802d3135280b69b9f568d
Patch / mitigation: https://git.kernel.org/stable/c/67929e973f5a347f05fef064fea4ae79e7cdb5fd
Patch / mitigation: https://git.kernel.org/stable/c/b34bbc76651065a5eafad8ddff1eb8d1f8473172

References

Data sources

NVD CVE API 2.0 — fetched 2026-10-28 11:29 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs