Fix for io_uring Shared sqpoll Cancellation Hangs in Linux Kernel
Summary
GSD-2021-1000057: io_uring: fix shared sqpoll cancellation hangs. Affects Kernel versions >= 37d1e2e3642e2380750d7f35279180826f29660e, < cb5e0b3d0f993a6268c1a2c7ede2f9aa0c17ef68. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Linux Kernel is the core component of the Linux operating system, responsible for managing system resources and providing an interface for applications to interact with the hardware. The io_uring subsystem in the Linux Kernel provides an efficient asynchronous I/O interface for applications. However, a vulnerability has been discovered in the shared sqpoll cancellation mechanism of io_uring, which can lead to hangs and potential denial-of-service (DoS) attacks.
Vulnerability Detail
The vulnerability in the shared sqpoll cancellation mechanism of io_uring can be exploited to cause hangs in the system. This can be triggered by a malicious user or application sending specific requests to the io_uring interface. The hangs can result in a DoS condition, impacting the availability of the affected system. The vulnerability was introduced in Linux Kernel version 5.12 and has been fixed in version 5.12.3.
How To Fix
No fixed version is published for this vulnerability.
To fix this vulnerability, it is recommended to update the Linux Kernel to version 5.12.3 or later. This can be done by downloading the latest kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it for the target system. Alternatively, users can wait for their Linux distribution to provide an updated package containing the fixed version of the kernel.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no known workaround for this vulnerability. It is necessary to apply the fix by updating the Linux Kernel.
Conclusion
The vulnerability in the shared sqpoll cancellation mechanism of io_uring in the Linux Kernel can lead to hangs and potential denial-of-service (DoS) attacks. It is recommended to update the Linux Kernel to version 5.12.3 or later to fix this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to hangs and potential denial-of-service (DoS) attacks, impacting the availability of the affected system.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any open-source vulnerabilities, including this one.
Yes, this vulnerability can be exploited remotely by sending specific requests to the io_uring interface.
There is no known public exploit for this vulnerability at the time of this report.
The only mitigation is to update the Linux Kernel to version 5.12.3 or later.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.