Live threats

All CVEs / Linux

CVE-2024-50253Linux Kernel

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
0.3%
probability of exploitation in 30 days · percentile 13
Auth required
Yes
Published
Nov 9, 2024
Updated
Aug 4, 2026
Category
Operating system · Linux
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

In the Linux kernel, the following vulnerability has been resolved: bpf: Check the validity of nr_words in bpf_iter_bits_new() Check the validity of nr_words in bpf_iter_bits_new(). Without this check, when multiplication overflow occurs for nr_bits (e.g., when nr_words = 0x0400-0001, nr_bits becomes 64), stack corruption may occur due to bpf_probe_read_kernel_common(..., nr_bytes = 0x2000-0008). Fix it by limiting the maximum value of nr_words to 511. The value is derived from the current implementation of BPF memory allocator. To ensure compatibility if the BPF memory allocator's size limitation changes in the future, use the helper bpf_mem_alloc_check_size() to check whether nr_bytes is too larger. And return -E2BIG instead of -ENOMEM for oversized nr_bytes.

Original NVD text.

What to do

  1. Apply the vendor's security update for Linux Kernel.

Affected products (CPE)

VendorProductVersions
linuxlinux_kernel≥ 6.11 < 6.11.7
linuxlinux_kernel6.12
linuxlinux_kernel6.12
linuxlinux_kernel6.12
linuxlinux_kernel6.12
linuxlinux_kernel6.12

Official sources

References

Links published by the sources. Open them with care.