{"api_version":"1","generated_at":"2026-11-23T10:06:21+00:00","cve":"CVE-2026-99797","urls":{"html":"https://cve.report/CVE-2026-99797","api":"https://cve.report/api/cve/CVE-2026-99797.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99797","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99797"},"summary":{"title":"io_uring/cancel: drop sqd->lock while SQPOLL waits","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/cancel: drop sqd->lock while SQPOLL waits\n\nAn exiting SQPOLL thread calls io_uring_cancel_generic() with sqd->lock\nheld, and keeps it across cond_resched() and the sleep until nothing is\nin flight anymore. A zero-copy send notification can't be canceled and\nstays pending as long as the peer doesn't read, so the lock is held for\nas long as a user cares to. io_ring_exit_work() needs it to park the\nthread, and so do IORING_REGISTER_IOWQ_AFF and IOWQ_MAX_WORKERS. With\n64 such rings sharing the thread, every iou_exit slot sleeps on the lock\nand no ring gets freed for anyone.\n\nDrop the lock around cond_resched() and the sleep, like the main loop of\nthe thread does. Each walk of ctx_list is still under one hold, and\nnothing is kept across the unlock. The thread drops its io-wq, frees its\ntctx and clears sqd->thread under one hold after the loop, so whoever\nholds the lock and finds sqd->thread set can still use them.\n\n[axboe: adapted to the schedule_timeout() based loop]","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-20 08:18:37","updated_at":"2026-11-23 09:17:09"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/9ebfcc60793a46eaf60fc34792486c9a6e114460","name":"https://git.kernel.org/stable/c/9ebfcc60793a46eaf60fc34792486c9a6e114460","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/96ba960a6099935cfc5ea17aef056553f0c8e647","name":"https://git.kernel.org/stable/c/96ba960a6099935cfc5ea17aef056553f0c8e647","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f2219bb2f4027f6f247660ce06ed8bf62f5e1563","name":"https://git.kernel.org/stable/c/f2219bb2f4027f6f247660ce06ed8bf62f5e1563","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/cb0306c52ffae083a86fb283de67875ae7a9500e","name":"https://git.kernel.org/stable/c/cb0306c52ffae083a86fb283de67875ae7a9500e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5cb79df890826e3b3eab81a7cb8fa4ebf7dfec90","name":"https://git.kernel.org/stable/c/5cb79df890826e3b3eab81a7cb8fa4ebf7dfec90","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/682a8804640b6266a4b7fae5a131c57dd8711f70","name":"https://git.kernel.org/stable/c/682a8804640b6266a4b7fae5a131c57dd8711f70","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99797","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99797","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 63809137ebb58f0aa2ce359117422686e3304f45 5cb79df890826e3b3eab81a7cb8fa4ebf7dfec90 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 63809137ebb58f0aa2ce359117422686e3304f45 f2219bb2f4027f6f247660ce06ed8bf62f5e1563 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 63809137ebb58f0aa2ce359117422686e3304f45 9ebfcc60793a46eaf60fc34792486c9a6e114460 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 63809137ebb58f0aa2ce359117422686e3304f45 96ba960a6099935cfc5ea17aef056553f0c8e647 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 63809137ebb58f0aa2ce359117422686e3304f45 682a8804640b6266a4b7fae5a131c57dd8711f70 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 63809137ebb58f0aa2ce359117422686e3304f45 cb0306c52ffae083a86fb283de67875ae7a9500e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.5 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"99797","cve":"CVE-2026-99797","epss":"0.002960000","percentile":"0.226220000","score_date":"2026-11-22","updated_at":"2026-11-23 00:03:21"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["io_uring/cancel.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"5cb79df890826e3b3eab81a7cb8fa4ebf7dfec90","status":"affected","version":"63809137ebb58f0aa2ce359117422686e3304f45","versionType":"git"},{"lessThan":"f2219bb2f4027f6f247660ce06ed8bf62f5e1563","status":"affected","version":"63809137ebb58f0aa2ce359117422686e3304f45","versionType":"git"},{"lessThan":"9ebfcc60793a46eaf60fc34792486c9a6e114460","status":"affected","version":"63809137ebb58f0aa2ce359117422686e3304f45","versionType":"git"},{"lessThan":"96ba960a6099935cfc5ea17aef056553f0c8e647","status":"affected","version":"63809137ebb58f0aa2ce359117422686e3304f45","versionType":"git"},{"lessThan":"682a8804640b6266a4b7fae5a131c57dd8711f70","status":"affected","version":"63809137ebb58f0aa2ce359117422686e3304f45","versionType":"git"},{"lessThan":"cb0306c52ffae083a86fb283de67875ae7a9500e","status":"affected","version":"63809137ebb58f0aa2ce359117422686e3304f45","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["io_uring/cancel.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.0"},{"lessThan":"6.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.118","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.64","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.118","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.64","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.5","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.0","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/cancel: drop sqd->lock while SQPOLL waits\n\nAn exiting SQPOLL thread calls io_uring_cancel_generic() with sqd->lock\nheld, and keeps it across cond_resched() and the sleep until nothing is\nin flight anymore. A zero-copy send notification can't be canceled and\nstays pending as long as the peer doesn't read, so the lock is held for\nas long as a user cares to. io_ring_exit_work() needs it to park the\nthread, and so do IORING_REGISTER_IOWQ_AFF and IOWQ_MAX_WORKERS. With\n64 such rings sharing the thread, every iou_exit slot sleeps on the lock\nand no ring gets freed for anyone.\n\nDrop the lock around cond_resched() and the sleep, like the main loop of\nthe thread does. Each walk of ctx_list is still under one hold, and\nnothing is kept across the unlock. The thread drops its io-wq, frees its\ntctx and clears sqd->thread under one hold after the loop, so whoever\nholds the lock and finds sqd->thread set can still use them.\n\n[axboe: adapted to the schedule_timeout() based loop]"}],"providerMetadata":{"dateUpdated":"2026-11-23T08:07:31.009Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/5cb79df890826e3b3eab81a7cb8fa4ebf7dfec90"},{"url":"https://git.kernel.org/stable/c/f2219bb2f4027f6f247660ce06ed8bf62f5e1563"},{"url":"https://git.kernel.org/stable/c/9ebfcc60793a46eaf60fc34792486c9a6e114460"},{"url":"https://git.kernel.org/stable/c/96ba960a6099935cfc5ea17aef056553f0c8e647"},{"url":"https://git.kernel.org/stable/c/682a8804640b6266a4b7fae5a131c57dd8711f70"},{"url":"https://git.kernel.org/stable/c/cb0306c52ffae083a86fb283de67875ae7a9500e"}],"title":"io_uring/cancel: drop sqd->lock while SQPOLL waits","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99797","datePublished":"2026-11-20T07:02:20.989Z","dateReserved":"2026-09-25T10:25:14.435Z","dateUpdated":"2026-11-23T08:07:31.009Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 08:18:37","lastModifiedDate":"2026-11-23 09:17:09","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99797","Ordinal":"1","Title":"io_uring/cancel: drop sqd->lock while SQPOLL waits","CVE":"CVE-2026-99797","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99797","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/cancel: drop sqd->lock while SQPOLL waits\n\nAn exiting SQPOLL thread calls io_uring_cancel_generic() with sqd->lock\nheld, and keeps it across cond_resched() and the sleep until nothing is\nin flight anymore. A zero-copy send notification can't be canceled and\nstays pending as long as the peer doesn't read, so the lock is held for\nas long as a user cares to. io_ring_exit_work() needs it to park the\nthread, and so do IORING_REGISTER_IOWQ_AFF and IOWQ_MAX_WORKERS. With\n64 such rings sharing the thread, every iou_exit slot sleeps on the lock\nand no ring gets freed for anyone.\n\nDrop the lock around cond_resched() and the sleep, like the main loop of\nthe thread does. Each walk of ctx_list is still under one hold, and\nnothing is kept across the unlock. The thread drops its io-wq, frees its\ntctx and clears sqd->thread under one hold after the loop, so whoever\nholds the lock and finds sqd->thread set can still use them.\n\n[axboe: adapted to the schedule_timeout() based loop]","Type":"Description","Title":"io_uring/cancel: drop sqd->lock while SQPOLL waits"}]}}}