# CVE-2026-99799: io_uring/sqpoll: don't wait for the thread to exit

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-02)
- Published: 2026-11-20T07:02:22.226Z
- Modified: 2026-11-23T09:17:10.010Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

io_uring/sqpoll: don't wait for the thread to exit

io_sq_thread_stop() wakes the SQPOLL thread and waits for it to exit.
The thread belongs to the thread group that created the ring, so a
SIGSTOP or the cgroup freezer holds it in get_signal(), and the wake up
doesn't change that. io_ring_exit_work() then sleeps in that wait until
someone continues or kills the process. iou_exit has 64 slots, so 64
closed SQPOLL rings of a stopped process keep every other ring from
being freed, for everyone.

Don't wait. Set the stop bit, wake the thread, and let it exit when it
gets to run again. The sqd can now outlive its last ring, so give it a
second refcount with one reference for the rings and one for the thread,
and free it with the last one. The thread can't reach a freed ring,
rings leave ctx_list before dropping their reference, and the io-wq hash
is refcounted.

(As written by CVE List.)

## Affected

- Linux Linux: from 16efa4fce3b7af17bb45d635c3e89992d721e0f3 before eef52e65034bfaebcd9fe75331298fd96e600f7f; from 16efa4fce3b7af17bb45d635c3e89992d721e0f3 before cc907f5f0afb7286185628d0d80f4c0369985aef; from 16efa4fce3b7af17bb45d635c3e89992d721e0f3 before a85561cc4fc542443c9e3c363f8bcb2c016da68e; from 16efa4fce3b7af17bb45d635c3e89992d721e0f3 before 8bfd0b6319261f08b29945228b3377f89211f303; from 16efa4fce3b7af17bb45d635c3e89992d721e0f3 before 8298ce6443ff75f7edc3e30c967270a9c3c12d4b; from 16efa4fce3b7af17bb45d635c3e89992d721e0f3 before 360395e8dbf9d23579f74b84a1af11190813b0f8; 5.12 (not affected: before 5.12; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/eef52e65034bfaebcd9fe75331298fd96e600f7f>
- <https://git.kernel.org/stable/c/cc907f5f0afb7286185628d0d80f4c0369985aef>
- <https://git.kernel.org/stable/c/a85561cc4fc542443c9e3c363f8bcb2c016da68e>
- <https://git.kernel.org/stable/c/8bfd0b6319261f08b29945228b3377f89211f303>
- <https://git.kernel.org/stable/c/8298ce6443ff75f7edc3e30c967270a9c3c12d4b>
- <https://git.kernel.org/stable/c/360395e8dbf9d23579f74b84a1af11190813b0f8>

## Sources

- CVE List: [CVE-2026-99799](https://www.cve.org/CVERecord?id=CVE-2026-99799), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99799](https://nvd.nist.gov/vuln/detail/CVE-2026-99799), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99799 · Whole record: https://cve.day/CVE-2026-99799.json · Rebuilt by cve.day 2026-11-25T22:59:52.368Z
