Vulnerability in Kernel: cfg80211_stop_ap not called when switching from P2P_GO type

Kernel Updated 02 Oct 2025

Summary

29/11/2021
N/A
No i
Unrated
Not published

GSD-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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Kernel package is a crucial component of the Linux operating system. It provides the core functionality and acts as a bridge between the hardware and software layers. The cfg80211 module within the Kernel is responsible for managing wireless LAN configuration. It allows users to create and manage wireless access points (APs) using the P2P_GO type. However, a vulnerability exists in which the cfg80211_stop_ap function is not called when switching from the P2P_GO type, leading to potential security risks.

Vulnerability Detail

The vulnerability arises from a missing call to cfg80211_stop_ap when switching from the P2P_GO type in the cfg80211 module of the Kernel. This oversight can result in the AP not being properly stopped, potentially allowing unauthorized access or other malicious activities. The vulnerability was introduced in version v3.6 of the Linux Kernel and is fixed in version v4.4.293. It is important to note that the impact and attack plausibility of this vulnerability have not been proven.

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

As a workaround, users can manually call the cfg80211_stop_ap function when switching from the P2P_GO type. This can be achieved by invoking the function in the appropriate code section responsible for the switch. Below is an example of how the function can be called:

// Code snippet demonstrating the workaround

#include <linux/cfg80211.h>

void switch_from_p2p_go_type() {
    // Perform necessary operations
    
    // Call cfg80211_stop_ap
    cfg80211_stop_ap();
    
    // Continue with other tasks
}

Conclusion

In conclusion, a vulnerability has been identified in the Kernel package, specifically in the cfg80211 module, where the cfg80211_stop_ap function is not called when switching from the P2P_GO type. This vulnerability can potentially lead to unauthorized access or other malicious activities. It is recommended to update the Linux Kernel to version v4.4.293 or later to mitigate this vulnerability. Additionally, users can manually call the cfg80211_stop_ap function as a workaround. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability is not yet proven. However, if exploited, it could potentially allow unauthorized access or facilitate other malicious activities.

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 provide real-time monitoring and alerts for open-source vulnerabilities, including this one.

Yes, a fix is available for this vulnerability. It is recommended to update the Linux Kernel to version v4.4.293 or later, which includes the necessary commit to address the issue.

Yes, a workaround is available. Users can manually call the cfg80211_stop_ap function when switching from the P2P_GO type. Refer to the 'workaround' section for more details.

For more detailed information about this vulnerability, you can refer to the vulnerability database entry at: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1002xxx/GSD-2021-1002217.json

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback