-

CVE-2026-99228

io_uring/io-wq: don't lose the signal that ends work

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

io_uring/io-wq: don't lose the signal that ends work

When a thread exits, only its tracked requests are cancelled. Then its
io-wq is torn down. io_wq_exit_workers() signals every worker, to get it
out of an interruptible sleep, and waits for all of them to exit. Before
they do, they go through the work that is left. Unbounded work is
cancelled. Bounded work is run, as it is expected to end by itself.

Not all of it does. An open has no file yet, so it counts as bounded, and
the open of a FIFO waits for the other end. That is what the signal is for.
But the workers are signalled once, and a worker that hasn't started the
work by then loses the signal:

  io_wq_exit_workers()               io_worker_handle_work()
    io_wq_worker_wake()
      set TIF_NOTIFY_SIGNAL
                                       io_assign_current_work()
                                         io_run_task_work()
                                           clear TIF_NOTIFY_SIGNAL
                                       io_wq_submit_work()
                                         fifo_open()
                                           wait_for_partner()
    wait_for_completion_timeout()

The thread never gets out of do_exit():

  IORING_OP_OPENAT of a FIFO without a writer, IOSQE_ASYNC
  exit of the thread that has submitted it

hangs in more than 9 of 10 attempts (4 CPUs, KVM), until the process is
killed.

Set TIF_NOTIFY_SIGNAL for bounded work that is started with IO_WQ_BIT_EXIT
set. The bit is set before the workers are signalled, and it is tested
after the flag has been cleared, with clear_notify_signal() providing the
barrier. So either the flag stays, or the bit is seen.

Work that is started while the io-wq exits is treated like work that is
being run at that time: it isn't interrupted unless it waits
interruptibly.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version afcc4015d1bf5659b8c722aff679e9b8c41ee156
Version < ddccc60f036b309430cf130d48aafed94ef7355a
Status affected
Version afcc4015d1bf5659b8c722aff679e9b8c41ee156
Version < 08c42055b8f9a5d29236d34ad4bce08828239fe1
Status affected
Version afcc4015d1bf5659b8c722aff679e9b8c41ee156
Version < 62996803c1b5f18176de255db4c843021f2d19c8
Status affected
Version afcc4015d1bf5659b8c722aff679e9b8c41ee156
Version < 7309fea05a3d66af9746843c43fef14c10b8141e
Status affected
Version afcc4015d1bf5659b8c722aff679e9b8c41ee156
Version < fdb771015c1e13677b57a4015f0c938748f13781
Status affected
Version afcc4015d1bf5659b8c722aff679e9b8c41ee156
Version < 7df9a3b5eda51c512d3dd138e3b7daa525071757
Status affected
Version afcc4015d1bf5659b8c722aff679e9b8c41ee156
Version < 63c103279a95e82280092f2f4232e91e8117a252
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 5.12
Status affected
Version 0
Version < 5.12
Status unaffected
Version <= 6.1.*
Version 6.1.191
Status unaffected
Version <= 6.6.*
Version 6.6.161
Status unaffected
Version <= 6.12.*
Version 6.12.115
Status unaffected
Version <= 6.18.*
Version 6.18.60
Status unaffected
Version <= 7.2.*
Version 7.2.14
Status unaffected
Version <= 7.3.*
Version 7.3.2
Status unaffected
Version <= *
Version 7.4-rc1
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.16% 0.053
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/ddccc60f036b309430cf130d48aafed94ef7355a
https://git.kernel.org/stable/c/08c42055b8f9a5d29236d34ad4bce08828239fe1
https://git.kernel.org/stable/c/62996803c1b5f18176de255db4c843021f2d19c8
https://git.kernel.org/stable/c/7309fea05a3d66af9746843c43fef14c10b8141e
https://git.kernel.org/stable/c/fdb771015c1e13677b57a4015f0c938748f13781
https://git.kernel.org/stable/c/63c103279a95e82280092f2f4232e91e8117a252
https://git.kernel.org/stable/c/7df9a3b5eda51c512d3dd138e3b7daa525071757