CVEvulnerability
CVE-2024-36918
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-05-30
- Last modified
- 2026-08-04
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-190
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 configurations
• linux linux kernel (>= 5.16 < 6.1.91)
• linux linux kernel (>= 6.2 < 6.6.31)
• linux linux kernel (>= 6.7 < 6.8.10)
• linux linux kernel 6.9
Related
Weakness · CWE (1)
- CWE-190 Integer Overflow or Wraparound weakness
References
- https://git.kernel.org/stable/c/608e13706c8b6c658a0646f09ebced74ec367f7c Patch
- https://git.kernel.org/stable/c/a8d89feba7e54e691ca7c4efc2a6264fa83f3687 Patch
- https://git.kernel.org/stable/c/c418afb9bf23e2f2b76cb819601e4a5d9dbab42d Patch
- https://git.kernel.org/stable/c/fa6995eeb62e74b5a1480c73fb7b420c270784d3 Patch
- https://git.kernel.org/stable/c/608e13706c8b6c658a0646f09ebced74ec367f7c Patch
- https://git.kernel.org/stable/c/a8d89feba7e54e691ca7c4efc2a6264fa83f3687 Patch
- https://git.kernel.org/stable/c/c418afb9bf23e2f2b76cb819601e4a5d9dbab42d Patch
- https://git.kernel.org/stable/c/fa6995eeb62e74b5a1480c73fb7b420c270784d3 Patch