# CVE-2026-23275: io_uring: ensure ctx->rings is stable for task work flags manipulation

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-03-20T08:08:55.857Z
- Modified: 2026-10-19T19:17:45.163Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 79cfe9e59c2a12c3b3faeeefe38d23f3d8030972 before 7cc4530b3e952d4a5947e1e55d06620d8845d4f5; from 79cfe9e59c2a12c3b3faeeefe38d23f3d8030972 before 46dc07d5f31411cc023f3bf1f4a23a07bf6e0ed1; from 79cfe9e59c2a12c3b3faeeefe38d23f3d8030972 before 96189080265e6bb5dde3a4afbaf947af493e3f82; 6.13 (not affected: before 6.13; from 6.18.19 up to 6.18.*; from 6.19.9 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.13 before 6.18.19; from 6.19 before 6.19.9; 7.0

## References

- <https://git.kernel.org/stable/c/7cc4530b3e952d4a5947e1e55d06620d8845d4f5> (patch)
- <https://git.kernel.org/stable/c/46dc07d5f31411cc023f3bf1f4a23a07bf6e0ed1> (patch)
- <https://git.kernel.org/stable/c/96189080265e6bb5dde3a4afbaf947af493e3f82> (patch)

## Sources

- CVE List: [CVE-2026-23275](https://www.cve.org/CVERecord?id=CVE-2026-23275), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-23275](https://nvd.nist.gov/vuln/detail/CVE-2026-23275), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-23275 · Whole record: https://cve.day/CVE-2026-23275.json · Rebuilt by cve.day 2026-11-25T22:59:16.299Z
