# CVE-2021-47569: io_uring: fail cancellation for EXITING tasks

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2024-05-24T15:12:55.394Z
- Modified: 2026-06-17T04:17:47.360Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

io_uring: fail cancellation for EXITING tasks

WARNING: CPU: 1 PID: 20 at fs/io_uring.c:6269 io_try_cancel_userdata+0x3c5/0x640 fs/io_uring.c:6269
CPU: 1 PID: 20 Comm: kworker/1:0 Not tainted 5.16.0-rc1-syzkaller #0
Workqueue: events io_fallback_req_func
RIP: 0010:io_try_cancel_userdata+0x3c5/0x640 fs/io_uring.c:6269
Call Trace:
 <TASK>
 io_req_task_link_timeout+0x6b/0x1e0 fs/io_uring.c:6886
 io_fallback_req_func+0xf9/0x1ae fs/io_uring.c:1334
 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298
 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445
 kthread+0x405/0x4f0 kernel/kthread.c:327
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>

We need original task's context to do cancellations, so if it's dying
and the callback is executed in a fallback mode, fail the cancellation
attempt.

(As written by CVE List.)

## Affected

- Linux Linux: from 89b263f6d56e683ddcf7643140271ef6e36c72b9 before 3d2a1e68fd9904fdc1b02f2e7d40ca47df7ba39f; from 89b263f6d56e683ddcf7643140271ef6e36c72b9 before 617a89484debcd4e7999796d693cf0b77d2519de; 5.15 (not affected: before 5.15; from 5.15.6 up to 5.15.*; from 5.16 up to *)
- linux linux_kernel: from 5.15 before 5.15.6; 5.16

## References

- <https://git.kernel.org/stable/c/3d2a1e68fd9904fdc1b02f2e7d40ca47df7ba39f> (patch)
- <https://git.kernel.org/stable/c/617a89484debcd4e7999796d693cf0b77d2519de> (patch)

## Sources

- CVE List: [CVE-2021-47569](https://www.cve.org/CVERecord?id=CVE-2021-47569), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47569](https://nvd.nist.gov/vuln/detail/CVE-2021-47569), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47569 · Whole record: https://cve.day/CVE-2021-47569.json · Rebuilt by cve.day 2026-11-25T22:58:08.920Z
