CVE-2024-36918
JSON

7.8high

bpf: Check bloom filter map value size

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.24% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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

Product or packageVersionsReported by
Linux Linuxfrom 9330986c03006ab1d33d243b7cfe598a7a3c1baa before fa6995eeb62e74b5a1480c73fb7b420c270784d3, from 9330986c03006ab1d33d243b7cfe598a7a3c1baa before 608e13706c8b6c658a0646f09ebced74ec367f7c, from 9330986c03006ab1d33d243b7cfe598a7a3c1baa before c418afb9bf23e2f2b76cb819601e4a5d9dbab42d, from 9330986c03006ab1d33d243b7cfe598a7a3c1baa before a8d89feba7e54e691ca7c4efc2a6264fa83f3687, 5.16
Not affected: before 5.16, from 6.1.91 up to 6.1.*, from 6.6.31 up to 6.6.*, from 6.8.10 up to 6.8.*, from 6.9 up to *
CVE List
linux linux_kernelfrom 5.16 before 6.1.91, from 6.2 before 6.6.31, from 6.7 before 6.8.10, 6.9NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-190

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: bpf: Verificar el tamaño del valor del mapa del filtro de floración. Este parche agrega una verificación faltante para la creación del filtro de floración, rechazando valores superiores a KMALLOC_MAX_SIZE. Esto alinea el mapa de floración con muchos otros tipos de mapas. La falta de esta protección puede provocar fallas del kernel para tamaños de valores que desbordan los de int. Syzkaller captó tal accidente. El siguiente parche agrega más barandillas en un nivel inferior.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-36918 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-36918 changed 2026-08-04Public domain