{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99796","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.435Z","datePublished":"2026-11-20T07:02:20.389Z","dateUpdated":"2026-11-20T07:02:20.389Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-20T07:02:20.389Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/poll: cancel all matching requests in one pass\n\nWith IORING_ASYNC_CANCEL_ALL, __io_async_cancel() calls io_try_cancel()\nuntil nothing is found, and io_poll_cancel() cancels one request per\ncall, starting each lookup at the beginning of the hash. A cancelled\nrequest stays hashed until its task work runs, so every lookup walks\npast the ones already cancelled. Cancelling K of N pending polls visits\nabout K*N/2 requests in one io_uring_enter(), with uring_lock held.\n\nA single CANCEL_FD|ALL on 80000 polls on one eventfd takes 17.06s,\n0.02s with this change. With voluntary preemption the soft lockup\nwatchdog fires:\n\n  watchdog: BUG: soft lockup - CPU#1 stuck for 26s! [repro:100]\n  RIP: 0010:io_cancel_req_match+0x19/0xa0\n   io_poll_cancel+0x73/0x170\n   io_try_cancel+0x7b/0xf0\n   __io_async_cancel+0x41/0x110\n\nWalk the hash once and cancel every match, as io_cancel_remove() does\nfor futex and waitid. Cancel by user_data only needs its own bucket.\n__io_async_cancel() still loops until nothing is found, so a request\nthat io-wq parks in the poll hash meanwhile is still cancelled.\n\nA cancel that matches one request now walks the whole hash twice instead\nof stopping at the match."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["io_uring/cancel.c","io_uring/poll.c"],"versions":[{"version":"8e29da69feade64ec7fe9e1a2824b967c5183a21","lessThan":"9073da4d5bd87c71235d909512c478e8a13a5818","status":"affected","versionType":"git"},{"version":"8e29da69feade64ec7fe9e1a2824b967c5183a21","lessThan":"5310b477e619209b0cceb00b71ebc05a3e89360b","status":"affected","versionType":"git"},{"version":"8e29da69feade64ec7fe9e1a2824b967c5183a21","lessThan":"e409e1b03059c544d271c7f8e1215c5c0c62f278","status":"affected","versionType":"git"},{"version":"8e29da69feade64ec7fe9e1a2824b967c5183a21","lessThan":"9eff9c07e927dcd9c57150cd6fb3d4ec76f00480","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["io_uring/cancel.c","io_uring/poll.c"],"versions":[{"version":"5.19","status":"affected"},{"version":"0","lessThan":"5.19","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","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.19","versionEndExcluding":"6.12.118"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.18.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"7.3.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"7.4-rc2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/9073da4d5bd87c71235d909512c478e8a13a5818"},{"url":"https://git.kernel.org/stable/c/5310b477e619209b0cceb00b71ebc05a3e89360b"},{"url":"https://git.kernel.org/stable/c/e409e1b03059c544d271c7f8e1215c5c0c62f278"},{"url":"https://git.kernel.org/stable/c/9eff9c07e927dcd9c57150cd6fb3d4ec76f00480"}],"title":"io_uring/poll: cancel all matching requests in one pass","x_generator":{"engine":"bippy-1.2.0"}}}}