# CVE-2026-99231: io\_uring/waitid: own the request before clearing -\>head

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-11-02T16:06:38.553Z
- **Modified:** 2026-11-06T18:18:33.167Z

## Who should check

- Anyone running Linux \>= 09951a4d37e33b0197afc7fb77e39f09a3213ee6, \< bf01da1a9cca4a54e5c30b8344e52c26afb87be7; \>= 934ffdd1cdef232eb125e63c2ebafb7f2deff6af, \< 8381a912c65b8de16e8a848225c7c5a56b6ea834; \>= ab673c1bcaf20ac70352eeb6bf5b828462676693, \< c10ad2813e15186fb51b37a4d17fafddc99e89a5; \>= ab673c1bcaf20ac70352eeb6bf5b828462676693, \< 6e11ce129b34fb9a43b2bbe838df49ea52878d5c; \>= ab673c1bcaf20ac70352eeb6bf5b828462676693, \< c254eec4364b9f4b4cbdce43be3fb4df5a651a70; \>= 6.12.113, \< 6.12.115; \>= 6.18.52, \< 6.18.60
- Anyone running Linux 6.19

## Description

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

io\_uring/waitid: own the request before clearing -\>head

io\_waitid\_remove\_wq() only takes the wait queue lock if -\>head is set.
io\_waitid\_wait() clears -\>head first thing, before it tries to become the
owner of the request by bumping -\>refs. If somebody else owns the request
at that point, nothing keeps it from completing the request while the
wake up handler is still going to touch it:

CPU0 (io\_waitid\_wait)                 CPU1 (io\_waitid, holds a ref)
list\_del\_init(&wait-\>entry)
smp\_store\_release(&iw-\>head, NULL)
                                      \_\_do\_wait() finds another child
                                      io\_waitid\_remove\_wq()
                                        // -\>head == NULL, no locking
                                      io\_waitid\_finish(), IOU\_COMPLETE
                                      // request freed and reused
atomic\_fetch\_inc(&iw-\>refs)

The same goes for \_\_io\_waitid\_cancel() if it claims the request in that
window. -\>refs is part of the per opcode data of the request, so this
increments whatever the next user of the request keeps there. If that
happens to be zero, the handler concludes that it owns the request, and
queues io\_waitid\_cb() for it. With the window held open by a delay, and
the request reused for a receive that is waiting for data:

  BUG: KASAN: slab-use-after-free in \_\_wake\_up\_common+0x1ca/0x1f0
   \_\_wake\_up\_sync\_key+0x36/0x50
   sock\_def\_readable+0xf1/0x420
   unix\_stream\_sendmsg+0x60b/0x1110
  Allocated by task 87:
   io\_arm\_apoll+0x1ed/0x940
  Freed by task 87:
   \_\_io\_submit\_flush\_completions+0x118d/0x1a10
   tctx\_task\_work\_run+0x327/0x950

Only clear -\>head once the handler owns the request. If it doesn't, the
owner finds -\>head set and has to wait for the lock, which is held by the
caller of the handler. Deleting the already deleted entry again is
harmless.

## Affected and fixed versions

- Linux: \>= 09951a4d37e33b0197afc7fb77e39f09a3213ee6, \< bf01da1a9cca4a54e5c30b8344e52c26afb87be7; \>= 934ffdd1cdef232eb125e63c2ebafb7f2deff6af, \< 8381a912c65b8de16e8a848225c7c5a56b6ea834; \>= ab673c1bcaf20ac70352eeb6bf5b828462676693, \< c10ad2813e15186fb51b37a4d17fafddc99e89a5; \>= ab673c1bcaf20ac70352eeb6bf5b828462676693, \< 6e11ce129b34fb9a43b2bbe838df49ea52878d5c; \>= ab673c1bcaf20ac70352eeb6bf5b828462676693, \< c254eec4364b9f4b4cbdce43be3fb4df5a651a70; \>= 6.12.113, \< 6.12.115; \>= 6.18.52, \< 6.18.60 (cvelist)
- Linux: 6.19 (cvelist)

## Mitigation

- Upgrade Linux to 6.18.60 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-99231.md
Affected: Linux >= 09951a4d37e33b0197afc7fb77e39f09a3213ee6, < bf01da1a9cca4a54e5c30b8344e52c26afb87be7; >= 934ffdd1cdef232eb125e63c2ebafb7f2deff6af, < 8381a912c65b8de16e8a848225c7c5a56b6ea834; >= ab673c1bcaf20ac70352eeb6bf5b828462676693, < c10ad2813e15186fb51b37a4d17fafddc99e89a5; >= ab673c1bcaf20ac70352eeb…
Fixed in: Linux 8381a912c65b8de16e8a848225c7c5a56b6ea834, Linux 6e11ce129b34fb9a43b2bbe838df49ea52878d5c, Linux 6.12.115, Linux 6.18.60

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-99231 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 09951a4d37e33b0197afc7fb77e39f09a3213ee6, \< bf01da1a9cca4a54e5c30b8344e52c26afb87be7; \>= 934ffdd1cdef232eb125e63c2ebafb7f2deff6af, \< 8381a912c65b8de16e8a848225c7c5a56b6ea834; \>= ab673c1bcaf20ac70352eeb6bf5b828462676693, \< c10ad2813e15186fb51b37a4d17fafddc99e89a5; \>= ab673c1bcaf20ac70352eeb6bf5b828462676693, \< 6e11ce129b34fb9a43b2bbe838df49ea52878d5c; \>= ab673c1bcaf20ac70352eeb6bf5b828462676693, \< c254eec4364b9f4b4cbdce43be3fb4df5a651a70; \>= 6.12.113, \< 6.12.115; \>= 6.18.52, \< 6.18.60; Linux 6.19.

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

Yes. Fixed in Linux 8381a912c65b8de16e8a848225c7c5a56b6ea834, Linux 6e11ce129b34fb9a43b2bbe838df49ea52878d5c, Linux 6.12.115, Linux 6.18.60. Upgrade Linux to 6.18.60 or later.

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

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/bf01da1a9cca4a54e5c30b8344e52c26afb87be7>
- other: <https://git.kernel.org/stable/c/8381a912c65b8de16e8a848225c7c5a56b6ea834>
- other: <https://git.kernel.org/stable/c/c10ad2813e15186fb51b37a4d17fafddc99e89a5>
- other: <https://git.kernel.org/stable/c/6e11ce129b34fb9a43b2bbe838df49ea52878d5c>
- other: <https://git.kernel.org/stable/c/c254eec4364b9f4b4cbdce43be3fb4df5a651a70>

## 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-99231>

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