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

Summary

CVECVE-2026-99799
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-20 08:18:37 UTC
Updated2026-11-23 09:17:10 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.003060000 probability, percentile 0.238390000 (date 2026-11-22)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 16efa4fce3b7af17bb45d635c3e89992d721e0f3 eef52e65034bfaebcd9fe75331298fd96e600f7f git Not specified
CNA Linux Linux affected 16efa4fce3b7af17bb45d635c3e89992d721e0f3 cc907f5f0afb7286185628d0d80f4c0369985aef git Not specified
CNA Linux Linux affected 16efa4fce3b7af17bb45d635c3e89992d721e0f3 a85561cc4fc542443c9e3c363f8bcb2c016da68e git Not specified
CNA Linux Linux affected 16efa4fce3b7af17bb45d635c3e89992d721e0f3 8bfd0b6319261f08b29945228b3377f89211f303 git Not specified
CNA Linux Linux affected 16efa4fce3b7af17bb45d635c3e89992d721e0f3 8298ce6443ff75f7edc3e30c967270a9c3c12d4b git Not specified
CNA Linux Linux affected 16efa4fce3b7af17bb45d635c3e89992d721e0f3 360395e8dbf9d23579f74b84a1af11190813b0f8 git Not specified
CNA Linux Linux affected 5.12 Not specified
CNA Linux Linux unaffected 5.12 semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.117 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.61 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.2 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/eef52e65034bfaebcd9fe75331298fd96e600f7f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8298ce6443ff75f7edc3e30c967270a9c3c12d4b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/360395e8dbf9d23579f74b84a1af11190813b0f8 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/cc907f5f0afb7286185628d0d80f4c0369985aef 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8bfd0b6319261f08b29945228b3377f89211f303 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a85561cc4fc542443c9e3c363f8bcb2c016da68e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report