{"affected":[{"defaultStatus":"unaffected","product":"Linux","source":"CNA: Linux","vendor":"Linux","versions":[{"lessThan":"98470f164286f7f62aaee519d4d11b9370ce6d7b","status":"affected","version":"768134d4f48109b90f4248feecbeeb7d684e410c","versionType":"git"},{"lessThan":"d39ebc7a583d650b1d6da9b45e2ce96ad4d877e4","status":"affected","version":"768134d4f48109b90f4248feecbeeb7d684e410c","versionType":"git"},{"lessThan":"ebe8e97fb99d9f374c482902a00677cfd24a6c27","status":"affected","version":"768134d4f48109b90f4248feecbeeb7d684e410c","versionType":"git"},{"lessThan":"3e02b8df0e9fa1423ac2a4e03409a9329c30ac49","status":"affected","version":"768134d4f48109b90f4248feecbeeb7d684e410c","versionType":"git"},{"lessThan":"92e20e9c72bdf6cfa6f84eded7b33399bc7061da","status":"affected","version":"768134d4f48109b90f4248feecbeeb7d684e410c","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","source":"CNA: Linux","vendor":"Linux","versions":[{"status":"affected","version":"5.5"},{"lessThan":"5.5","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.191","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.161","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.115","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.60","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.14","versionType":"semver"}]}],"cveId":"CVE-2026-99255","cwes":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/io-wq: don't hide a link from cancellations\n\nA task that exits cancels its tracked requests and waits until they are\ngone. io_uring_cancel_generic() looks everywhere a request can be, and\ngoes to sleep if it found nothing to cancel. It is woken up each time\none of the requests of the task is completed by task work or freed.\n\nWhen io-wq is done with a request that has a link, there is a time in which\nthe next request of the link can't be found:\n\n  io_worker_handle_work()\n    io_assign_current_work(worker, NULL)\n    io_wq_free_work(work)\n      io_req_find_next()           // takes the link off the request\n      io_free_req()                // task work for the task\n    io_assign_current_work(worker, linked)\n      io_run_task_work()\n      cond_resched()\n      worker->cur_work = linked\n\nIt is not pending, it is not the current work of a worker, and it is not\nyet on the list that it is about to be parked on. If the pass that the\nexiting task makes because of io_free_req() falls into that time, it finds\nnothing and the task goes to sleep. The worker then runs the link, which\nIO_WQ_BIT_EXIT doesn't prevent for bounded work. If that parks the request\nnothing is completed or freed, and nobody wakes up the task. If it is the\nprocess that exits it can't be killed any more either.\n\n  NOP, IOSQE_ASYNC | IOSQE_IO_LINK\n  FUTEX_WAIT, FUTEX2_PRIVATE\n  exit of the thread, or of the process, up to 63us later\n\nWith four of these per round 5 to 8 of 10,000 rounds hang (4 CPUs, KVM):\n\n  io_uring_cancel_generic\n  do_exit\n\nCommit f8b632e89a10 (\"io_uring: tighten task exit cancellations\") is about\nthe same gap, and makes the task look again for whatever happens before\nio_free_req().\n\nFree the request once the link is the current work of the worker, or\npending. Whoever is woken up by that can find the link, until it is parked\nwhere cancellations look as well. To do so split io_wq_free_work() in two.","epss":null,"exploits":[],"kev":null,"metrics":[],"modifiedAt":1793704813169,"publishedAt":1793704813169,"references":[{"source":"CNA: Linux","tags":[],"url":"https://git.kernel.org/stable/c/98470f164286f7f62aaee519d4d11b9370ce6d7b"},{"source":"CNA: Linux","tags":[],"url":"https://git.kernel.org/stable/c/d39ebc7a583d650b1d6da9b45e2ce96ad4d877e4"},{"source":"CNA: Linux","tags":[],"url":"https://git.kernel.org/stable/c/ebe8e97fb99d9f374c482902a00677cfd24a6c27"},{"source":"CNA: Linux","tags":[],"url":"https://git.kernel.org/stable/c/3e02b8df0e9fa1423ac2a4e03409a9329c30ac49"},{"source":"CNA: Linux","tags":[],"url":"https://git.kernel.org/stable/c/92e20e9c72bdf6cfa6f84eded7b33399bc7061da"}],"remediation":[],"revision":"b24505469ddb4f29ef874298124194281b87e95c631c2ffee77f1a06dd3c41b3","sources":[{"modifiedAt":1793704813169,"name":"CNA: Linux","retrievedAt":1793707743220,"url":"https://www.cve.org/CVERecord?id=CVE-2026-99255"}],"ssvc":null,"status":"published","title":"io_uring/io-wq: don't hide a link from cancellations","updatedAt":1793707743220}