{"id":"CVE-2026-99796","aliases":[],"title":"io_uring/poll: cancel all matching requests in one pass","originalDescription":"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.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":{"score":0.00362,"percentile":0.32106},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=5.19.0, <6.1.193","fixed":"6.1.193"},{"ecosystem":"Linux","name":"Kernel","range":">=5.19.0, <6.12.118","fixed":"6.12.118"},{"ecosystem":"Linux","name":"Kernel","range":">=6.13.0, <6.18.64","fixed":"6.18.64"},{"ecosystem":"Linux","name":"Kernel","range":">=6.19.0, <7.3.5","fixed":"7.3.5"},{"ecosystem":"Linux","name":"Kernel","range":">=6.2.0, <6.6.163","fixed":"6.6.163"},{"ecosystem":"Linux","name":"Kernel","range":">=6.7.0, <6.12.118","fixed":"6.12.118"},{"ecosystem":"vendor","name":"Linux","range":">=8e29da69feade64ec7fe9e1a2824b967c5183a21, <5310b477e619209b0cceb00b71ebc05a3e89360b","fixed":"5310b477e619209b0cceb00b71ebc05a3e89360b"},{"ecosystem":"vendor","name":"Linux","range":">=8e29da69feade64ec7fe9e1a2824b967c5183a21, <58fb2b7c71d94fb88b689d44efd33490abfa7baa","fixed":"58fb2b7c71d94fb88b689d44efd33490abfa7baa"},{"ecosystem":"vendor","name":"Linux","range":">=8e29da69feade64ec7fe9e1a2824b967c5183a21, <9073da4d5bd87c71235d909512c478e8a13a5818","fixed":"9073da4d5bd87c71235d909512c478e8a13a5818"},{"ecosystem":"vendor","name":"Linux","range":">=8e29da69feade64ec7fe9e1a2824b967c5183a21, <9eff9c07e927dcd9c57150cd6fb3d4ec76f00480","fixed":"9eff9c07e927dcd9c57150cd6fb3d4ec76f00480"},{"ecosystem":"vendor","name":"Linux","range":">=8e29da69feade64ec7fe9e1a2824b967c5183a21, <e409e1b03059c544d271c7f8e1215c5c0c62f278","fixed":"e409e1b03059c544d271c7f8e1215c5c0c62f278"},{"ecosystem":"vendor","name":"Linux","range":">=8e29da69feade64ec7fe9e1a2824b967c5183a21, <f206ca81adf22efe05eacf2dd54a520249db38ad","fixed":"f206ca81adf22efe05eacf2dd54a520249db38ad"}],"references":[{"url":"https://git.kernel.org/stable/c/9073da4d5bd87c71235d909512c478e8a13a5818","type":"other"},{"url":"https://git.kernel.org/stable/c/5310b477e619209b0cceb00b71ebc05a3e89360b","type":"other"},{"url":"https://git.kernel.org/stable/c/e409e1b03059c544d271c7f8e1215c5c0c62f278","type":"other"},{"url":"https://git.kernel.org/stable/c/9eff9c07e927dcd9c57150cd6fb3d4ec76f00480","type":"other"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99796.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99796","type":"advisory"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"},{"url":"https://git.kernel.org/stable/c/58fb2b7c71d94fb88b689d44efd33490abfa7baa","type":"other"},{"url":"https://git.kernel.org/stable/c/f206ca81adf22efe05eacf2dd54a520249db38ad","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-23T09:19:47.880Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99796","license":"NVD terms of use","firstSeenAt":"2026-11-20T08:42:44.594Z"},{"name":"osv","at":"2026-11-23T10:59:11.390Z","url":"https://osv.dev/vulnerability/CVE-2026-99796","license":"CC-BY 4.0","firstSeenAt":"2026-11-21T21:34:28.699Z"},{"name":"cvelistV5","at":"2026-11-23T22:05:45.689Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99796","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T07:34:10.695Z"}],"firstSeenAt":"2026-11-20T07:34:10.695Z","publishedAt":"2026-11-20T07:02:20.389Z","modifiedAt":"2026-11-23T10:02:16.683Z"}