CVE-2024-38564
linux kernel BPF Cgroup Skb Attach Type Enforcement 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.
INFO
Published Date :
June 19, 2024, 2:15 p.m.
Last Modified :
Nov. 21, 2024, 9:26 a.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
Exploitability Score :
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-38564
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-38564
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-38564
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/543576ec15b17c0c93301ac8297333c7b6e84ac7 Added Reference https://git.kernel.org/stable/c/6675c541f540a29487a802d3135280b69b9f568d Added Reference https://git.kernel.org/stable/c/67929e973f5a347f05fef064fea4ae79e7cdb5fd Added Reference https://git.kernel.org/stable/c/b34bbc76651065a5eafad8ddff1eb8d1f8473172 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 27, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 19, 2024
Action Type Old Value New Value Added 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. Added Reference kernel.org https://git.kernel.org/stable/c/6675c541f540a29487a802d3135280b69b9f568d [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/67929e973f5a347f05fef064fea4ae79e7cdb5fd [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/b34bbc76651065a5eafad8ddff1eb8d1f8473172 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/543576ec15b17c0c93301ac8297333c7b6e84ac7 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-38564
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-38564
weaknesses.