Improper locking in Linux kernel - CVE-2024-50138
Published: November 5, 2024 / Updated: May 12, 2025
Vulnerability identifier: #VU99827
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-50138
CWE-ID: CWE-667
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel
Linux kernel
Detailed vulnerability description
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to improper locking within the bpf_ringbuf_alloc() and __bpf_ringbuf_reserve() functions in kernel/bpf/ringbuf.c. A local user can perform a denial of service (DoS) attack.
How to mitigate CVE-2024-50138
Install update from vendor's website.
Sources
- https://git.kernel.org/stable/c/5eb34999d118e69a20dc0c6556f315fcb0a1f8d3
- https://git.kernel.org/stable/c/ca30e682e5d6de44d12c4610767811c9a21d59ba
- https://git.kernel.org/stable/c/8b62645b09f870d70c7910e7550289d444239a46
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.115
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.11.6
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.84