CVE-2026-99798

io_uring: defer foreign io-wq enqueues to task_work

State
Published
Severity
Not scored
Published
Nov 20, 2026
Updated
Nov 20, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 0ac8f069a8bd7a507df59c505182065ae720e946Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 3de16279b43dc285ed2222aba06cebdc82fdb28bAffected
  • before 6.18.61Affected
  • before 7.3.2Affected
LinuxLinux
  • 6.18.61 through 6.18.*Not affected
  • 7.3.2 through 7.3.*Not affected
  • 7.4-rc1 and laterNot affected

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.