{"id":"CVE-2026-99797","aliases":[],"kind":"cve","tier":"hot","status":"published","title":"io_uring/cancel: drop sqd->lock while SQPOLL waits","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/cancel: drop sqd->lock while SQPOLL waits\n\nAn exiting SQPOLL thread calls io_uring_cancel_generic() with sqd->lock\nheld, and keeps it across cond_resched() and the sleep until nothing is\nin flight anymore. A zero-copy send notification can't be canceled and\nstays pending as long as the peer doesn't read, so the lock is held for\nas long as a user cares to. io_ring_exit_work() needs it to park the\nthread, and so do IORING_REGISTER_IOWQ_AFF and IOWQ_MAX_WORKERS. With\n64 such rings sharing the thread, every iou_exit slot sleeps on the lock\nand no ring gets freed for anyone.\n\nDrop the lock around cond_resched() and the sleep, like the main loop of\nthe thread does. Each walk of ctx_list is still under one hold, and\nnothing is kept across the unlock. The thread drops its io-wq, frees its\ntctx and clears sqd->thread under one hold after the loop, so whoever\nholds the lock and finds sqd->thread set can still use them.\n\n[axboe: adapted to the schedule_timeout() based loop]","ai_summary":null,"severity":"unknown","cvss":null,"scores":[],"cwe":[],"remote":null,"remote_unauth":null,"epss":{"score":0.00363,"percentile":0.22309,"date":"2026-11-26"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"source":"cvelist","vendor":"Linux","product":"Linux","versions":">= 63809137ebb58f0aa2ce359117422686e3304f45, < 5cb79df890826e3b3eab81a7cb8fa4ebf7dfec90; >= 63809137ebb58f0aa2ce359117422686e3304f45, < f2219bb2f4027f6f247660ce06ed8bf62f5e1563; >= 63809137ebb58f0aa2ce359117422686e3304f45, < 9ebfcc60793a46eaf60fc34792486c9a6e114460; >= 63809137ebb58f0aa2ce359117422686e3304f45, < 96ba960a6099935cfc5ea17aef056553f0c8e647; >= 63809137ebb58f0aa2ce359117422686e3304f45, < 682a8804640b6266a4b7fae5a131c57dd8711f70; >= 63809137ebb58f0aa2ce359117422686e3304f45, < cb0306c52ffae083a86fb283de67875ae7a9500e"},{"source":"cvelist","vendor":"Linux","product":"Linux","versions":"6.0"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[{"slug":"linux-kernel","name":"Linux kernel","method":"cpe"}],"references":[{"url":"https://git.kernel.org/stable/c/5cb79df890826e3b3eab81a7cb8fa4ebf7dfec90","kind":"other"},{"url":"https://git.kernel.org/stable/c/f2219bb2f4027f6f247660ce06ed8bf62f5e1563","kind":"other"},{"url":"https://git.kernel.org/stable/c/9ebfcc60793a46eaf60fc34792486c9a6e114460","kind":"other"},{"url":"https://git.kernel.org/stable/c/96ba960a6099935cfc5ea17aef056553f0c8e647","kind":"other"},{"url":"https://git.kernel.org/stable/c/682a8804640b6266a4b7fae5a131c57dd8711f70","kind":"other"},{"url":"https://git.kernel.org/stable/c/cb0306c52ffae083a86fb283de67875ae7a9500e","kind":"other"}],"workarounds":null,"vendors":["linux"],"products":["linux"],"cpes":[],"published_at":"2026-11-20T07:02:20.989Z","modified_at":"2026-11-23T09:17:09.887Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99797"},{"source":"FIRST EPSS","text":"EPSS scores by FIRST","url":"https://www.first.org/epss/"}],"links":{"html":"https://flawdb.com/CVE-2026-99797","markdown":"https://flawdb.com/CVE-2026-99797.md","json":"https://flawdb.com/api/v1/entries/CVE-2026-99797"}}