CVE-2026-98631: Linux
EPSS: 0.2% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Linux, from 5.5, before 5.10.271: fixed in 5.10.271
- Linux, from 5.11, before 5.15.222: fixed in 5.15.222
- Linux, from 5.16, before 6.1.189: fixed in 6.1.189
- Linux, from 6.2, before 6.6.158: fixed in 6.6.158
- Linux, from 6.7, before 6.12.112: fixed in 6.12.112
- Linux, from 6.13, before 6.18.55: fixed in 6.18.55
- Linux, from 6.19, before 7.2.9: fixed in 7.2.9
Affected products
- Linux Linux: from 5.5, before 5.10.271 (fixed in 5.10.271); from 5.11, before 5.15.222 (fixed in 5.15.222); from 5.16, before 6.1.189 (fixed in 6.1.189); from 6.2, before 6.6.158 (fixed in 6.6.158); from 6.7, before 6.12.112 (fixed in 6.12.112); from 6.13, before 6.18.55 (fixed in 6.18.55); …
Published 2026-10-18. Last modified 2026-10-19.