CVE-2021-47201

iavf: free q_vectors before queues in iavf_disable_vf

State
Published
Severity
7.8 High
Published
Apr 10, 2024
Updated
Aug 5, 2026
Reserved
Mar 25, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 65c7006f234c9ede887d468f595f259a5c5cc552 to before 926e8c83d4c1c2dac0026637eb0d492df876489eAffected
  • 65c7006f234c9ede887d468f595f259a5c5cc552 to before 78638b47132244e3934dc5dc79f6372d5ce8e98cAffected
  • 65c7006f234c9ede887d468f595f259a5c5cc552 to before 9ef6589cac9a8c47f5544ccdf4c498093733bb3fAffected
  • 65c7006f234c9ede887d468f595f259a5c5cc552 to before 89f22f129696ab53cfbc608e0a2184d0fea46ac1Affected
LinuxLinux
  • 4.13Affected
  • before 4.13Not affected
  • 5.4.162 through 5.4.*Not affected
  • 5.10.82 through 5.10.*Not affected
  • 5.15.5 through 5.15.*Not affected
  • 5.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.