AZL-115729: CVE-2026-99798 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
iouring: defer foreign io-wq enqueues to taskwork
An IOPOLL ring without DEFERTASKRUN can be reaped by a task other than the one that submitted the I/O. If a polled request is marked REQFREISSUE, iofreebatchlist() calls ioqueueiowq() with the original tctx. Ordinary task exit can tear down tctx->iowq after draining only the tracked requests. The live request pins the task, but not its io-wq, so the foreign task can race iowqputandexit() and enqueue through a freed or NULL queue.
Forward foreign userspace enqueues to the owning task before accessing tctx->iowq. Use a dedicated taskwork callback so reissues still go straight to io-wq, and fail them if taskwork is running in cancellation mode. Preserve the existing PFKTHREAD cancellation path. This also covers the other callers of ioqueueiowq() without changing the worker-owned enqueue path.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In io_uring, defer foreign io-wq enqueues to a dedicated task_work callback on the owning task before accessing tctx->io_wq; fail reissues if task_work is running in cancellation mode, and preserve the PF_KTHREAD cancellation path.