CVE-2026-23275

io_uring: ensure ctx->rings is stable for task work flags manipulation

Published Mar 20, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A race condition in the Linux kernel io_uring implementation can cause the IORING_SQ_TASKRUN flag to be incorrectly applied while a ring buffer is being resized. During the brief window in which the old rings are freed and the new ones swapped, kernel memory corruption or a crash can occur. Based on the description, it is inferred that the flaw does not provide a direct path for privilege escalation, but it can result in a denial of service by triggering a kernel panic, and this race condition is classified as CWE-362 and CWE-366.

Affected Systems

All Linux kernel configurations that include the io_uring API and support DEFER_TASKRUN mode before the patch are affected. The CPE list shows generic Linux kernel and Linux kernel releases 7.0‑rc1 through 7.0‑rc3. Any distribution using these kernels without the fix is vulnerable.

Risk and Exploitability

The CVSS score of 7.8 reflects high severity for a local denial of service. The EPSS score of less than 1% indicates low likelihood of exploitation in the wild. The vulnerability is not listed in CISA KEV. Based on the description, it is inferred that exploitation requires local privileged code to manipulate io_uring and trigger a ring resize; it does not provide remote access or privilege escalation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor‑recommended kernel update that includes the io_uring ring stability patch, which resolves the race condition identified by CWE-366 by adding RCU‑protected ring pointers.
  • If upgrading the kernel is not immediately possible, backport the patch that introduces the second RCU‑protected rings pointer (io_ctx_mark_taskrun) to your kernel build, thereby mitigating the CWE‑366 race condition.
  • While awaiting a permanent fix, limit or disable DEFER_TASKRUN mode for privileged workloads or block io_uring usage in critical services to avoid the race window that can lead to a denial of service.

Generated by OpenCVE AI on October 19, 2026 at 21:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-362
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-366
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-362
Type Values Removed Values Added
Weaknesses CWE-362
Type Values Removed Values Added
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.
Title io_uring: ensure ctx->rings is stable for task work flags manipulation
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-366

    Race Condition within a Thread

  • NVD-CWE-noinfo

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 6:35 PM
Reserved
Jan 13, 2026, 3:37 PM
Status
Modified
Published
Mar 20, 2026, 9:16 AM
Modified
Oct 19, 2026, 7:17 PM
Severity
Low
Public date
Mar 20, 2026, 12:00 AM