What’s Vulnerable › Vulnerabilities

CVE-2021-47201: iavf: free q_vectors before queues in iavf_disable_vf

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.82, 5.15.5, 5.4.162. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47201 or the next vulnerability affects your stack