{"id":"CVE-2026-142883","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T04:18:26.880","lastModified":"2026-12-03T04:18:26.880","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/sqpoll: don't set IO_SQ_THREAD_SHOULD_STOP on thread exit\n\nio_sq_thread_stop() carries a WARN_ON_ONCE() asserting that\nIO_SQ_THREAD_SHOULD_STOP isn't set yet, i.e. that stopping the SQPOLL\nthread is never attempted twice. Since commit 22d9db9fd64a\n(\"io_uring/sqpoll: don't attach to a thread that is canceling\"), the\nSQPOLL thread itself sets that bit on its way out, so that\nio_sq_offload_create() won't attach a new ring to a thread that is\ncanceling.\n\nWhen the thread exits on a fatal signal, the bit is thus set before the\nring teardown gets to io_sq_thread_stop(), which now triggers the\nwarning on every such exit:\n\n  WARNING: io_uring/sqpoll.c:88 at io_sq_thread_stop\n  Workqueue: iou_exit io_ring_exit_work\n  Call Trace:\n   io_put_sq_data\n   io_sq_thread_finish\n   io_ring_ctx_free\n   io_ring_exit_work\n\nIntroduce a separate IO_SQ_THREAD_EXITING bit for the thread marking\nitself as on its way out, and check it in io_sq_offload_create() along\nwith IO_SQ_THREAD_SHOULD_STOP. IO_SQ_THREAD_SHOULD_STOP regains its\noriginal meaning, \"a stop has been requested\", and the WARN_ON_ONCE()\nholds again.\n\nReproduced with an SQPOLL ring and an immediate fatal signal: the\nwarning fires on v7.3.0+ (22d9db9fd64a present) and is gone with this\nchange.\n\n[axboe: trim excessive comment]"}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["io_uring/sqpoll.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"7664530ccd99ebd3fa7db2767d5762ed0ea5187a","lessThan":"ae11ea8d437855d15c650e02e59eeb497d773c8f","versionType":"git","status":"affected"},{"version":"c41de83f67f2d713471fbfa986dcc9d16048ba6d","lessThan":"58829d86cf3caa19aac21ca7fe9842e470295788","versionType":"git","status":"affected"},{"version":"65dc6d4cea7a6426392c408c01928a858391fc1e","lessThan":"7a11f6544385df83f598de087b60dd1549173767","versionType":"git","status":"affected"},{"version":"bedd1cd9e54f3fe5f0d82a83d60eae05a450e136","lessThan":"41975e91a4d5894134de72f856560c6b7e92e8d2","versionType":"git","status":"affected"},{"version":"5648979c481847a7ef273f727ad64b1ae071f26f","lessThan":"3fe0b200a9a50e7af0cd9bc03faef5e8eb68f968","versionType":"git","status":"affected"},{"version":"22d9db9fd64a493525d692b32c556875b7254665","lessThan":"fca3ff9e2eee7d285585daf51942e0b5e2be354a","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["io_uring/sqpoll.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"7.4-rc1","status":"affected"},{"version":"0","lessThan":"7.4-rc1","versionType":"semver","status":"unaffected"},{"version":"7.4-rc2","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/3fe0b200a9a50e7af0cd9bc03faef5e8eb68f968","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/41975e91a4d5894134de72f856560c6b7e92e8d2","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/58829d86cf3caa19aac21ca7fe9842e470295788","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7a11f6544385df83f598de087b60dd1549173767","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/ae11ea8d437855d15c650e02e59eeb497d773c8f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/fca3ff9e2eee7d285585daf51942e0b5e2be354a","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}