CVE-2026-99797

Not scored yetLast modified Nov 23, 2026

Description

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]

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 63809137ebb58f0aa2ce359117422686e3304f45, < 5cb79df890826e3b3eab81a7cb8fa4ebf7dfec90; >= 63809137ebb58f0aa2ce359117422686e3304f45, < f2219bb2f4027f6f247660ce06ed8bf62f5e1563; >= 63809137ebb58f0aa2ce359117422686e3304f45, < 9ebfcc60793a46eaf60fc34792486c9a6e114460; >= 63809137ebb58f0aa2ce359117422686e3304f45, < 96ba960a6099935cfc5ea17aef056553f0c8e647; >= 63809137ebb58f0aa2ce359117422686e3304f45, < 682a8804640b6266a4b7fae5a131c57dd8711f70; >= 63809137ebb58f0aa2ce359117422686e3304f45, < cb0306c52ffae083a86fb283de67875ae7a9500e
LinuxLinux6.0

References

Timeline

Published
Nov 20, 2026
Last modified
Nov 23, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-997987.8In the Linux kernel, the following vulnerability has been resolved: io_uring: defer foreign io-wq enqueues to task_work An IOPOLL ring witCVE-2026-99799In the Linux kernel, the following vulnerability has been resolved: io_uring/sqpoll: don't wait for the thread to exit io_sq_thread_stop()CVE-2026-99805.0Insufficient validation of untrusted input in Printing in Google Chrome prior to 148.0.7778.216 allowed a remote attacker who had compromiseCVE-2026-998007.8In the Linux kernel, the following vulnerability has been resolved: io_uring: free the task context after a grace period A task other thanCVE-2026-99801In the Linux kernel, the following vulnerability has been resolved: io_uring/bpf-ops: clear bpf_ctx while submitting SQEs bpf_io_uring_subCVE-2026-99802In the Linux kernel, the following vulnerability has been resolved: io_uring/register: enforce per-task restrictions in io_uring_register_bCVE-2026-99803In the Linux kernel, the following vulnerability has been resolved: io_uring/net: mask socket type with SOCK_TYPE_MASK in io_socket_bpf_popCVE-2026-998047.8In the Linux kernel, the following vulnerability has been resolved: io_uring/io-wq: save worker type before dropping its reference io_wq_cCVE-2026-99805In the Linux kernel, the following vulnerability has been resolved: net: limit priority VLAN untag depth The priority VLAN receive path caCVE-2026-99806In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Reject mode changes on connected channels A peer canCVE-2026-99807In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Reject invalid TxWindow in configuration requests A CVE-2026-99808In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Use default TxWindow for zero socket option L2CAP_OP
CVE-2026-99797: Unscored | Vulnix