{"id":"CVE-2026-99130","revision":"d0b242fed55340e3b5e1cddd691d4787","records":[{"revision":"d0b242fed55340e3b5e1cddd691d4787","observedAt":"2026-10-30T13:45:33.454+00:00","statement":{"source":"cve-program","id":"CVE-2026-99130","aliases":[],"title":"io_uring/cancel: don't spin on local work the task can't run","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/cancel: don't spin on local work the task can't run\n\nio_uring_cancel_generic() refuses to sleep while any ring on the exiting\ntask's tctx has local work pending. It assumes the task is that ring's\nsubmitter and that the next io_uring_try_cancel_requests() pass will run\nthe work. This does not hold for a ring that was still\nIORING_SETUP_R_DISABLED when the task got its tctx node from\nio_uring_create() or io_ringfd_register(). The submitter is set later by\nIORING_REGISTER_ENABLE_RINGS, possibly from another task, and only the\nsubmitter may run local work on an IORING_SETUP_DEFER_TASKRUN ring. To\nthe exiting task the work stays pending forever, the loop never reaches\nschedule(), and the task trips the WARN_ON_ONCE() once and then spins in\ndo_exit().\n\nAn unprivileged user can set this up at will by creating a disabled\nring, having a child enable it and stop, posting to the ring with\nIORING_OP_MSG_RING and exiting with a request in flight that only the\nchild can complete. The exiting thread burns a CPU until the child runs\nor dies, and with panic_on_warn set the WARN panics the kernel.\n\nFix by skipping the sleep only when io_allowed_defer_tw_run() allows the\ntask to run the work. This is reasonable since work it cannot run cannot\ncomplete any of its requests either, so nothing is lost by sleeping.\nDrop the WARN_ON_ONCE() since handing a disabled ring to another thread\nis a supported scenario, not a bug state.","state":0,"publishedAt":"2026-10-28T10:34:43.514+00:00","modifiedAt":"2026-10-30T12:42:03.208+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"io_uring/cancel.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"360cd42c4e95ff06d8d7b0a54e42236c7e7c187f\",\n                            \"lessThan\": \"64e196a6d7173667a2a0fe2f191bc64eecd07778\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"360cd42c4e95ff06d8d7b0a54e42236c7e7c187f\",\n                            \"lessThan\": \"8a241d7ca23be2695a1fbe587ee12eae061c31af\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"360cd42c4e95ff06d8d7b0a54e42236c7e7c187f\",\n                            \"lessThan\": \"94d13387b96e50a4288f7bbdfe401189246a11a1\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"360cd42c4e95ff06d8d7b0a54e42236c7e7c187f\",\n                            \"lessThan\": \"3005459e0ddfcef0f555b6e81f672f2c49a1c0aa\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"360cd42c4e95ff06d8d7b0a54e42236c7e7c187f\",\n                            \"lessThan\": \"fddcf4c5321b3ea5f72166c3fd36a9d1c34f80c7\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"io_uring/cancel.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.4\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.4\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.161\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.115\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.59\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.13\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/64e196a6d7173667a2a0fe2f191bc64eecd07778","https://git.kernel.org/stable/c/8a241d7ca23be2695a1fbe587ee12eae061c31af","https://git.kernel.org/stable/c/94d13387b96e50a4288f7bbdfe401189246a11a1","https://git.kernel.org/stable/c/3005459e0ddfcef0f555b6e81f672f2c49a1c0aa","https://git.kernel.org/stable/c/fddcf4c5321b3ea5f72166c3fd36a9d1c34f80c7"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-99130","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-99130","identifiers":["CVE-2026-99130"]},"retained":false,"historicalAffected":[]}],"coverage":[]}