CVE-2026-99799

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

State
Published
Severity
Not scored
Published
Nov 20, 2026
Updated
Nov 20, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 16efa4fce3b7af17bb45d635c3e89992d721e0f3 to before a85561cc4fc542443c9e3c363f8bcb2c016da68eAffected
  • 16efa4fce3b7af17bb45d635c3e89992d721e0f3 to before 8bfd0b6319261f08b29945228b3377f89211f303Affected
  • 16efa4fce3b7af17bb45d635c3e89992d721e0f3 to before 8298ce6443ff75f7edc3e30c967270a9c3c12d4bAffected
  • 16efa4fce3b7af17bb45d635c3e89992d721e0f3 to before 360395e8dbf9d23579f74b84a1af11190813b0f8Affected
LinuxLinux
  • 5.12Affected
  • before 5.12Not affected
  • 6.12.117 through 6.12.*Not affected
  • 6.18.61 through 6.18.*Not affected
  • 7.3.2 through 7.3.*Not affected
  • 7.4-rc1 and laterNot affected

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.