CVE-2026-99231
io_uring/waitid: own the request before clearing ->head
Check your servers for CVE-2026-99231
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99231 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.68% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 09951a4d37e33b0197afc7fb77e39f09a3213ee6, before bf01da1a9cca4a54e5c30b8344e52c26afb87be7 affected from 934ffdd1cdef232eb125e63c2ebafb7f2deff6af, before 8381a912c65b8de16e8a848225c7c5a56b6ea834 affected from ab673c1bcaf20ac70352eeb6bf5b828462676693, before c10ad2813e15186fb51b37a4d17fafddc99e89a5 affected from ab673c1bcaf20ac70352eeb6bf5b828462676693, before 6e11ce129b34fb9a43b2bbe838df49ea52878d5c affected from ab673c1bcaf20ac70352eeb6bf5b828462676693, before c254eec4364b9f4b4cbdce43be3fb4df5a651a70 affected from 6.12.113, before 6.12.115 affected from 6.18.52, before 6.18.60
Other versions: unaffected
|
| Linux |
affected 6.19 unaffected before 6.19 unaffected from 6.12.115 up to and including 6.12.* unaffected from 6.18.60 up to and including 6.18.* unaffected from 7.2.14 up to and including 7.2.* unaffected from 7.3.2 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99231 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99231
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99231
trivy image --scanners vuln IMAGE | grep CVE-2026-99231
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/bf01da1a9cca4a54e5c30b8344e52c26afb87be7 git.kernel.org
- https://git.kernel.org/stable/c/8381a912c65b8de16e8a848225c7c5a56b6ea834 git.kernel.org
- https://git.kernel.org/stable/c/c10ad2813e15186fb51b37a4d17fafddc99e89a5 git.kernel.org
- https://git.kernel.org/stable/c/6e11ce129b34fb9a43b2bbe838df49ea52878d5c git.kernel.org
- https://git.kernel.org/stable/c/c254eec4364b9f4b4cbdce43be3fb4df5a651a70 git.kernel.org
Source: the record CVE-2026-99231 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse