CVE-2026-98631

published 18 Oct 2026 · updated 20 Nov 2026

xsk: Use a 32-bit compare in xsk_map_gen_lookup

6.0MediumCVSS 6.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel c6d5c582d55a8f229d75e98d62eaa065b0deb18d, Kernel 11d9be35c1f4233798e99be98bc474f83a254c6c, Kernel 123f90f394ca404ab8796a7c8072ff7fa5b65a9c and 12 more.

In the Linux kernel, the following vulnerability has been resolved: xsk: Use a 32-bit compare in xsk_map_gen_lookup xsk_map_gen_lookup() loads a u32 key and compares it with max_entries using BPF_JMP_IMM. BPF immediates are sign-extended to 64 bits, so a max_entries value of 0x80000000 or higher becomes a threshold larger than every zero-extended 32-bit key. An out-of-range index then skips the bounds check and the generated lookup reads past xsk_map[]. Compare with BPF_JMP32_IMM so the check stays in 32-bit unsigned range.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=e65650f291ee72fc578d6346080fc4699204ef2c <c6d5c582d55a8f229d75e98d62eaa065b0deb18d, >=e65650f291ee72fc578d6346080fc4699204ef2c <11d9be35c1f4233798e99be98bc474f83a254c6c, >=e65650f291ee72fc578d6346080fc4699204ef2c <123f90f394ca404ab8796a7c8072ff7fa5b65a9c, >=e65650f291ee72fc578d6346080fc4699204ef2c <227ec890559e922e235eb543646e3bf0bd8269b0, >=e65650f291ee72fc578d6346080fc4699204ef2c <36461e58f88a1b723f86693f437ac12e60ff4363, >=e65650f291ee72fc578d6346080fc4699204ef2c <3c1e0a4bc156b8d5c5772dbc76b9ea74dce5ca24, >=e65650f291ee72fc578d6346080fc4699204ef2c <70504de0bb627848667207bec7ccfd647deb8814, >=e65650f291ee72fc578d6346080fc4699204ef2c <b5c0cff0c5331582ab01c4c423731453a8381acc, =5.5c6d5c582d55a8f229d75e98d62eaa065b0deb18d, 11d9be35c1f4233798e99be98bc474f83a254c6c, 123f90f394ca404ab8796a7c8072ff7fa5b65a9c, 227ec890559e922e235eb543646e3bf0bd8269b0, 36461e58f88a1b723f86693f437ac12e60ff4363, 3c1e0a4bc156b8d5c5772dbc76b9ea74dce5ca24, 70504de0bb627848667207bec7ccfd647deb8814, b5c0cff0c5331582ab01c4c423731453a8381acc
linux-kernel: Kernel>=5.16.0 <6.1.189, >=5.5.0 <5.10.271, >=6.13.0 <6.18.55, >=6.19.0 <7.2.9, >=6.2.0 <6.6.158, >=6.7.0 <6.12.112, >=5.11.0 <5.15.2226.1.189, 5.10.271, 6.18.55, 7.2.9, 6.6.158, 6.12.112, 5.15.222

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-98631 severity on Zeptric[![CVE-2026-98631](https://zeptric.io/badge/cve/CVE-2026-98631.svg)](https://zeptric.io/cve/CVE-2026-98631)