# CVE-2026-99797: io_uring/cancel: drop sqd->lock while SQPOLL waits

Status: published. Published: 2026-11-20. Updated: 2026-11-23.

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

io_uring/cancel: drop sqd->lock while SQPOLL waits

An exiting SQPOLL thread calls io_uring_cancel_generic() with sqd->lock
held, and keeps it across cond_resched() and the sleep until nothing is
in flight anymore. A zero-copy send notification can't be canceled and
stays pending as long as the peer doesn't read, so the lock is held for
as long as a user cares to. io_ring_exit_work() needs it to park the
thread, and so do IORING_REGISTER_IOWQ_AFF and IOWQ_MAX_WORKERS. With
64 such rings sharing the thread, every iou_exit slot sleeps on the lock
and no ring gets freed for anyone.

Drop the lock around cond_resched() and the sleep, like the main loop of
the thread does. Each walk of ctx_list is still under one hold, and
nothing is kept across the unlock. The thread drops its io-wq, frees its
tctx and clears sqd->thread under one hold after the loop, so whoever
holds the lock and finds sqd->thread set can still use them.

[axboe: adapted to the schedule_timeout() based loop]

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ 63809137ebb58f0aa2ce359117422686e3304f45; < 5cb79df890826e3b3eab81a7cb8fa4ebf7dfec90 (affected, git); ≥ 63809137ebb58f0aa2ce359117422686e3304f45; < f2219bb2f4027f6f247660ce06ed8bf62f5e1563 (affected, git); ≥ 63809137ebb58f0aa2ce359117422686e3304f45; < 9ebfcc60793a46eaf60fc34792486c9a6e114460 (affected, git); ≥ 63809137ebb58f0aa2ce359117422686e3304f45; < 96ba960a6099935cfc5ea17aef056553f0c8e647 (affected, git); ≥ 63809137ebb58f0aa2ce359117422686e3304f45; < 682a8804640b6266a4b7fae5a131c57dd8711f70 (affected, git); ≥ 63809137ebb58f0aa2ce359117422686e3304f45; < cb0306c52ffae083a86fb283de67875ae7a9500e (affected, git). Source: CNA: Linux
- Linux / Linux: 6.0 (affected); ≥ 0; < 6.0 (unaffected, semver); ≥ 6.1.193; ≤ 6.1.* (unaffected, semver); ≥ 6.6.163; ≤ 6.6.* (unaffected, semver); ≥ 6.12.118; ≤ 6.12.* (unaffected, semver); ≥ 6.18.64; ≤ 6.18.* (unaffected, semver); ≥ 7.3.5; ≤ 7.3.* (unaffected, semver); ≥ 7.4-rc1; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: 0.30% as of 2026-11-22; percentile 22.62%

- SSVC: Not available

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/5cb79df890826e3b3eab81a7cb8fa4ebf7dfec90 (CNA: Linux)

- https://git.kernel.org/stable/c/f2219bb2f4027f6f247660ce06ed8bf62f5e1563 (CNA: Linux)

- https://git.kernel.org/stable/c/9ebfcc60793a46eaf60fc34792486c9a6e114460 (CNA: Linux)

- https://git.kernel.org/stable/c/96ba960a6099935cfc5ea17aef056553f0c8e647 (CNA: Linux)

- https://git.kernel.org/stable/c/682a8804640b6266a4b7fae5a131c57dd8711f70 (CNA: Linux)

- https://git.kernel.org/stable/c/cb0306c52ffae083a86fb283de67875ae7a9500e (CNA: Linux)

- https://git.kernel.org/stable/c/682a8804640b6266a4b7fae5a131c57dd8711f70 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/96ba960a6099935cfc5ea17aef056553f0c8e647 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/9ebfcc60793a46eaf60fc34792486c9a6e114460 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/cb0306c52ffae083a86fb283de67875ae7a9500e (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2026-99797; retrieved 2026-11-23; source updated 2026-11-23

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-99797; retrieved 2026-11-20; source updated 2026-11-20

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-99797; retrieved 2026-11-23; source updated Not reported

Revision: d254b90c1f0119be350ab03f9d55e8b011fbd17d50f4ed7fd5b52ad7ec352b64

Canonical: https://y2.dev/cve/CVE-2026-99797

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.