CVE-2021-47194

cfg80211: call cfg80211_stop_ap when switch from P2P_GO type

7.8 high EPSS 0.25%

Published 10 Apr 2024 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2021-47194

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-47194 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.6% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 21 Jun 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from ac800140c20e7ae51117e71289065bedd4930fc2, before 8f06bb8c216bcd172394f61e557727e691b4cb24
affected from ac800140c20e7ae51117e71289065bedd4930fc2, before 0738cdb636c21ab552eaecf905efa4a6070e3ebc
affected from ac800140c20e7ae51117e71289065bedd4930fc2, before 4e458abbb4a523f1413bfe15c079cf4e24c15b21
affected from ac800140c20e7ae51117e71289065bedd4930fc2, before b8a045e2a9b234cfbc06cf36923886164358ddec
affected from ac800140c20e7ae51117e71289065bedd4930fc2, before 52affc201fc22a1ab9a59ef0ed641a9adfcb8d13
affected from ac800140c20e7ae51117e71289065bedd4930fc2, before 7b97b5776daa0b39dbdadfea176f9cc0646d4a66
affected from ac800140c20e7ae51117e71289065bedd4930fc2, before 5a9b671c8d74a3e1b999e7a0c7f366079bcc93dd
affected from ac800140c20e7ae51117e71289065bedd4930fc2, before 563fbefed46ae4c1f70cffb8eb54c02df480b2c2
Other versions: unaffected
Linux
affected 3.6
unaffected before 3.6
unaffected from 4.4.293 up to and including 4.4.*
unaffected from 4.9.291 up to and including 4.9.*
unaffected from 4.14.256 up to and including 4.14.*
unaffected from 4.19.218 up to and including 4.19.*
unaffected from 5.4.162 up to and including 5.4.*
unaffected from 5.10.82 up to and including 5.10.*
unaffected from 5.15.5 up to and including 5.15.*
unaffected 5.16 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2021-47194 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47194

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2021-47194
trivy image --scanners vuln IMAGE | grep CVE-2021-47194

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2021-47194 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.