CVE-2024-36918: bpf: Check bloom filter map value size
In the Linux kernel, the following vulnerability has been resolved:
bpf: Check bloom filter map value size
This patch adds a missing check to bloom filter creating, rejecting values above KMALLOCMAXSIZE. This brings the bloom map in line with many other map types.
The lack of this protection can cause kernel crashes for value sizes that overflow int's. Such a crash was caught by syzkaller. The next patch adds more guard-rails at a lower level.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.22-1Fixed in 6.12.25-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-36918?
CVE-2024-36918 has been classified as a high severity vulnerability due to potential exploitation risks in the Linux kernel.
How do I fix CVE-2024-36918?
To fix CVE-2024-36918, update the Linux kernel to one of the patched versions: 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.119-1, 6.12.11-1, or 6.12.12-1.
What is the impact of CVE-2024-36918?
The impact of CVE-2024-36918 can lead to denial of service or potentially arbitrary code execution if exploited.
Which versions of Linux are affected by CVE-2024-36918?
CVE-2024-36918 affects multiple versions of the Linux kernel prior to the mentioned patched releases.
What is the nature of CVE-2024-36918?
CVE-2024-36918 is related to a flaw in the BPF bloom filter map which lacked size checks, allowing unintended behaviors.