CVE-2021-47201
iavf: free q_vectors before queues in iavf_disable_vf
Check your servers for CVE-2021-47201
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-47201 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
iavf: free q_vectors before queues in iavf_disable_vf
iavf_free_queues() clears adapter->num_active_queues, which iavf_free_q_vectors() relies on, so swap the order of these two function calls in iavf_disable_vf(). This resolves a panic encountered when the interface is disabled and then later brought up again after PF communication is restored.
Severity (CVSS)
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.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Apr 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.
| Product | Versions |
|---|---|
| Linux |
affected from 65c7006f234c9ede887d468f595f259a5c5cc552, before 926e8c83d4c1c2dac0026637eb0d492df876489e affected from 65c7006f234c9ede887d468f595f259a5c5cc552, before 78638b47132244e3934dc5dc79f6372d5ce8e98c affected from 65c7006f234c9ede887d468f595f259a5c5cc552, before 9ef6589cac9a8c47f5544ccdf4c498093733bb3f affected from 65c7006f234c9ede887d468f595f259a5c5cc552, before 89f22f129696ab53cfbc608e0a2184d0fea46ac1
Other versions: unaffected
|
| Linux |
affected 4.13 unaffected before 4.13 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-47201 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47201
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-47201
trivy image --scanners vuln IMAGE | grep CVE-2021-47201
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
- https://git.kernel.org/stable/c/926e8c83d4c1c2dac0026637eb0d492df876489e git.kernel.org
- https://git.kernel.org/stable/c/78638b47132244e3934dc5dc79f6372d5ce8e98c git.kernel.org
- https://git.kernel.org/stable/c/9ef6589cac9a8c47f5544ccdf4c498093733bb3f git.kernel.org
- https://git.kernel.org/stable/c/89f22f129696ab53cfbc608e0a2184d0fea46ac1 git.kernel.org
Source: the record CVE-2021-47201 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.
Vulnpocalypse