CVE-2026-23275
published high CVSS 3.1 · 7.8io_uring: ensure ctx->rings is stable for task work flags manipulation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux79cfe9e59c2a12c3b3faeeefe38d23f3d8030972 to < 7cc4530b3e952d4a5947e1e55d06620d8845d4f5 · 79cfe9e59c2a12c3b3faeeefe38d23f3d8030972 to < 46dc07d5f31411cc023f3bf1f4a23a07bf6e0ed1 · 79cfe9e59c2a12c3b3faeeefe38d23f3d8030972 to < 96189080265e6bb5dde3a4afbaf947af493e3f82 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.13 (affected) · 0 to < 6.13 (unaffected · semver) · 6.18.19 through 6.18.* (unaffected · semver) · 6.19.9 through 6.19.* (unaffected · semver) · 7.0 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-1596 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | kernel6.18aarch64 | Listed in advisory | Not stated | ALAS2023-2026-1596 |
| Amazon Linux | AL2023 | kernel6.18src | Listed in advisory | Not stated | ALAS2023-2026-1596 |
| Amazon Linux | AL2023 | kernel6.18x86_64 | Listed in advisory | Not stated | ALAS2023-2026-1596 |
Description
In the Linux kernel, the following vulnerability has been resolved: io_uring: ensure ctx->rings is stable for task work flags manipulation If DEFER_TASKRUN | SETUP_TASKRUN is used and task work is added while the ring is being resized, it's possible for the OR'ing of IORING_SQ_TASKRUN to happen in the small window of swapping into the new rings and the old rings being freed. Prevent this by adding a 2nd ->rings pointer, ->rings_rcu, which is protected by RCU. The task work flags manipulation is inside RCU already, and if the resize ring freeing is done post an RCU synchronize, then there's no need to add locking to the fast path of task work additions. Note: this is only done for DEFER_TASKRUN, as that's the only setup mode that supports ring resizing. If this ever changes, then they too need to use the io_ctx_mark_taskrun() helper.
Related advisories
Vendor advisories explicitly linked to this CVE.
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 - io_uring is accessed via the io_uring_setup and io_uring_register syscalls, requiring local system access. AC:L - The attacker controls both sides of the race — they trigger ring resize while simultaneously causing task work additions. DEFER_TASKRUN+SINGLE_ISSUER means a single task, but completions adding task work happen concurrently with the register syscall. PR:L - io_uring is accessible to unprivileged local users by default (sysctl_io_uring_disabled defaults to 0, no capabilities required). UI:N - No user interaction is needed; the attacker can set up the io_uring ring with DEFER_TASKRUN and trigger the race entirely on their own. S:U - The vulnerability stays within the kernel security boundary; no VM escape or sandbox bypass is involved. C:H - This is a use-after-free on the rings structure. The freed memory can be reallocated with attacker-controlled data, potentially enabling arbitrary kernel memory reads. I:H - The UAF allows atomic_or on freed/reallocated memory, enabling heap spraying and arbitrary write primitives that could lead to code execution. A:H - Accessing freed memory (use-after-free) can cause kernel crashes/oops, and the race can be triggered repeatedly for reliable denial of service.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 79cfe9e59c2a12c3b3faeeefe38d23f3d8030972 to < 7cc4530b3e952d4a5947e1e55d06620d8845d4f5 (affected · git)79cfe9e59c2a12c3b3faeeefe38d23f3d8030972 to < 46dc07d5f31411cc023f3bf1f4a23a07bf6e0ed1 (affected · git)79cfe9e59c2a12c3b3faeeefe38d23f3d8030972 to < 96189080265e6bb5dde3a4afbaf947af493e3f82 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.13 (affected)0 to < 6.13 (unaffected · semver)6.18.19 through 6.18.* (unaffected · semver)6.19.9 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-362 CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
References
3Provider assertions
2Linux · cna
io_uring: ensure ctx->rings is stable for task work flags manipulation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a8d156ee305151ca521166e757d202ceac8737216de2c25a180f9d781c8c6a60
- Ingested
- 19 Oct 2026, 18:47:41 UTC
- Source record
- Official CVE record