CVE-2024-36918

published 30 May 2024 · updated 5 Aug 2026

bpf: Check bloom filter map value size

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 608e13706c8b6c658a0646f09ebced74ec367f7c, Kernel a8d89feba7e54e691ca7c4efc2a6264fa83f3687, Kernel c418afb9bf23e2f2b76cb819601e4a5d9dbab42d and 1 more.

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 KMALLOC_MAX_SIZE. 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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.16, >=9330986c03006ab1d33d243b7cfe598a7a3c1baa <608e13706c8b6c658a0646f09ebced74ec367f7c, >=9330986c03006ab1d33d243b7cfe598a7a3c1baa <a8d89feba7e54e691ca7c4efc2a6264fa83f3687, >=9330986c03006ab1d33d243b7cfe598a7a3c1baa <c418afb9bf23e2f2b76cb819601e4a5d9dbab42d, >=9330986c03006ab1d33d243b7cfe598a7a3c1baa <fa6995eeb62e74b5a1480c73fb7b420c270784d3608e13706c8b6c658a0646f09ebced74ec367f7c, a8d89feba7e54e691ca7c4efc2a6264fa83f3687, c418afb9bf23e2f2b76cb819601e4a5d9dbab42d, fa6995eeb62e74b5a1480c73fb7b420c270784d3

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-36918 severity on Zeptric[![CVE-2024-36918](https://zeptric.io/badge/cve/CVE-2024-36918.svg)](https://zeptric.io/cve/CVE-2024-36918)