Fix handling of offline queues in blk_mq_alloc_request_hctx() in Kernel
Summary
GSD-2022-1004650: block: Fix handling of offline queues in blk_mq_alloc_request_hctx(). Affects Kernel versions >= 20e4d813931961fe26d26a1e98b3aba6ec00b130, < 7fa28a7c3d74933a4fc22d341b60927952f31c19. 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 Kernel is a crucial component of the Linux operating system that manages the system's resources and facilitates communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The vulnerability in question affects the handling of offline queues in the blk_mq_alloc_request_hctx() function within the Kernel.
Vulnerability Detail
The vulnerability arises from a flaw in the handling of offline queues in the blk_mq_alloc_request_hctx() function. This flaw could potentially be exploited by an attacker to cause a denial-of-service (DoS) condition or execute arbitrary code with elevated privileges. The vulnerability was introduced in version v4.16 of the Linux Kernel and has been fixed in version v5.10.124 by commit 7fa28a7c3d74933a4fc22d341b60927952f31c19.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
No workaround has been provided for this vulnerability.
Conclusion
The vulnerability in the handling of offline queues in the blk_mq_alloc_request_hctx() function in the Kernel could potentially lead to a denial-of-service (DoS) condition or enable arbitrary code execution with elevated privileges. It is crucial to update the Linux Kernel to version v5.10.124 or later to mitigate this vulnerability. For further assistance and support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability could potentially lead to a denial-of-service (DoS) condition or enable an attacker to execute arbitrary code with elevated privileges.
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 to the playground, and it will provide real-time alerts for open-source vulnerabilities, including this one.
Yes, a patch has been released in version v5.10.124 of the Linux Kernel. It is recommended to update to this version or a later one to mitigate the vulnerability.
The exact attack vector and exploitability of this vulnerability have not been proven. However, it is possible that an attacker could exploit it remotely under certain conditions.
There are no known instances of this vulnerability being exploited in the wild at the time of this report.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.