CVE-2024-38564

CVE-2024-38564

High · published June 19, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
14.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00239 · 14.1th percentile
Published
2024-06-19T18:15Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel≥ 5.10, < 6.6.336.6.33
linux/linux_kernel≥ 6.7, < 6.8.126.8.12
linux/linux_kernel≥ 6.9, < 6.9.36.9.3
References (8)
EPSS history
Timeline
  • 19 JUN 13:35Z
    bpf: Add BPF_PROG_TYPE_CGROUP_SKB attach type enforcement in BPF_LINK_CREATE
    cvelistv5