CVE-2026-23275
Use-After-Free Vulnerability in Linux Kernel io_uring Task Work
Publication date: 2026-03-20
Last updated on: 2026-04-02
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
| linux_kernel | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in the Linux kernel's io_uring subsystem. It occurs when task work flags are manipulated during ring resizing while using DEFER_TASKRUN or SETUP_TASKRUN modes. Specifically, if task work is added while the ring is being resized, there is a small window where the OR'ing of the IORING_SQ_TASKRUN flag can happen between swapping into new rings and freeing the old rings, potentially causing instability.
The fix involves adding a second pointer, rings_rcu, protected by Read-Copy-Update (RCU) mechanisms to ensure stability. This allows task work flags manipulation to be safely done inside RCU without adding locking overhead to the fast path of task work additions.
How can this vulnerability impact me? :
This vulnerability could lead to instability or unexpected behavior in the Linux kernel's io_uring subsystem when resizing rings during task work flag manipulation. Such instability might cause kernel crashes or unpredictable system behavior, potentially affecting system reliability and performance.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
The vulnerability has been resolved in the Linux kernel by ensuring the stability of ctx->rings during task work flags manipulation. To mitigate this vulnerability, you should update your Linux kernel to a version that includes this fix.
Specifically, the fix involves adding a second rings pointer (rings_rcu) protected by RCU to prevent issues during ring resizing when using DEFER_TASKRUN or SETUP_TASKRUN flags.
Therefore, the immediate step is to apply the kernel update that contains this patch.