PT-2026-152690
CVE-2026-99797
·
Published
2026-11-20
·
Updated
2026-11-20
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
io uring/cancel: drop sqd->lock while SQPOLL waits
An exiting SQPOLL thread calls io uring cancel generic() with sqd->lock
held, and keeps it across cond resched() and the sleep until nothing is
in flight anymore. A zero-copy send notification can't be canceled and
stays pending as long as the peer doesn't read, so the lock is held for
as long as a user cares to. io ring exit work() needs it to park the
thread, and so do IORING REGISTER IOWQ AFF and IOWQ MAX WORKERS. With
64 such rings sharing the thread, every iou exit slot sleeps on the lock
and no ring gets freed for anyone.
Drop the lock around cond resched() and the sleep, like the main loop of
the thread does. Each walk of ctx list is still under one hold, and
nothing is kept across the unlock. The thread drops its io-wq, frees its
tctx and clears sqd->thread under one hold after the loop, so whoever
holds the lock and finds sqd->thread set can still use them.
[axboe: adapted to the schedule timeout() based loop]
Found an issue in the description? Have something to add? Feel free to write us 👾