{"vuln_id":"CVE-2026-99797","aliases":[],"description":"kernel: kernel: Denial of Service via improper lock retention in io_uring SQPOLL cancellation","published_at":"2026-11-20T07:02:20Z","modified_at":"2026-11-20T08:18:37.297000Z","first_seen_at":"2026-11-21T19:15:15.261450Z","severity":"medium","severity_source":"redhat","cvss_score":5.5,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-412"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00296,"epss_percentile":0.22624,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99797"},"matched_alias":null,"items":[{"id":9680,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-99797: 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_…","summary":"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]\n\nReferences:\nhttps://git.kernel.org/stable/c/682a8804640b6266a4b7fae5a131c57dd8711f70\nhttps://git.kernel.org/stable/c/96ba960a6099935cfc5ea17aef056553f0c8e647\nhttps://git.kernel.org/stable/c/9ebfcc60793a46eaf60fc34792486c9a6e114460\nhttps://git.kernel.org/stable/c/cb0306c52ffae083a86fb283de67875ae7a9500e","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99797","published_at":"2026-11-20T08:18:37.297000Z","updated_at":"2026-11-20T08:18:37.297000Z","fetched_at":"2026-11-21T19:15:31.485221Z","severity":"medium","cvss_score":5.5,"epss":0.00296,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":null,"vuln_id":"CVE-2026-99797","vuln_ids":["CVE-2026-99797"],"tags":[],"cluster_id":564,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/9680","html":"https://vulnwatch.ve1ve2.com/item/9680"}},{"id":825,"source":{"id":"redhat","name":"Red Hat Security Data API"},"title":"CVE-2026-99797: kernel: kernel: Denial of Service via improper lock retention in io_uring SQPOLL cancellation","summary":"kernel: kernel: Denial of Service via improper lock retention in io_uring SQPOLL cancellation","url":"https://access.redhat.com/security/cve/cve-2026-99797","published_at":"2026-11-20T07:02:20Z","updated_at":null,"fetched_at":"2026-11-21T19:15:08.892900Z","severity":"medium","cvss_score":5.5,"epss":0.00296,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"redhat","product":null,"vuln_id":"CVE-2026-99797","vuln_ids":["CVE-2026-99797"],"tags":["redhat"],"cluster_id":564,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/825","html":"https://vulnwatch.ve1ve2.com/item/825"}}]}