CVE-2026-98631

xsk: Use a 32-bit compare in xsk_map_gen_lookup

Description

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.

Key facts

Published
18 Oct 2026
Last changed
19 Oct 2026
Assigned by
Linux
EPSS
0.21% likely to be exploited in the next 30 days, higher than 11.302% of CVEs (scores for 18 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • e65650f291ee72fc578d6346080fc4699204ef2c up to but excluding c6d5c582d55a8f229d75e98d62eaa065b0deb18d (affected)
  • e65650f291ee72fc578d6346080fc4699204ef2c up to but excluding 227ec890559e922e235eb543646e3bf0bd8269b0 (affected)
  • e65650f291ee72fc578d6346080fc4699204ef2c up to but excluding 11d9be35c1f4233798e99be98bc474f83a254c6c (affected)
  • e65650f291ee72fc578d6346080fc4699204ef2c up to but excluding 123f90f394ca404ab8796a7c8072ff7fa5b65a9c (affected)
  • e65650f291ee72fc578d6346080fc4699204ef2c up to but excluding 36461e58f88a1b723f86693f437ac12e60ff4363 (affected)
  • e65650f291ee72fc578d6346080fc4699204ef2c up to but excluding b5c0cff0c5331582ab01c4c423731453a8381acc (affected)
  • e65650f291ee72fc578d6346080fc4699204ef2c up to but excluding 3c1e0a4bc156b8d5c5772dbc76b9ea74dce5ca24 (affected)
  • e65650f291ee72fc578d6346080fc4699204ef2c up to but excluding 70504de0bb627848667207bec7ccfd647deb8814 (affected)
LinuxLinux
  • Default status: affected
  • 5.5 (affected)
  • 0 up to but excluding 5.5 (unaffected)
  • 5.10.271 up to and including 5.10.* (unaffected)
  • 5.15.222 up to and including 5.15.* (unaffected)
  • 6.1.189 up to and including 6.1.* (unaffected)
  • 6.6.158 up to and including 6.6.* (unaffected)
  • 6.12.112 up to and including 6.12.* (unaffected)
  • 6.18.55 up to and including 6.18.* (unaffected)
  • 7.2.9 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 18 Oct 2026 Published

References