{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-98631", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2026-09-25T10:25:14.361Z", "datePublished": "2026-10-18T15:19:53.529Z", "dateUpdated": "2026-10-19T09:22:59.147Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-10-19T09:22:59.147Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nxsk: Use a 32-bit compare in xsk_map_gen_lookup\n\nxsk_map_gen_lookup() loads a u32 key and compares it with max_entries\nusing BPF_JMP_IMM. BPF immediates are sign-extended to 64 bits, so a\nmax_entries value of 0x80000000 or higher becomes a threshold larger\nthan every zero-extended 32-bit key. An out-of-range index then skips\nthe bounds check and the generated lookup reads past xsk_map[].\n\nCompare with BPF_JMP32_IMM so the check stays in 32-bit unsigned range." } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "net/xdp/xskmap.c" ], "versions": [ { "version": "e65650f291ee72fc578d6346080fc4699204ef2c", "lessThan": "c6d5c582d55a8f229d75e98d62eaa065b0deb18d", "status": "affected", "versionType": "git" }, { "version": "e65650f291ee72fc578d6346080fc4699204ef2c", "lessThan": "227ec890559e922e235eb543646e3bf0bd8269b0", "status": "affected", "versionType": "git" }, { "version": "e65650f291ee72fc578d6346080fc4699204ef2c", "lessThan": "11d9be35c1f4233798e99be98bc474f83a254c6c", "status": "affected", "versionType": "git" }, { "version": "e65650f291ee72fc578d6346080fc4699204ef2c", "lessThan": "123f90f394ca404ab8796a7c8072ff7fa5b65a9c", "status": "affected", "versionType": "git" }, { "version": "e65650f291ee72fc578d6346080fc4699204ef2c", "lessThan": "36461e58f88a1b723f86693f437ac12e60ff4363", "status": "affected", "versionType": "git" }, { "version": "e65650f291ee72fc578d6346080fc4699204ef2c", "lessThan": "b5c0cff0c5331582ab01c4c423731453a8381acc", "status": "affected", "versionType": "git" }, { "version": "e65650f291ee72fc578d6346080fc4699204ef2c", "lessThan": "3c1e0a4bc156b8d5c5772dbc76b9ea74dce5ca24", "status": "affected", "versionType": "git" }, { "version": "e65650f291ee72fc578d6346080fc4699204ef2c", "lessThan": "70504de0bb627848667207bec7ccfd647deb8814", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "net/xdp/xskmap.c" ], "versions": [ { "version": "5.5", "status": "affected" }, { "version": "0", "lessThan": "5.5", "status": "unaffected", "versionType": "semver" }, { "version": "5.10.271", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.222", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.1.189", "lessThanOrEqual": "6.1.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.6.158", "lessThanOrEqual": "6.6.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.12.112", "lessThanOrEqual": "6.12.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.18.55", "lessThanOrEqual": "6.18.*", "status": "unaffected", "versionType": "semver" }, { "version": "7.2.9", "lessThanOrEqual": "7.2.*", "status": "unaffected", "versionType": "semver" }, { "version": "7.3", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.5", "versionEndExcluding": "5.10.271" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.5", "versionEndExcluding": "5.15.222" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.5", "versionEndExcluding": "6.1.189" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.5", "versionEndExcluding": "6.6.158" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.5", "versionEndExcluding": "6.12.112" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.5", "versionEndExcluding": "6.18.55" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.5", "versionEndExcluding": "7.2.9" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.5", "versionEndExcluding": "7.3" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/c6d5c582d55a8f229d75e98d62eaa065b0deb18d" }, { "url": "https://git.kernel.org/stable/c/227ec890559e922e235eb543646e3bf0bd8269b0" }, { "url": "https://git.kernel.org/stable/c/11d9be35c1f4233798e99be98bc474f83a254c6c" }, { "url": "https://git.kernel.org/stable/c/123f90f394ca404ab8796a7c8072ff7fa5b65a9c" }, { "url": "https://git.kernel.org/stable/c/36461e58f88a1b723f86693f437ac12e60ff4363" }, { "url": "https://git.kernel.org/stable/c/b5c0cff0c5331582ab01c4c423731453a8381acc" }, { "url": "https://git.kernel.org/stable/c/3c1e0a4bc156b8d5c5772dbc76b9ea74dce5ca24" }, { "url": "https://git.kernel.org/stable/c/70504de0bb627848667207bec7ccfd647deb8814" } ], "title": "xsk: Use a 32-bit compare in xsk_map_gen_lookup", "x_generator": { "engine": "bippy-1.2.0" } } } }