- Accueil
- Vulnérabilités
- CVE-2026-142883
CVE-2026-142883
io_uring/sqpoll: don't set IO_SQ_THREAD_SHOULD_STOP on thread exit
Résumé
In the Linux kernel, the following vulnerability has been resolved: io_uring/sqpoll: don't set IO_SQ_THREAD_SHOULD_STOP on thread exit io_sq_thread_stop() carries a WARN_ON_ONCE() asserting that IO_SQ_THREAD_SHOULD_STOP isn't set yet, i.e. that stopping the SQPOLL thread is never attempted twice. Since commit 22d9db9fd64a ("io_uring/sqpoll: don't attach to a thread that is canceling"), the SQPOLL thread itself sets that bit on its way out, so that io_sq_offload_create() won't attach a new ring to a thread that is canceling. When the thread exits on a fatal signal, the bit is thus set before the ring teardown gets to io_sq_thread_stop(), which now triggers the warning on every such exit: WARNING: io_uring/sqpoll.c:88 at io_sq_thread_stop Workqueue: iou_exit io_ring_exit_work Call Trace: io_put_sq_data io_sq_thread_finish io_ring_ctx_free io_ring_exit_work Introduce a separate IO_SQ_THREAD_EXITING bit for the thread marking itself as on its way out, and check it in io_sq_offload_create() along with IO_SQ_THREAD_SHOULD_STOP. IO_SQ_THREAD_SHOULD_STOP regains its original meaning, "a stop has been requested", and the WARN_ON_ONCE() holds again. Reproduced with an SQPOLL ring and an immediate fatal signal: the warning fires on v7.3.0+ (22d9db9fd64a present) and is gone with this change. [axboe: trim excessive comment]
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux | 7.4-rc1 |
— | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
- https://git.kernel.org/stable/c/ae11ea8d437855d15c650e02e59eeb497d773c8f
- https://git.kernel.org/stable/c/58829d86cf3caa19aac21ca7fe9842e470295788
- https://git.kernel.org/stable/c/7a11f6544385df83f598de087b60dd1549173767
- https://git.kernel.org/stable/c/41975e91a4d5894134de72f856560c6b7e92e8d2
- https://git.kernel.org/stable/c/3fe0b200a9a50e7af0cd9bc03faef5e8eb68f968
- https://git.kernel.org/stable/c/fca3ff9e2eee7d285585daf51942e0b5e2be354a
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)