# CVE-2026-99797: io\_uring/cancel: drop sqd-\>lock while SQPOLL waits

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.36% (percentile 22, 2026-11-26)
- **Published:** 2026-11-20T07:02:20.989Z
- **Modified:** 2026-11-23T09:17:09.887Z

## Who should check

- Anyone running Linux \>= 63809137ebb58f0aa2ce359117422686e3304f45, \< 5cb79df890826e3b3eab81a7cb8fa4ebf7dfec90; \>= 63809137ebb58f0aa2ce359117422686e3304f45, \< f2219bb2f4027f6f247660ce06ed8bf62f5e1563; \>= 63809137ebb58f0aa2ce359117422686e3304f45, \< 9ebfcc60793a46eaf60fc34792486c9a6e114460; \>= 63809137ebb58f0aa2ce359117422686e3304f45, \< 96ba960a6099935cfc5ea17aef056553f0c8e647; \>= 63809137ebb58f0aa2ce359117422686e3304f45, \< 682a8804640b6266a4b7fae5a131c57dd8711f70; \>= 63809137ebb58f0aa2ce359117422686e3304f45, \< cb0306c52ffae083a86fb283de67875ae7a9500e
- Anyone running Linux 6.0

## Description

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\]

## Affected and fixed versions

- Linux: \>= 63809137ebb58f0aa2ce359117422686e3304f45, \< 5cb79df890826e3b3eab81a7cb8fa4ebf7dfec90; \>= 63809137ebb58f0aa2ce359117422686e3304f45, \< f2219bb2f4027f6f247660ce06ed8bf62f5e1563; \>= 63809137ebb58f0aa2ce359117422686e3304f45, \< 9ebfcc60793a46eaf60fc34792486c9a6e114460; \>= 63809137ebb58f0aa2ce359117422686e3304f45, \< 96ba960a6099935cfc5ea17aef056553f0c8e647; \>= 63809137ebb58f0aa2ce359117422686e3304f45, \< 682a8804640b6266a4b7fae5a131c57dd8711f70; \>= 63809137ebb58f0aa2ce359117422686e3304f45, \< cb0306c52ffae083a86fb283de67875ae7a9500e (cvelist)
- Linux: 6.0 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99797. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99797.md
Affected: Linux >= 63809137ebb58f0aa2ce359117422686e3304f45, < 5cb79df890826e3b3eab81a7cb8fa4ebf7dfec90; >= 63809137ebb58f0aa2ce359117422686e3304f45, < f2219bb2f4027f6f247660ce06ed8bf62f5e1563; >= 63809137ebb58f0aa2ce359117422686e3304f45, < 9ebfcc60793a46eaf60fc34792486c9a6e114460; >= 63809137ebb58f0aa2ce359…
Fixed in: Linux 5cb79df890826e3b3eab81a7cb8fa4ebf7dfec90, Linux 9ebfcc60793a46eaf60fc34792486c9a6e114460, Linux 96ba960a6099935cfc5ea17aef056553f0c8e647, Linux 682a8804640b6266a4b7fae5a131c57dd8711f70

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99797 being exploited?

There is no confirmed exploitation: CVE-2026-99797 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.36% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-99797?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99797?

Linux \>= 63809137ebb58f0aa2ce359117422686e3304f45, \< 5cb79df890826e3b3eab81a7cb8fa4ebf7dfec90; \>= 63809137ebb58f0aa2ce359117422686e3304f45, \< f2219bb2f4027f6f247660ce06ed8bf62f5e1563; \>= 63809137ebb58f0aa2ce359117422686e3304f45, \< 9ebfcc60793a46eaf60fc34792486c9a6e114460; \>= 63809137ebb58f0aa2ce359117422686e3304f45, \< 96ba960a6099935cfc5ea17aef056553f0c8e647; \>= 63809137ebb58f0aa2ce359117422686e3304f45, \< 682a8804640b6266a4b7fae5a131c57dd8711f70; \>= 63809137ebb58f0aa2ce359117422686e3304f45, \< cb0306c52ffae083a86fb283de67875ae7a9500e; Linux 6.0.

### Is there a fix for CVE-2026-99797?

Yes. Fixed in Linux 5cb79df890826e3b3eab81a7cb8fa4ebf7dfec90, Linux 9ebfcc60793a46eaf60fc34792486c9a6e114460, Linux 96ba960a6099935cfc5ea17aef056553f0c8e647, Linux 682a8804640b6266a4b7fae5a131c57dd8711f70. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-99797?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/5cb79df890826e3b3eab81a7cb8fa4ebf7dfec90>
- other: <https://git.kernel.org/stable/c/f2219bb2f4027f6f247660ce06ed8bf62f5e1563>
- other: <https://git.kernel.org/stable/c/9ebfcc60793a46eaf60fc34792486c9a6e114460>
- other: <https://git.kernel.org/stable/c/96ba960a6099935cfc5ea17aef056553f0c8e647>
- other: <https://git.kernel.org/stable/c/682a8804640b6266a4b7fae5a131c57dd8711f70>
- other: <https://git.kernel.org/stable/c/cb0306c52ffae083a86fb283de67875ae7a9500e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99797>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99797> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99797>
