CVE-2026-99231 io_uring/waitid: own the request before clearing ->head

Published Updated

CVSS score

High

7.8/10

CVSS 3.1 · Scored by the Linux kernel CNA Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Local or same network
Any signed-in user, no user action

What is CVE-2026-99231?

CVE-2026-99231 is a high-severity vulnerability in Linux, published on 2 Nov 2026.

Official 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.

How severe is CVE-2026-99231?

CVE-2026-99231 scores 7.8 out of 10 under CVSS 3.1, which is high severity. It was scored by the Linux kernel CNA.

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Which versions are affected by CVE-2026-99231?

Status by vendor 5
WhoReleaseStatusPackages
Red Hat8not affectedbpftool, kernel, kernel-abi-stablelists and 43 more
pkg:rpm/redhat/bpftool?distro=rhel-8
pkg:rpm/redhat/kernel?distro=rhel-8
pkg:rpm/redhat/kernel-abi-stablelists?distro=rhel-8
Red Hat9not affectedbpftool, kernel, kernel-64k and 104 more
pkg:rpm/redhat/bpftool?distro=rhel-9
pkg:rpm/redhat/kernel?distro=rhel-9
pkg:rpm/redhat/kernel-64k?distro=rhel-9
Red Hat10not affectedkernel
pkg:rpm/redhat/kernel?distro=rhel-10
Red Hatels/6not affectedkernel, kernel-abi-whitelists, kernel-bootwrapper and 10 more
pkg:rpm/redhat/kernel?distro=rhel-6
pkg:rpm/redhat/kernel-abi-whitelists?distro=rhel-6
pkg:rpm/redhat/kernel-bootwrapper?distro=rhel-6
Red Hatels/7not affectedbpftool, kernel, kernel-abi-whitelists and 23 more
pkg:rpm/redhat/bpftool?distro=rhel-7
pkg:rpm/redhat/kernel?distro=rhel-7
pkg:rpm/redhat/kernel-abi-whitelists?distro=rhel-7

How do I fix CVE-2026-99231?

Upgrade to a fixed version.

Is CVE-2026-99231 being exploited?

There is no known exploitation of CVE-2026-99231 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2026-99231, DEBIAN-CVE-2026-99231, GHSA-r5jr-3m3c-4rp2, UBUNTU-CVE-2026-99231.

Is CVE-2026-99231 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free