Fix ordering in queued_write_lock_slowpath vulnerability in Kernel
Summary
GSD-2021-1000047: locking/qrwlock: Fix ordering in queued_write_lock_slowpath(). Affects Kernel versions >= b519b56e378ee82caf9b079b04f5db87dedc3251, < d558fcdb17139728347bccc60a16af3e639649d2. 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 system 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 locking/qrwlock module of the Kernel. The qrwlock (queued read-write lock) is a synchronization primitive used to control access to shared resources. It allows multiple readers or a single writer to access the resource concurrently. However, a flaw in the ordering of operations in the queued_write_lock_slowpath() function can lead to potential security vulnerabilities.
Vulnerability Detail
The vulnerability arises from incorrect ordering in the queued_write_lock_slowpath() function of the locking/qrwlock module. This flaw can potentially be exploited by attackers to gain unauthorized access to shared resources or cause a denial-of-service condition. The impact and attack plausibility of this vulnerability have not been proven yet. It is fixed in Linux Kernel version v5.11.17 by commit d558fcdb17139728347bccc60a16af3e639649d2. The vulnerability was introduced in version v4.15 by commit b519b56e378ee82caf9b079b04f5db87dedc3251.
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
There is no specific workaround mentioned for this vulnerability.
Conclusion
The vulnerability in the Kernel's locking/qrwlock module, which affects the ordering in the queued_write_lock_slowpath() function, can potentially lead to unauthorized access or denial-of-service attacks. It is crucial to update the Kernel to version v5.11.17 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability is not yet proven, but it could potentially allow unauthorized access to shared resources or cause a denial-of-service condition.
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 it will provide real-time monitoring and alerts for open-source vulnerabilities.
Yes, a patch is available in Linux Kernel version v5.11.17. It is recommended to update to this version or a later one to fix the vulnerability.
Unfortunately, there are no specific temporary measures mentioned for this vulnerability. It is recommended to update the Kernel as soon as possible.
You can find more information about this vulnerability in the GSD-2021-1000047 entry of the GSD Database maintained by the Cloud Security Alliance. The source link is provided in the vulnerability details.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.