# CVE-2026-98631: xsk: Use a 32-bit compare in xsk\_map\_gen\_lookup

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-28)
- **Published:** 2026-10-18T15:19:53.529Z
- **Modified:** 2026-10-19T10:19:27.347Z

## Who should check

- Anyone running Linux \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< c6d5c582d55a8f229d75e98d62eaa065b0deb18d; \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< 227ec890559e922e235eb543646e3bf0bd8269b0; \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< 11d9be35c1f4233798e99be98bc474f83a254c6c; \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< 123f90f394ca404ab8796a7c8072ff7fa5b65a9c; \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< 36461e58f88a1b723f86693f437ac12e60ff4363; \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< b5c0cff0c5331582ab01c4c423731453a8381acc; \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< 3c1e0a4bc156b8d5c5772dbc76b9ea74dce5ca24; \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< 70504de0bb627848667207bec7ccfd647deb8814
- Anyone running Linux 5.5

## 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.

## Affected and fixed versions

- Linux: \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< c6d5c582d55a8f229d75e98d62eaa065b0deb18d; \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< 227ec890559e922e235eb543646e3bf0bd8269b0; \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< 11d9be35c1f4233798e99be98bc474f83a254c6c; \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< 123f90f394ca404ab8796a7c8072ff7fa5b65a9c; \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< 36461e58f88a1b723f86693f437ac12e60ff4363; \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< b5c0cff0c5331582ab01c4c423731453a8381acc; \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< 3c1e0a4bc156b8d5c5772dbc76b9ea74dce5ca24; \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< 70504de0bb627848667207bec7ccfd647deb8814 (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- Upgrade Linux to 70504de0bb627848667207bec7ccfd647deb8814 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98631. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98631.md
Affected: Linux >= e65650f291ee72fc578d6346080fc4699204ef2c, < c6d5c582d55a8f229d75e98d62eaa065b0deb18d; >= e65650f291ee72fc578d6346080fc4699204ef2c, < 227ec890559e922e235eb543646e3bf0bd8269b0; >= e65650f291ee72fc578d6346080fc4699204ef2c, < 11d9be35c1f4233798e99be98bc474f83a254c6c; >= e65650f291ee72fc578d634…
Fixed in: Linux 227ec890559e922e235eb543646e3bf0bd8269b0, Linux 11d9be35c1f4233798e99be98bc474f83a254c6c, Linux 123f90f394ca404ab8796a7c8072ff7fa5b65a9c, Linux 36461e58f88a1b723f86693f437ac12e60ff4363, Linux 3c1e0a4bc156b8d5c5772dbc76b9ea74dce5ca24, Linux 70504de0bb627848667207bec7ccfd647deb8814

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98631 being exploited?

There is no confirmed exploitation: CVE-2026-98631 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-98631?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98631?

Linux \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< c6d5c582d55a8f229d75e98d62eaa065b0deb18d; \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< 227ec890559e922e235eb543646e3bf0bd8269b0; \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< 11d9be35c1f4233798e99be98bc474f83a254c6c; \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< 123f90f394ca404ab8796a7c8072ff7fa5b65a9c; \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< 36461e58f88a1b723f86693f437ac12e60ff4363; \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< b5c0cff0c5331582ab01c4c423731453a8381acc; \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< 3c1e0a4bc156b8d5c5772dbc76b9ea74dce5ca24; \>= e65650f291ee72fc578d6346080fc4699204ef2c, \< 70504de0bb627848667207bec7ccfd647deb8814; Linux 5.5.

### Is there a fix for CVE-2026-98631?

Yes. Fixed in Linux 227ec890559e922e235eb543646e3bf0bd8269b0, Linux 11d9be35c1f4233798e99be98bc474f83a254c6c, Linux 123f90f394ca404ab8796a7c8072ff7fa5b65a9c, Linux 36461e58f88a1b723f86693f437ac12e60ff4363, Linux 3c1e0a4bc156b8d5c5772dbc76b9ea74dce5ca24, Linux 70504de0bb627848667207bec7ccfd647deb8814. Upgrade Linux to 70504de0bb627848667207bec7ccfd647deb8814 or later.

### How do I check if I'm affected by CVE-2026-98631?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/c6d5c582d55a8f229d75e98d62eaa065b0deb18d>
- other: <https://git.kernel.org/stable/c/227ec890559e922e235eb543646e3bf0bd8269b0>
- other: <https://git.kernel.org/stable/c/11d9be35c1f4233798e99be98bc474f83a254c6c>
- other: <https://git.kernel.org/stable/c/123f90f394ca404ab8796a7c8072ff7fa5b65a9c>
- other: <https://git.kernel.org/stable/c/36461e58f88a1b723f86693f437ac12e60ff4363>
- other: <https://git.kernel.org/stable/c/b5c0cff0c5331582ab01c4c423731453a8381acc>
- other: <https://git.kernel.org/stable/c/3c1e0a4bc156b8d5c5772dbc76b9ea74dce5ca24>
- other: <https://git.kernel.org/stable/c/70504de0bb627848667207bec7ccfd647deb8814>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98631>

HTML: <https://flawdb.com/CVE-2026-98631> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98631>
