{"id":"CVE-2024-38564","published":"2024-06-19T13:35:32Z","modified":"2026-10-27T15:53:48Z","title":"bpf: Add BPF_PROG_TYPE_CGROUP_SKB attach type enforcement in BPF_LINK_CREATE","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Add BPF_PROG_TYPE_CGROUP_SKB attach type enforcement in BPF_LINK_CREATE\n\nbpf_prog_attach uses attach_type_to_prog_type to enforce proper\nattach type for BPF_PROG_TYPE_CGROUP_SKB. link_create uses\nbpf_prog_get and relies on bpf_prog_attach_check_attach_type\nto properly verify prog_type <> attach_type association.\n\nAdd missing attach_type enforcement for the link_create case.\nOtherwise, it's currently possible to attach cgroup_skb prog\ntypes to other cgroup hooks.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00237,"percentile":0.14788,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/6675c541f540a29487a802d3135280b69b9f568d","tags":[]},{"url":"https://git.kernel.org/stable/c/67929e973f5a347f05fef064fea4ae79e7cdb5fd","tags":[]},{"url":"https://git.kernel.org/stable/c/b34bbc76651065a5eafad8ddff1eb8d1f8473172","tags":[]},{"url":"https://git.kernel.org/stable/c/543576ec15b17c0c93301ac8297333c7b6e84ac7","tags":[]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":2.96},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 3505cb9fa26cfec9512744466e754a8cbc2365b0, < 6675c541f540a29487a802d3135280b69b9f568d",">= 3505cb9fa26cfec9512744466e754a8cbc2365b0, < 67929e973f5a347f05fef064fea4ae79e7cdb5fd",">= 3505cb9fa26cfec9512744466e754a8cbc2365b0, < b34bbc76651065a5eafad8ddff1eb8d1f8473172",">= 3505cb9fa26cfec9512744466e754a8cbc2365b0, < 543576ec15b17c0c93301ac8297333c7b6e84ac7"]},{"vendor":"Linux","product":"Linux","versions":["6.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-20T14:57:28.333210Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-37427","exploited":false,"provenance":"source"}}