Deadlock in rtw_surveydone_event_callback() in drivers: staging: rtl8723bs
Summary
GSD-2022-1002896: drivers: staging: rtl8723bs: Fix deadlock in rtw_surveydone_event_callback(). Affects Kernel versions < ce129d3efd181da5fd56f4360cc8827122afa67e. 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 affected package is the Linux Kernel, specifically the drivers/staging/rtl8723bs module. This module provides support for Realtek RTL8723BS wireless chipsets. The module is part of the staging area in the Linux Kernel, which means it is still under development and may contain unstable or incomplete code. The rtw_surveydone_event_callback() function in this module is vulnerable to a deadlock issue.
Vulnerability Detail
The vulnerability in the rtw_surveydone_event_callback() function can lead to a deadlock situation. A deadlock occurs when two or more threads are blocked indefinitely, waiting for each other to release resources. In this case, the function does not properly handle the locking mechanism, which can result in a situation where the function waits indefinitely for a resource that will never be released. This can lead to a system freeze or unresponsiveness. An attacker may be able to trigger this vulnerability by sending specially crafted network packets, potentially leading to a denial-of-service (DoS) condition.
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 known workaround for this vulnerability. Users are advised to update their Linux Kernel to the fixed version.
Conclusion
In conclusion, the rtw_surveydone_event_callback() function in the drivers/staging/rtl8723bs module of the Linux Kernel is vulnerable to a deadlock issue. This can result in a system freeze or unresponsiveness, potentially leading to a denial-of-service (DoS) condition. Users should update their Linux Kernel to version v5.17.15 or later to fix the vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to a deadlock situation, resulting in a system freeze or unresponsiveness. An attacker may be able to trigger this vulnerability, causing a denial-of-service (DoS) condition.
You can use the Vulert Playground at Vulert 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, the vulnerability has been fixed in Linux Kernel version v5.17.15 by commit ce129d3efd181da5fd56f4360cc8827122afa67e. Users should update their Linux Kernel to this version or later to apply the patch.
There are no known exploits for this vulnerability at the moment. However, it is always recommended to apply security patches promptly to mitigate any potential risks.
You can find more information about this vulnerability in the GSD-2022-1002896 JSON report at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1002xxx/GSD-2022-1002896.json.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.