iavf: free q_vectors before queues in iavf_disable_vf
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The iavf driver frees queues before the queue vectors that depend on them. This can cause a kernel panic when an interface is disabled and later brought up after PF communication is restored. The input does not describe an attacker path, authentication requirements, or user interaction.
Engineers running the Linux kernel with the iavf driver should check whether their kernel includes the fix; affected versions are not specified.