CVE-2026-99797 json
io_uring/cancel: drop sqd->lock while SQPOLL waits
published 3d ago modified 1h ago also EUVD-2026-131214
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 22%
- public exploits
- 0
- none known
Summary
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]
Patch / fix
- Linux Linux 7.4-rc1
- linux Debian 13 6.12.118-1
debian advisories DEBIAN-CVE-2026-99797
- git.kernel.org/stable/c/5cb79df890826e3b3eab81a7cb8fa4ebf7dfec90 commit
- git.kernel.org/stable/c/f2219bb2f4027f6f247660ce06ed8bf62f5e1563 commit
- git.kernel.org/stable/c/9ebfcc60793a46eaf60fc34792486c9a6e114460 commit
- git.kernel.org/stable/c/96ba960a6099935cfc5ea17aef056553f0c8e647 commit
- git.kernel.org/stable/c/682a8804640b6266a4b7fae5a131c57dd8711f70 commit
- git.kernel.org/stable/c/cb0306c52ffae083a86fb283de67875ae7a9500e commit
Is CVE-2026-99797 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-99797 updated cvss 5.5
kernel: kernel: Denial of Service via improper lock retention in io_uring SQPOLL cancellation
-
Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +82 more Red Hat Enterprise Linux 10 kernel Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-9 Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-9, openshift/ose-rhel-coreos-10affected: no fix available “Fix deferred”
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 kernel-rt, kernel-rt-selftests-internal Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.30% chance of exploitation in the next 30 days, higher than 22% of all scored CVEs (FIRST EPSS, 2026-11-22).
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/5cb79df890826e3b3eab81a7cb8fa4ebf7dfec90
- git.kernel.org /stable/c/f2219bb2f4027f6f247660ce06ed8bf62f5e1563
- git.kernel.org /stable/c/9ebfcc60793a46eaf60fc34792486c9a6e114460
- git.kernel.org /stable/c/96ba960a6099935cfc5ea17aef056553f0c8e647
- git.kernel.org /stable/c/682a8804640b6266a4b7fae5a131c57dd8711f70
- git.kernel.org /stable/c/cb0306c52ffae083a86fb283de67875ae7a9500e
Sources
- CVE List CVE-2026-99797
- NVD CVE-2026-99797
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.