---
id: CVE-2026-99798
title: 'io_uring: defer foreign io-wq enqueues to task_work'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  io_uring: defer foreign io-wq enqueues to task_work

  An IOPOLL ring without DEFER_TASKRUN can be reaped by a task other than
  the one that submitted the I/O. If a polled…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= d803d123948feffbd992213e144df224097f82b0 <
    0ac8f069a8bd7a507df59c505182065ae720e946
  - >-
    Linux >= d803d123948feffbd992213e144df224097f82b0 <
    5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9
  - >-
    Linux >= d803d123948feffbd992213e144df224097f82b0 <
    3de16279b43dc285ed2222aba06cebdc82fdb28b
  - Linux 6.14
published: '2026-11-20'
updated: '2026-11-22'
sourceUpdated: '2026-11-22T11:10:11.755Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-99798'
references:
  - url: 'https://git.kernel.org/stable/c/0ac8f069a8bd7a507df59c505182065ae720e946'
  - url: 'https://git.kernel.org/stable/c/5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9'
  - url: 'https://git.kernel.org/stable/c/3de16279b43dc285ed2222aba06cebdc82fdb28b'
tags:
  - cve.org
epss: 0.00294
epssPercentile: 0.14428
ingestedAt: '2026-11-23T23:39:56.434Z'
---

## Overview

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

io_uring: defer foreign io-wq enqueues to task_work

An IOPOLL ring without DEFER_TASKRUN can be reaped by a task other than
the one that submitted the I/O. If a polled request is marked
REQ_F_REISSUE, io_free_batch_list() calls io_queue_iowq() with the
original tctx. Ordinary task exit can tear down tctx->io_wq after
draining only the tracked requests. The live request pins the task, but
not its io-wq, so the foreign task can race io_wq_put_and_exit() and
enqueue through a freed or NULL queue.

Forward foreign userspace enqueues to the owning task before accessing
tctx->io_wq. Use a dedicated task_work callback so reissues still go
straight to io-wq, and fail them if task_work is running in cancellation
mode. Preserve the existing PF_KTHREAD cancellation path. This also
covers the other callers of io_queue_iowq() without changing the
worker-owned enqueue path.

## Affected

- `Linux >= d803d123948feffbd992213e144df224097f82b0 < 0ac8f069a8bd7a507df59c505182065ae720e946`
- `Linux >= d803d123948feffbd992213e144df224097f82b0 < 5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9`
- `Linux >= d803d123948feffbd992213e144df224097f82b0 < 3de16279b43dc285ed2222aba06cebdc82fdb28b`
- `Linux 6.14`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
