CVE-2026-99798 (GCVE-0-2026-99798)
Vulnerability from cvelistv5 – Published: 2026-11-20 07:02 – Updated: 2026-11-22 11:10
VLAI
EPSS
VEX
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 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.
Severity
7.8 (High)
Assigner
References
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Linux | Linux |
Affected:
d803d123948feffbd992213e144df224097f82b0 , < 0ac8f069a8bd7a507df59c505182065ae720e946
(git)
Affected: d803d123948feffbd992213e144df224097f82b0 , < 5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9 (git) Affected: d803d123948feffbd992213e144df224097f82b0 , < 3de16279b43dc285ed2222aba06cebdc82fdb28b (git) |
|
| Linux | Linux |
Affected:
6.14
Unaffected: 0 , < 6.14 (semver) Unaffected: 6.18.61 , ≤ 6.18.* (semver) Unaffected: 7.3.2 , ≤ 7.3.* (semver) Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix) |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"io_uring/io_uring.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "0ac8f069a8bd7a507df59c505182065ae720e946",
"status": "affected",
"version": "d803d123948feffbd992213e144df224097f82b0",
"versionType": "git"
},
{
"lessThan": "5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9",
"status": "affected",
"version": "d803d123948feffbd992213e144df224097f82b0",
"versionType": "git"
},
{
"lessThan": "3de16279b43dc285ed2222aba06cebdc82fdb28b",
"status": "affected",
"version": "d803d123948feffbd992213e144df224097f82b0",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"io_uring/io_uring.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.14"
},
{
"lessThan": "6.14",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.61",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.61",
"versionStartIncluding": "6.14",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.3.2",
"versionStartIncluding": "6.14",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.4-rc1",
"versionStartIncluding": "6.14",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring: defer foreign io-wq enqueues to task_work\n\nAn IOPOLL ring without DEFER_TASKRUN can be reaped by a task other than\nthe one that submitted the I/O. If a polled request is marked\nREQ_F_REISSUE, io_free_batch_list() calls io_queue_iowq() with the\noriginal tctx. Ordinary task exit can tear down tctx-\u003eio_wq after\ndraining only the tracked requests. The live request pins the task, but\nnot its io-wq, so the foreign task can race io_wq_put_and_exit() and\nenqueue through a freed or NULL queue.\n\nForward foreign userspace enqueues to the owning task before accessing\ntctx-\u003eio_wq. Use a dedicated task_work callback so reissues still go\nstraight to io-wq, and fail them if task_work is running in cancellation\nmode. Preserve the existing PF_KTHREAD cancellation path. This also\ncovers the other callers of io_queue_iowq() without changing the\nworker-owned enqueue path."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 7.8,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "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.\nAC: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().\nPR: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.\nUI: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\u0027s own syscall.\nS:U - The object io_wq_enqueue() uses after io_wq_destroy() is the submitter\u0027s struct io_wq in the same kernel that hosts the attacker, so the resulting privilege change stays inside that kernel.\nC:H - io_uring_clean_tctx() kfree()s tctx-\u003eio_wq in io_wq_destroy() while the live request only pins the task. io_wq_enqueue() reads wq-\u003estate 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.\nI:H - On that same freed struct io_wq, io_wq_enqueue() raw_spin_lock()s acct-\u003elock and io_wq_insert_work() writes acct-\u003ework_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.\nA:H - A load of tctx-\u003eio_wq after the NULL store makes io_wq_enqueue() dereference wq-\u003estate 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."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-22T11:10:11.755Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"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"
}
],
"title": "io_uring: defer foreign io-wq enqueues to task_work",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-99798",
"datePublished": "2026-11-20T07:02:21.634Z",
"dateReserved": "2026-09-25T10:25:14.435Z",
"dateUpdated": "2026-11-22T11:10:11.755Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-99798",
"date": "2026-11-23",
"epss": "0.00232",
"percentile": "0.14157"
},
"microsoft_vex": {
"current_release_date": "2026-11-21T01:19:16.000Z",
"cve": "CVE-2026-99798",
"id": "msrc_CVE-2026-99798",
"initial_release_date": "2026-11-21T01:19:16.000Z",
"product_status:known_affected": "1",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "io_uring: defer foreign io-wq enqueues to task_work",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99798.json",
"version": "1"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"io_uring/io_uring.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "0ac8f069a8bd7a507df59c505182065ae720e946",
"status": "affected",
"version": "d803d123948feffbd992213e144df224097f82b0",
"versionType": "git"
},
{
"lessThan": "5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9",
"status": "affected",
"version": "d803d123948feffbd992213e144df224097f82b0",
"versionType": "git"
},
{
"lessThan": "3de16279b43dc285ed2222aba06cebdc82fdb28b",
"status": "affected",
"version": "d803d123948feffbd992213e144df224097f82b0",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"io_uring/io_uring.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.14"
},
{
"lessThan": "6.14",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.61",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring: defer foreign io-wq enqueues to task_work\n\nAn IOPOLL ring without DEFER_TASKRUN can be reaped by a task other than\nthe one that submitted the I/O. If a polled request is marked\nREQ_F_REISSUE, io_free_batch_list() calls io_queue_iowq() with the\noriginal tctx. Ordinary task exit can tear down tctx-\u003eio_wq after\ndraining only the tracked requests. The live request pins the task, but\nnot its io-wq, so the foreign task can race io_wq_put_and_exit() and\nenqueue through a freed or NULL queue.\n\nForward foreign userspace enqueues to the owning task before accessing\ntctx-\u003eio_wq. Use a dedicated task_work callback so reissues still go\nstraight to io-wq, and fail them if task_work is running in cancellation\nmode. Preserve the existing PF_KTHREAD cancellation path. This also\ncovers the other callers of io_queue_iowq() without changing the\nworker-owned enqueue path."
}
],
"id": "CVE-2026-99798",
"lastModified": "2026-11-22T11:17:10.487",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 1.8,
"impactScore": 5.9,
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"type": "Secondary"
}
]
},
"published": "2026-11-20T08:18:37.427",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/0ac8f069a8bd7a507df59c505182065ae720e946"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/3de16279b43dc285ed2222aba06cebdc82fdb28b"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
},
"redhat_vex": {
"aggregate_severity": "Important",
"current_release_date": "2026-11-23T15:47:56+00:00",
"cve": "CVE-2026-99798",
"id": "CVE-2026-99798",
"initial_release_date": "2026-11-20T07:02:21.634000+00:00",
"product_status:known_affected": "189",
"product_status:known_not_affected": "91",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: kernel: Denial of Service via race condition during io_uring task exit",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99798.json",
"version": "3"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…