CVE-2026-98631

Source
https://cve.org/CVERecord?id=CVE-2026-98631
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98631.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98631
Downstream
Published
2026-10-18T15:19:53Z
Modified
2026-10-19T02:47:00Z
Summary
xsk: Use a 32-bit compare in xsk_map_gen_lookup
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98631.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e65650f291ee72fc578d6346080fc4699204ef2c
Fixed
c6d5c582d55a8f229d75e98d62eaa065b0deb18d
Fixed
227ec890559e922e235eb543646e3bf0bd8269b0
Fixed
11d9be35c1f4233798e99be98bc474f83a254c6c
Fixed
123f90f394ca404ab8796a7c8072ff7fa5b65a9c
Fixed
36461e58f88a1b723f86693f437ac12e60ff4363
Fixed
b5c0cff0c5331582ab01c4c423731453a8381acc
Fixed
3c1e0a4bc156b8d5c5772dbc76b9ea74dce5ca24
Fixed
70504de0bb627848667207bec7ccfd647deb8814

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98631.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.271
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.222
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.189
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.158
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.112
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.55
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98631.json"