AZL-115723: CVE-2026-99796 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
iouring/poll: cancel all matching requests in one pass
With IORINGASYNCCANCELALL, ioasynccancel() calls iotrycancel() until nothing is found, and iopollcancel() cancels one request per call, starting each lookup at the beginning of the hash. A cancelled request stays hashed until its task work runs, so every lookup walks past the ones already cancelled. Cancelling K of N pending polls visits about KN/2 requests in one iouringenter(), with uringlock held.
A single CANCELFD|ALL on 80000 polls on one eventfd takes 17.06s, 0.02s with this change. With voluntary preemption the soft lockup watchdog fires:
watchdog: BUG: soft lockup - CPU#1 stuck for 26s! [repro:100] RIP: 0010:iocancelreqmatch+0x19/0xa0 iopollcancel+0x73/0x170 iotrycancel+0x7b/0xf0 ioasynccancel+0x41/0x110
Walk the hash once and cancel every match, as iocancelremove() does for futex and waitid. Cancel by userdata only needs its own bucket. ioasynccancel() still loops until nothing is found, so a request that io-wq parks in the poll hash meanwhile is still cancelled.
A cancel that matches one request now walks the whole hash twice instead of stopping at the match.