{"id":"CVE-2021-47194","aliases":["CVE-2021-47194"],"related":[],"kind":"vulnerability","state":"published","title":"cfg80211: call cfg80211_stop_ap when switch from P2P_GO type","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncfg80211: call cfg80211_stop_ap when switch from P2P_GO type\n\nIf the userspace tools switch from NL80211_IFTYPE_P2P_GO to\nNL80211_IFTYPE_ADHOC via send_msg(NL80211_CMD_SET_INTERFACE), it\ndoes not call the cleanup cfg80211_stop_ap(), this leads to the\ninitialization of in-use data. For example, this path re-init the\nsdata->assigned_chanctx_list while it is still an element of\nassigned_vifs list, and makes that linked list corrupt.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncfg80211: call cfg80211_stop_ap when switch from P2P_GO type\n\nIf the userspace tools switch from NL80211_IFTYPE_P2P_GO to\nNL80211_IFTYPE_ADHOC via send_msg(NL80211_CMD_SET_INTERFACE), it\ndoes not call the cleanup cfg80211_stop_ap(), this leads to the\ninitialization of in-use data. For example, this path re-init the\nsdata->assigned_chanctx_list while it is still an element of\nassigned_vifs list, and makes that linked list corrupt.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: cfg80211: llame a cfg80211_stop_ap cuando cambie del tipo P2P_GO. Si las herramientas del espacio de usuario cambian de NL80211_IFTYPE_P2P_GO a NL80211_IFTYPE_ADHOC mediante send_msg(NL80211_CMD_SET_INTERFACE), no llama a la limpieza cfg80211_ stop_ap(), esto lleva a la inicialización de datos en uso. Por ejemplo, esta ruta reinicia sdata-&gt;assigned_chanctx_list mientras todavía es un elemento de la lista asignada_vifs y corrompe esa lista vinculada.","source":"nvd"}],"published":"2024-04-10T18:56:31.361Z","modified":"2026-08-05T08:46:38.073Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-665"],"affected":[{"ranges":[{"type":"git","introduced":"ac800140c20e7ae51117e71289065bedd4930fc2","fixed":"8f06bb8c216bcd172394f61e557727e691b4cb24","status":"affected"},{"type":"git","introduced":"ac800140c20e7ae51117e71289065bedd4930fc2","fixed":"0738cdb636c21ab552eaecf905efa4a6070e3ebc","status":"affected"},{"type":"git","introduced":"ac800140c20e7ae51117e71289065bedd4930fc2","fixed":"4e458abbb4a523f1413bfe15c079cf4e24c15b21","status":"affected"},{"type":"git","introduced":"ac800140c20e7ae51117e71289065bedd4930fc2","fixed":"b8a045e2a9b234cfbc06cf36923886164358ddec","status":"affected"},{"type":"git","introduced":"ac800140c20e7ae51117e71289065bedd4930fc2","fixed":"52affc201fc22a1ab9a59ef0ed641a9adfcb8d13","status":"affected"},{"type":"git","introduced":"ac800140c20e7ae51117e71289065bedd4930fc2","fixed":"7b97b5776daa0b39dbdadfea176f9cc0646d4a66","status":"affected"},{"type":"git","introduced":"ac800140c20e7ae51117e71289065bedd4930fc2","fixed":"5a9b671c8d74a3e1b999e7a0c7f366079bcc93dd","status":"affected"},{"type":"git","introduced":"ac800140c20e7ae51117e71289065bedd4930fc2","fixed":"563fbefed46ae4c1f70cffb8eb54c02df480b2c2","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.6","status":"unaffected"},{"type":"semver","introduced":"4.4.293","lastAffected":"4.4.*","status":"unaffected"},{"type":"semver","introduced":"4.9.291","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.256","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.218","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.162","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.82","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.5","lastAffected":"5.15.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.16","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.6.0","fixed":"4.4.293"},{"status":"affected","introduced":"4.5.0","fixed":"4.9.291"},{"status":"affected","introduced":"4.10.0","fixed":"4.14.256"},{"status":"affected","introduced":"4.15.0","fixed":"4.19.218"},{"status":"affected","introduced":"4.20.0","fixed":"5.4.162"},{"status":"affected","introduced":"5.5.0","fixed":"5.10.82"},{"status":"affected","introduced":"5.11.0","fixed":"5.15.5"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/8f06bb8c216bcd172394f61e557727e691b4cb24","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0738cdb636c21ab552eaecf905efa4a6070e3ebc","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4e458abbb4a523f1413bfe15c079cf4e24c15b21","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b8a045e2a9b234cfbc06cf36923886164358ddec","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/52affc201fc22a1ab9a59ef0ed641a9adfcb8d13","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7b97b5776daa0b39dbdadfea176f9cc0646d4a66","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5a9b671c8d74a3e1b999e7a0c7f366079bcc93dd","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/563fbefed46ae4c1f70cffb8eb54c02df480b2c2","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-21T16:05:05.968Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47194","url":"https://www.cve.org/CVERecord?id=CVE-2021-47194","licence":"CVE Terms of Use","modified":"2026-08-05T08:46:38.073Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47194","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47194","licence":"Public domain","modified":"2026-08-04T10:16:51.750Z"}],"updatedAt":"2026-11-25T22:58:08.712Z","epss":{"score":0.00251,"percentile":0.17689,"date":"2026-12-01T12:00:22.000Z"}}