CVE-2021-47194
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 0.25%• Percentile: 17%
Techniques & Countermeasures
- CWE-665•Improper Initialization
The product does not initialize or incorrectly initializes a resource, which might leave the resource in an unexpected state when it is accessed or used.
Affected Systems
- debian•linux
< 5.10.84-1 | < 5.15.5-1 | < 5.15.5-1 | < 5.15.5-1
- ubuntu•linux
all | < 4.4.0-257.291 | < 4.15.0-167.175 | < 5.4.0-97.110
- ubuntu•linux-allwinner-5.19
all
- ubuntu•linux-aws
< 4.4.0-1134.140 | < 4.4.0-1172.187 | < 4.15.0-1119.127 | < 5.4.0-1064.67
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.19
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1064.67~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-6.2
all
- ubuntu•linux-aws-fips
< 4.15.0-2060.62 | all | < 5.4.0-1069.73+fips2
- ubuntu•linux-aws-hwe
< 4.15.0-1119.126~16.04.2
- ubuntu•linux-azure
< 4.15.0-1130.143~14.04.1 | < 4.15.0-1130.143~16.04.1 | all | < 5.4.0-1068.71
- ubuntu•linux-azure-4.15
< 4.15.0-1131.144
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.19
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1068.71~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-6.2
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all
- ubuntu•linux-azure-fde-5.19
all
- ubuntu•linux-azure-fde-6.2
all
- ubuntu•linux-azure-fips
< 4.15.0-2042.46 | all | < 5.4.0-1073.76+fips1
- ubuntu•linux-bluefield
all | < 5.4.0-1026.29
- ubuntu•linux-fips
< 4.4.0-1103.110 | all | < 4.15.0-1076.85 | < 5.4.0-1041.47
- ubuntu•linux-gcp
< 4.15.0-1115.129~16.04.1 | all | < 5.4.0-1063.67
- ubuntu•linux-gcp-4.15
< 4.15.0-1115.129
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.19
all
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1063.67~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-6.2
all
- ubuntu•linux-gcp-fips
< 4.15.0-2025.27 | all | < 5.4.0-1067.71~20.04.1
- ubuntu•linux-gke
all
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.15
all
- ubuntu•linux-gke-5.4
all
- ubuntu•linux-gkeop
< 5.4.0-1032.33
- ubuntu•linux-gkeop-5.4
all
- ubuntu•linux-hwe
< 4.15.0-167.175~16.04.1 | all
- ubuntu•linux-hwe-5.11
all
- ubuntu•linux-hwe-5.13
all
- ubuntu•linux-hwe-5.19
all
Showing first 50 affected entries in server-rendered view.
References (13)
- https://git.kernel.org/stable/c/8f06bb8c216bcd172394f61e557727e691b4cb24
- https://git.kernel.org/stable/c/0738cdb636c21ab552eaecf905efa4a6070e3ebc
- https://git.kernel.org/stable/c/4e458abbb4a523f1413bfe15c079cf4e24c15b21
- https://git.kernel.org/stable/c/b8a045e2a9b234cfbc06cf36923886164358ddec
- https://git.kernel.org/stable/c/52affc201fc22a1ab9a59ef0ed641a9adfcb8d13
- https://git.kernel.org/stable/c/7b97b5776daa0b39dbdadfea176f9cc0646d4a66
- https://git.kernel.org/stable/c/5a9b671c8d74a3e1b999e7a0c7f366079bcc93dd
- https://git.kernel.org/stable/c/563fbefed46ae4c1f70cffb8eb54c02df480b2c2
- https://ubuntu.com/security/CVE-2021-47194
- https://git.kernel.org/linus/563fbefed46ae4c1f70cffb8eb54c02df480b2c2
- https://www.cve.org/CVERecord?id=CVE-2021-47194
- https://ubuntu.com/security/notices/USN-6938-1
- https://security-tracker.debian.org/tracker/CVE-2021-47194