CVE-2026-98588
kernel: bpf, sockmap: Reject max_entries > INT_MAX in sock_map_alloc
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 18, 2026
Updated · October 30, 2026
Description
A flaw was found in the Linux kernel's Berkeley Packet Filter (BPF) subsystem. When allocating a socket map with an excessively large entry count, a signed integer overflow occurs during cleanup when the map is released. A local user with permission to create BPF maps can trigger this issue to cause an out-of-bounds memory write, leading to kernel memory corruption or a Denial of Service (DoS) through a system crash.
Statement
This vulnerability is rated as Moderate impact for Red Hat Enterprise Linux because exploitation requires elevated administrative privileges to create BPF maps, as well as an extraordinarily large host memory allocation to trigger the condition. By default, unprivileged access to the eBPF subsystem is restricted on Red Hat platforms, preventing standard local users from instantiating socket maps. Even in environments where an attacker holds the necessary capabilities, inducing the bug requires exhausting tens of gigabytes of kernel memory to initiate the malformed cleanup, limiting the impact to kernel corruption or a denial of service.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 4.1CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
CWE-124 · Buffer Underwrite ('Buffer Underflow')