CVE-2021-47569: io_uring: fail cancellation for EXITING tasks
In the Linux kernel, the following vulnerability has been resolved:
iouring: fail cancellation for EXITING tasks
WARNING: CPU: 1 PID: 20 at fs/iouring.c:6269 iotrycanceluserdata+0x3c5/0x640 fs/iouring.c:6269 CPU: 1 PID: 20 Comm: kworker/1:0 Not tainted 5.16.0-rc1-syzkaller #0 Workqueue: events iofallbackreqfunc RIP: 0010:iotrycanceluserdata+0x3c5/0x640 fs/iouring.c:6269 Call Trace: <TASK> ioreqtasklinktimeout+0x6b/0x1e0 fs/iouring.c:6886 iofallbackreqfunc+0xf9/0x1ae fs/iouring.c:1334 processonework+0x9b2/0x1690 kernel/workqueue.c:2298 workerthread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 retfromfork+0x1f/0x30 arch/x86/entry/entry64.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.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2021-47569?
The severity of CVE-2021-47569 is considered to be moderate, as it involves potential system instability during io_uring operations.
How do I fix CVE-2021-47569?
To fix CVE-2021-47569, you should update to a patched version of the Linux kernel that addresses this vulnerability.
Which Linux kernel versions are affected by CVE-2021-47569?
CVE-2021-47569 affects Linux kernel versions from 5.15 to 5.15.6 and versions 5.16-rc1 and 5.16-rc2.
What components of the Linux kernel are related to CVE-2021-47569?
CVE-2021-47569 is related to the io_uring component of the Linux kernel, specifically affecting task cancellation.
Is CVE-2021-47569 exploitable in production environments?
Yes, CVE-2021-47569 may be exploitable in production environments, potentially leading to instability under specific conditions.