CVE-2026-23275

Source
https://cve.org/CVERecord?id=CVE-2026-23275
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23275.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-23275
Downstream
Published
2026-03-20T08:08:55.857Z
Modified
2026-04-02T13:12:19.417562Z
Summary
io_uring: ensure ctx->rings is stable for task work flags manipulation
Details

In the Linux kernel, the following vulnerability has been resolved:

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

If DEFERTASKRUN | SETUPTASKRUN is used and task work is added while the ring is being resized, it's possible for the OR'ing of IORINGSQTASKRUN 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 DEFERTASKRUN, as that's the only setup mode that supports ring resizing. If this ever changes, then they too need to use the ioctxmarktaskrun() helper.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23275.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
79cfe9e59c2a12c3b3faeeefe38d23f3d8030972
Fixed
7cc4530b3e952d4a5947e1e55d06620d8845d4f5
Fixed
46dc07d5f31411cc023f3bf1f4a23a07bf6e0ed1
Fixed
96189080265e6bb5dde3a4afbaf947af493e3f82

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23275.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.19
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23275.json"