CVE-2021-47194

cfg80211: call cfg80211_stop_ap when switch from P2P_GO type

HIGH
7.8
CVSS Score
Published: April 10, 2024 at 06:56 PM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.6 ≤ v < 4.14.2563.6 ≤ v < 4.19.2183.6 ≤ v < 4.4.2933.6 ≤ v < 4.9.2913.6 ≤ v < 5.10.823.6 ≤ v < 5.15.53.6 ≤ v < 5.163.6 ≤ v < 5.4.1623.6.0 ≤ v < 4.4.2934.10.0 ≤ v < 4.14.2564.15.0 ≤ v < 4.19.2184.20.0 ≤ v < 5.4.1624.5.0 ≤ v < 4.9.2915.11.0 ≤ v < 5.15.55.5.0 ≤ v < 5.10.823.6ac800140c20e7ae51117e71289065bedd4930fc2
Vendor states this is fixed in 0738cdb636c21ab552eaecf905efa4a6070e3ebc (fixed)
Vendor states this is fixed in 4e458abbb4a523f1413bfe15c079cf4e24c15b21 (fixed)
Vendor states this is fixed in 52affc201fc22a1ab9a59ef0ed641a9adfcb8d13 (fixed)
Vendor states this is fixed in 563fbefed46ae4c1f70cffb8eb54c02df480b2c2 (fixed)
Vendor states this is fixed in 5a9b671c8d74a3e1b999e7a0c7f366079bcc93dd (fixed)
Vendor states this is fixed in 7b97b5776daa0b39dbdadfea176f9cc0646d4a66 (fixed)
Vendor states this is fixed in 8f06bb8c216bcd172394f61e557727e691b4cb24 (fixed)
Vendor states this is fixed in b8a045e2a9b234cfbc06cf36923886164358ddec (fixed)
Vendor states this is fixed in 3.6 (unaffected)
Vendor states this is fixed in 4.14.256 (unaffected)
Vendor states this is fixed in 4.19.218 (unaffected)
Vendor states this is fixed in 4.4.293 (unaffected)
Vendor states this is fixed in 4.9.291 (unaffected)
Vendor states this is fixed in 5.10.82 (unaffected)
Vendor states this is fixed in 5.15.5 (unaffected)
Vendor states this is fixed in 5.16 (unaffected)
Vendor states this is fixed in 5.4.162 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0738cdb636c21ab552eaecf905efa4a6070e3ebc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4e458abbb4a523f1413bfe15c079cf4e24c15b21
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/52affc201fc22a1ab9a59ef0ed641a9adfcb8d13
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/563fbefed46ae4c1f70cffb8eb54c02df480b2c2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5a9b671c8d74a3e1b999e7a0c7f366079bcc93dd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7b97b5776daa0b39dbdadfea176f9cc0646d4a66
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8f06bb8c216bcd172394f61e557727e691b4cb24
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b8a045e2a9b234cfbc06cf36923886164358ddec

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-665

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card