CVE-2026-98631
xsk: Use a 32-bit compare in xsk_map_gen_lookup
Check your servers for CVE-2026-98631
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98631 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.8% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e65650f291ee72fc578d6346080fc4699204ef2c, before c6d5c582d55a8f229d75e98d62eaa065b0deb18d affected from e65650f291ee72fc578d6346080fc4699204ef2c, before 227ec890559e922e235eb543646e3bf0bd8269b0 affected from e65650f291ee72fc578d6346080fc4699204ef2c, before 11d9be35c1f4233798e99be98bc474f83a254c6c affected from e65650f291ee72fc578d6346080fc4699204ef2c, before 123f90f394ca404ab8796a7c8072ff7fa5b65a9c affected from e65650f291ee72fc578d6346080fc4699204ef2c, before 36461e58f88a1b723f86693f437ac12e60ff4363 affected from e65650f291ee72fc578d6346080fc4699204ef2c, before b5c0cff0c5331582ab01c4c423731453a8381acc affected from e65650f291ee72fc578d6346080fc4699204ef2c, before 3c1e0a4bc156b8d5c5772dbc76b9ea74dce5ca24 affected from e65650f291ee72fc578d6346080fc4699204ef2c, before 70504de0bb627848667207bec7ccfd647deb8814
Other versions: unaffected
|
| Linux |
affected 5.5 unaffected before 5.5 unaffected from 5.10.271 up to and including 5.10.* unaffected from 5.15.222 up to and including 5.15.* unaffected from 6.1.189 up to and including 6.1.* unaffected from 6.6.158 up to and including 6.6.* unaffected from 6.12.112 up to and including 6.12.* unaffected from 6.18.55 up to and including 6.18.* unaffected from 7.2.9 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98631 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98631
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98631
trivy image --scanners vuln IMAGE | grep CVE-2026-98631
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/c6d5c582d55a8f229d75e98d62eaa065b0deb18d git.kernel.org
- https://git.kernel.org/stable/c/227ec890559e922e235eb543646e3bf0bd8269b0 git.kernel.org
- https://git.kernel.org/stable/c/11d9be35c1f4233798e99be98bc474f83a254c6c git.kernel.org
- https://git.kernel.org/stable/c/123f90f394ca404ab8796a7c8072ff7fa5b65a9c git.kernel.org
- https://git.kernel.org/stable/c/36461e58f88a1b723f86693f437ac12e60ff4363 git.kernel.org
- https://git.kernel.org/stable/c/b5c0cff0c5331582ab01c4c423731453a8381acc git.kernel.org
- https://git.kernel.org/stable/c/3c1e0a4bc156b8d5c5772dbc76b9ea74dce5ca24 git.kernel.org
- https://git.kernel.org/stable/c/70504de0bb627848667207bec7ccfd647deb8814 git.kernel.org
Source: the record CVE-2026-98631 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse