{"api_version":"1","generated_at":"2026-11-20T15:57:25+00:00","cve":"CVE-2026-99796","urls":{"html":"https://cve.report/CVE-2026-99796","api":"https://cve.report/api/cve/CVE-2026-99796.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99796","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99796"},"summary":{"title":"io_uring/poll: cancel all matching requests in one pass","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-20 08:18:37","updated_at":"2026-11-20 08:18:37"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/9073da4d5bd87c71235d909512c478e8a13a5818","name":"https://git.kernel.org/stable/c/9073da4d5bd87c71235d909512c478e8a13a5818","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e409e1b03059c544d271c7f8e1215c5c0c62f278","name":"https://git.kernel.org/stable/c/e409e1b03059c544d271c7f8e1215c5c0c62f278","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5310b477e619209b0cceb00b71ebc05a3e89360b","name":"https://git.kernel.org/stable/c/5310b477e619209b0cceb00b71ebc05a3e89360b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9eff9c07e927dcd9c57150cd6fb3d4ec76f00480","name":"https://git.kernel.org/stable/c/9eff9c07e927dcd9c57150cd6fb3d4ec76f00480","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99796","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99796","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8e29da69feade64ec7fe9e1a2824b967c5183a21 9073da4d5bd87c71235d909512c478e8a13a5818 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8e29da69feade64ec7fe9e1a2824b967c5183a21 5310b477e619209b0cceb00b71ebc05a3e89360b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8e29da69feade64ec7fe9e1a2824b967c5183a21 e409e1b03059c544d271c7f8e1215c5c0c62f278 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8e29da69feade64ec7fe9e1a2824b967c5183a21 9eff9c07e927dcd9c57150cd6fb3d4ec76f00480 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.19","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.19 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.5 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["io_uring/cancel.c","io_uring/poll.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"9073da4d5bd87c71235d909512c478e8a13a5818","status":"affected","version":"8e29da69feade64ec7fe9e1a2824b967c5183a21","versionType":"git"},{"lessThan":"5310b477e619209b0cceb00b71ebc05a3e89360b","status":"affected","version":"8e29da69feade64ec7fe9e1a2824b967c5183a21","versionType":"git"},{"lessThan":"e409e1b03059c544d271c7f8e1215c5c0c62f278","status":"affected","version":"8e29da69feade64ec7fe9e1a2824b967c5183a21","versionType":"git"},{"lessThan":"9eff9c07e927dcd9c57150cd6fb3d4ec76f00480","status":"affected","version":"8e29da69feade64ec7fe9e1a2824b967c5183a21","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["io_uring/cancel.c","io_uring/poll.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.19"},{"lessThan":"5.19","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.118","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.64","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.118","versionStartIncluding":"5.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.64","versionStartIncluding":"5.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.5","versionStartIncluding":"5.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"5.19","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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."}],"providerMetadata":{"dateUpdated":"2026-11-20T07:02:20.389Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99796","datePublished":"2026-11-20T07:02:20.389Z","dateReserved":"2026-09-25T10:25:14.435Z","dateUpdated":"2026-11-20T07:02:20.389Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 08:18:37","lastModifiedDate":"2026-11-20 08:18:37","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99796","Ordinal":"1","Title":"io_uring/poll: cancel all matching requests in one pass","CVE":"CVE-2026-99796","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99796","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"io_uring/poll: cancel all matching requests in one pass"}]}}}