CVE-2026-98631
kernel: xsk: Use a 32-bit compare in xsk_map_gen_lookup
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. A local attacker can cause a Denial of Service (DoS) or potentially expose sensitive memory by triggering an out-of-bounds read in the Berkeley Packet Filter (BPF) socket map implementation. This issue occurs because socket map lookups perform a 64-bit comparison on 32-bit keys, allowing out-of-range index values to bypass bounds checking when maps are configured with large entry limits.
Statement
This flaw is rated as Moderate impact because successful exploitation requires elevated privileges, such as CAP_BPF or CAP_NET_ADMIN, to create and manipulate AF_XDP socket maps. In typical Red Hat Enterprise Linux environments, unprivileged users cannot define these specialized networking maps with the exceptionally high entry counts needed to trigger the flaw. Therefore, the blast radius is restricted to local privileged accounts where an abnormal bounds evaluation during lookups can result in a kernel crash and 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.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
CWE-125 · Out-of-bounds Read