CVE-2024-38564
Vulnerability Summary
Timeline
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 Metrics
- v3.1•MEDIUM•Score: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- v3.1•MEDIUM•Score: 4.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 0.24%• Percentile: 15%
Affected Systems
- debian•linux
all | all | < 6.8.12-1 | < 6.8.12-1
- ubuntu•linux
all | < 6.8.0-40.40
- ubuntu•linux-allwinner-5.19
all
- ubuntu•linux-aws
all | < 6.8.0-1013.14
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.15
all
- ubuntu•linux-aws-5.19
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-6.2
all
- ubuntu•linux-aws-6.5
all
- ubuntu•linux-aws-6.8
< 6.8.0-1013.14~22.04.1
- ubuntu•linux-aws-fips
all
- ubuntu•linux-azure
all | all | < 6.8.0-1012.14
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.15
all
- ubuntu•linux-azure-5.19
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-6.2
all
- ubuntu•linux-azure-6.5
all
- ubuntu•linux-azure-6.8
< 6.8.0-1012.14~22.04.1
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all | all
- ubuntu•linux-azure-fde-5.19
all
- ubuntu•linux-azure-fde-6.2
all
- ubuntu•linux-azure-fips
all
- ubuntu•linux-bluefield
all
- ubuntu•linux-fips
all | < 6.8.0-78.78+fips1
- ubuntu•linux-gcp
all | all | < 6.8.0-1012.13
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.15
all
- ubuntu•linux-gcp-5.19
all
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-6.2
all
- ubuntu•linux-gcp-6.5
all
- ubuntu•linux-gcp-6.8
< 6.8.0-1012.13~22.04.1
- ubuntu•linux-gcp-fips
all
- ubuntu•linux-gke
all | all | < 6.8.0-1008.11
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.15
all
- ubuntu•linux-gke-5.4
all
- ubuntu•linux-gkeop
all
- ubuntu•linux-gkeop-5.15
all
- ubuntu•linux-gkeop-5.4
all
Showing first 50 affected entries in server-rendered view.
References (22)
- https://git.kernel.org/stable/c/6675c541f540a29487a802d3135280b69b9f568d
- https://git.kernel.org/stable/c/67929e973f5a347f05fef064fea4ae79e7cdb5fd
- https://git.kernel.org/stable/c/b34bbc76651065a5eafad8ddff1eb8d1f8473172
- https://git.kernel.org/stable/c/543576ec15b17c0c93301ac8297333c7b6e84ac7
- https://access.redhat.com/errata/RHSA-2024:10945
- https://access.redhat.com/security/updates/classification/#low
- https://bugzilla.redhat.com/show_bug.cgi?id=2293429
- https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_10945.json
- https://access.redhat.com/security/cve/CVE-2024-38564
- https://www.cve.org/CVERecord?id=CVE-2024-38564
- https://nvd.nist.gov/vuln/detail/CVE-2024-38564
- https://lore.kernel.org/linux-cve-announce/2024061955-CVE-2024-38564-b069@gregkh/T
- https://access.redhat.com/errata/RHSA-2024:10946
- https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_10946.json
- https://ubuntu.com/security/CVE-2024-38564
- https://git.kernel.org/linus/543576ec15b17c0c93301ac8297333c7b6e84ac7
- https://ubuntu.com/security/notices/USN-6949-1
- https://ubuntu.com/security/notices/USN-6952-1
- https://ubuntu.com/security/notices/USN-6955-1
- https://ubuntu.com/security/notices/USN-6949-2
- https://ubuntu.com/security/notices/USN-6952-2
- https://security-tracker.debian.org/tracker/CVE-2024-38564