Vulnerability in Kernel package: cfg80211_stop_ap not called when switching from P2P_GO type
Summary
UVI-2021-1002217: cfg80211: call cfg80211_stop_ap when switch from P2P_GO type. Affects Kernel versions >= ac800140c20e7ae51117e71289065bedd4930fc2, < 8f06bb8c216bcd172394f61e557727e691b4cb24. 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 package is a fundamental component of the Linux operating system. It provides the core functionality and interfaces for the system's hardware, software, and processes. The cfg80211 module within the Kernel package is responsible for managing wireless LAN configuration. It includes functions for handling various types of wireless operations, such as creating access points (APs) and peer-to-peer (P2P) connections. This vulnerability specifically affects the cfg80211 module when switching from the P2P_GO type.
Vulnerability Detail
The vulnerability arises from a missing call to the cfg80211_stop_ap function when switching from the P2P_GO type in the cfg80211 module. This oversight can lead to a lingering AP being left active, potentially exposing the system to unauthorized access or other security risks. The impact and attack plausibility of this vulnerability have not been proven, but it is essential to address it to ensure the integrity and security of the system.
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
If updating the Kernel package is not immediately feasible, a temporary workaround can be implemented by manually calling the cfg80211_stop_ap function when switching from the P2P_GO type. This can be done by modifying the relevant code in the system to include the necessary function call. Here is an example of how the workaround can be applied in C code:
// Add this line before switching from P2P_GO type
cfg80211_stop_ap();
Conclusion
In conclusion, the Kernel package's cfg80211 module is vulnerable to a missing call to the cfg80211_stop_ap function when switching from the P2P_GO type. This vulnerability can potentially expose the system to unauthorized access or other security risks. It is crucial to update the Kernel package to version v4.4.293 or later to fix this issue. If immediate updating is not possible, a temporary workaround can be applied by manually calling the cfg80211_stop_ap function. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability is not yet proven, but it has the potential to expose the system to unauthorized access or other security risks due to the persistence of unauthorized access points.
You can use Vulert's 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 in real-time to identify any open-source vulnerabilities, including this one.
Yes, a fix for this vulnerability is available in Linux Kernel version v4.4.293 or later. Updating the Kernel package to the latest version will address this issue.
Yes, if updating the Kernel package is not immediately feasible, you can apply a temporary workaround by manually calling the cfg80211_stop_ap function when switching from the P2P_GO type. Please refer to the 'workaround' section for more details.
You can find more information about this vulnerability in the vulnerability database maintained by the Cloud Security Alliance. Here is the source link: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1002xxx/UVI-2021-1002217.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.