CVE-2021-47194

cfg80211: call cfg80211_stop_ap when switch from P2P_GO type

State
Published
Severity
7.8 High
Published
Apr 10, 2024
Updated
Aug 5, 2026
Reserved
Mar 25, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ac800140c20e7ae51117e71289065bedd4930fc2 to before 8f06bb8c216bcd172394f61e557727e691b4cb24Affected
  • ac800140c20e7ae51117e71289065bedd4930fc2 to before 0738cdb636c21ab552eaecf905efa4a6070e3ebcAffected
  • ac800140c20e7ae51117e71289065bedd4930fc2 to before 4e458abbb4a523f1413bfe15c079cf4e24c15b21Affected
  • ac800140c20e7ae51117e71289065bedd4930fc2 to before b8a045e2a9b234cfbc06cf36923886164358ddecAffected
  • ac800140c20e7ae51117e71289065bedd4930fc2 to before 52affc201fc22a1ab9a59ef0ed641a9adfcb8d13Affected
  • ac800140c20e7ae51117e71289065bedd4930fc2 to before 7b97b5776daa0b39dbdadfea176f9cc0646d4a66Affected
  • ac800140c20e7ae51117e71289065bedd4930fc2 to before 5a9b671c8d74a3e1b999e7a0c7f366079bcc93ddAffected
  • ac800140c20e7ae51117e71289065bedd4930fc2 to before 563fbefed46ae4c1f70cffb8eb54c02df480b2c2Affected
LinuxLinux
  • 3.6Affected
  • before 3.6Not affected
  • 4.4.293 through 4.4.*Not affected
  • 4.9.291 through 4.9.*Not affected
  • 4.14.256 through 4.14.*Not affected
  • 4.19.218 through 4.19.*Not affected
  • 5.4.162 through 5.4.*Not affected
  • 5.10.82 through 5.10.*Not affected
  • 5.15.5 through 5.15.*Not affected
  • 5.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.