# CVE-2021-47194: cfg80211: call cfg80211\_stop\_ap when switch from P2P\_GO type

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 18, 2026-11-26)
- **CWE:** CWE-665
- **Published:** 2024-04-10T18:56:31.361Z
- **Modified:** 2026-08-05T08:46:38.073Z

## Who should check

- Anyone running Linux \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< 8f06bb8c216bcd172394f61e557727e691b4cb24; \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< 0738cdb636c21ab552eaecf905efa4a6070e3ebc; \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< 4e458abbb4a523f1413bfe15c079cf4e24c15b21; \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< b8a045e2a9b234cfbc06cf36923886164358ddec; \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< 52affc201fc22a1ab9a59ef0ed641a9adfcb8d13; \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< 7b97b5776daa0b39dbdadfea176f9cc0646d4a66; \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< 5a9b671c8d74a3e1b999e7a0c7f366079bcc93dd; \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< 563fbefed46ae4c1f70cffb8eb54c02df480b2c2
- Anyone running Linux 3.6

## Description

In the Linux kernel, the following vulnerability has been resolved:

cfg80211: call cfg80211\_stop\_ap when switch from P2P\_GO type

If the userspace tools switch from NL80211\_IFTYPE\_P2P\_GO to
NL80211\_IFTYPE\_ADHOC via send\_msg(NL80211\_CMD\_SET\_INTERFACE), it
does not call the cleanup cfg80211\_stop\_ap(), this leads to the
initialization of in-use data. For example, this path re-init the
sdata-\>assigned\_chanctx\_list while it is still an element of
assigned\_vifs list, and makes that linked list corrupt.

## Affected and fixed versions

- Linux: \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< 8f06bb8c216bcd172394f61e557727e691b4cb24; \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< 0738cdb636c21ab552eaecf905efa4a6070e3ebc; \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< 4e458abbb4a523f1413bfe15c079cf4e24c15b21; \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< b8a045e2a9b234cfbc06cf36923886164358ddec; \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< 52affc201fc22a1ab9a59ef0ed641a9adfcb8d13; \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< 7b97b5776daa0b39dbdadfea176f9cc0646d4a66; \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< 5a9b671c8d74a3e1b999e7a0c7f366079bcc93dd; \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< 563fbefed46ae4c1f70cffb8eb54c02df480b2c2 (cvelist)
- Linux: 3.6 (cvelist)

## Mitigation

- Upgrade Linux to 563fbefed46ae4c1f70cffb8eb54c02df480b2c2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-47194. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47194.md
Affected: Linux >= ac800140c20e7ae51117e71289065bedd4930fc2, < 8f06bb8c216bcd172394f61e557727e691b4cb24; >= ac800140c20e7ae51117e71289065bedd4930fc2, < 0738cdb636c21ab552eaecf905efa4a6070e3ebc; >= ac800140c20e7ae51117e71289065bedd4930fc2, < 4e458abbb4a523f1413bfe15c079cf4e24c15b21; >= ac800140c20e7ae51117e71…
Fixed in: Linux 8f06bb8c216bcd172394f61e557727e691b4cb24, Linux 0738cdb636c21ab552eaecf905efa4a6070e3ebc, Linux 4e458abbb4a523f1413bfe15c079cf4e24c15b21, Linux 52affc201fc22a1ab9a59ef0ed641a9adfcb8d13, Linux 7b97b5776daa0b39dbdadfea176f9cc0646d4a66, Linux 5a9b671c8d74a3e1b999e7a0c7f366079bcc93dd, Linux 563fb…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-47194 being exploited?

There is no confirmed exploitation: CVE-2021-47194 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-47194?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2021-47194?

Linux \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< 8f06bb8c216bcd172394f61e557727e691b4cb24; \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< 0738cdb636c21ab552eaecf905efa4a6070e3ebc; \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< 4e458abbb4a523f1413bfe15c079cf4e24c15b21; \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< b8a045e2a9b234cfbc06cf36923886164358ddec; \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< 52affc201fc22a1ab9a59ef0ed641a9adfcb8d13; \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< 7b97b5776daa0b39dbdadfea176f9cc0646d4a66; \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< 5a9b671c8d74a3e1b999e7a0c7f366079bcc93dd; \>= ac800140c20e7ae51117e71289065bedd4930fc2, \< 563fbefed46ae4c1f70cffb8eb54c02df480b2c2; Linux 3.6.

### Is there a fix for CVE-2021-47194?

Yes. Fixed in Linux 8f06bb8c216bcd172394f61e557727e691b4cb24, Linux 0738cdb636c21ab552eaecf905efa4a6070e3ebc, Linux 4e458abbb4a523f1413bfe15c079cf4e24c15b21, Linux 52affc201fc22a1ab9a59ef0ed641a9adfcb8d13, Linux 7b97b5776daa0b39dbdadfea176f9cc0646d4a66, Linux 5a9b671c8d74a3e1b999e7a0c7f366079bcc93dd, Linux 563fbefed46ae4c1f70cffb8eb54c02df480b2c2. Upgrade Linux to 563fbefed46ae4c1f70cffb8eb54c02df480b2c2 or later.

### How do I check if I'm affected by CVE-2021-47194?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/8f06bb8c216bcd172394f61e557727e691b4cb24>
- patch: <https://git.kernel.org/stable/c/0738cdb636c21ab552eaecf905efa4a6070e3ebc>
- patch: <https://git.kernel.org/stable/c/4e458abbb4a523f1413bfe15c079cf4e24c15b21>
- patch: <https://git.kernel.org/stable/c/b8a045e2a9b234cfbc06cf36923886164358ddec>
- patch: <https://git.kernel.org/stable/c/52affc201fc22a1ab9a59ef0ed641a9adfcb8d13>
- patch: <https://git.kernel.org/stable/c/7b97b5776daa0b39dbdadfea176f9cc0646d4a66>
- patch: <https://git.kernel.org/stable/c/5a9b671c8d74a3e1b999e7a0c7f366079bcc93dd>
- patch: <https://git.kernel.org/stable/c/563fbefed46ae4c1f70cffb8eb54c02df480b2c2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-47194>

HTML: <https://flawdb.com/CVE-2021-47194> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-47194>
