Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99798

published high CVSS 3.1 · 7.8

io_uring: defer foreign io-wq enqueues to task_work

Published
20 Nov 2026, 07:02:21 UTC
Updated
22 Nov 2026, 11:10:11 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxd803d123948feffbd992213e144df224097f82b0 to < 0ac8f069a8bd7a507df59c505182065ae720e946 · d803d123948feffbd992213e144df224097f82b0 to < 5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9 · d803d123948feffbd992213e144df224097f82b0 to < 3de16279b43dc285ed2222aba06cebdc82fdb28b · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.18.61 through 6.18.* (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3538 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 kernel6.18aarch64 Listed in advisory Not stated ALAS2023-2026-3538
Amazon Linux AL2023 kernel6.18src Listed in advisory Not stated ALAS2023-2026-3538
Amazon Linux AL2023 kernel6.18x86_64 Listed in advisory Not stated ALAS2023-2026-3538

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - A local caller of io_uring_enter() reaps an IORING_SETUP_IOPOLL ring whose setup flags leave IORING_SETUP_DEFER_TASKRUN clear, which io_allowed_run_tw() permits for a task other than the submitter. The reap runs io_iopoll_check(), io_do_iopoll(), __io_submit_flush_completions(), and io_free_batch_list(), and that last function calls io_queue_iowq() when REQ_F_REISSUE is set. AC:L - The attacker owns both tasks and can fill the poll-queue tags. A REQ_NOWAIT bio then fails in blk_mq_get_new_requests(), bio_wouldblock_error() completes it with BLK_STS_AGAIN, and io_complete_rw_iopoll() sets REQ_F_REISSUE. do_exit() calls io_uring_files_cancel(); io_uring_cancel_generic() returns at inflight_tracked zero, so io_uring_clean_tctx() frees io_wq while the other task runs io_free_batch_list(). PR:L - io_uring_setup() and io_uring_enter() are open to an unprivileged uid: io_uring_allowed() returns success when sysctl kernel.io_uring_disabled is 0, the compiled default. The second reaper is another thread of that same process and needs no extra capability to call io_uring_enter() on the shared ring fd. UI:N - The attacker opens an O_DIRECT file they can already access, creates the IOPOLL ring, submits the read or write, and reaps it from a second thread of the same process while the submitter calls exit. Every step is the attacker's own syscall. S:U - The object io_wq_enqueue() uses after io_wq_destroy() is the submitter's struct io_wq in the same kernel that hosts the attacker, so the resulting privilege change stays inside that kernel. C:H - io_uring_clean_tctx() kfree()s tctx->io_wq in io_wq_destroy() while the live request only pins the task. io_wq_enqueue() reads wq->state and the acct from the freed slot, and io_wq_insert_work() writes kernel list pointers into it, so a reclaim of struct io_wq is a kernel memory disclosure primitive. I:H - On that same freed struct io_wq, io_wq_enqueue() raw_spin_lock()s acct->lock and io_wq_insert_work() writes acct->work_list, and a clear IO_WQ_BIT_EXIT leads to io_wq_create_worker(). Those are heap writes and a worker-creation primitive from attacker-reclaimed memory. A:H - A load of tctx->io_wq after the NULL store makes io_wq_enqueue() dereference wq->state and oops. A load in the window after kfree() and before that store locks and links the freed struct io_wq. Both outcomes crash the kernel.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux d803d123948feffbd992213e144df224097f82b0 to < 0ac8f069a8bd7a507df59c505182065ae720e946 (affected · git)d803d123948feffbd992213e144df224097f82b0 to < 5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9 (affected · git)d803d123948feffbd992213e144df224097f82b0 to < 3de16279b43dc285ed2222aba06cebdc82fdb28b (affected · git)Default: unaffected Linux · cna
Linux Linux 6.14 (affected)0 to < 6.14 (unaffected · semver)6.18.61 through 6.18.* (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

io_uring: defer foreign io-wq enqueues to task_work

Provenance

Schema
5.2
Searchable
yes
Content hash
c26e168f0f0b96ffe541b2cd4ccac2ce5e8a8a22620d68df45e46f68675e455d
Ingested
23 Nov 2026, 14:37:13 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected