CVE-2021-47201

iavf: free q_vectors before queues in iavf_disable_vf

HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.25 % · percentile 16 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 65c7006f234c9ede887d468f595f259a5c5cc552 < 926e8c83d4c1c2dac0026637eb0d492df876489e ; affected 65c7006f234c9ede887d468f595f259a5c5cc552 < 78638b47132244e3934dc5dc79f6372d5ce8e98c ; affected 65c7006f234c9ede887d468f595f259a5c5cc552 < 9ef6589cac9a8c47f5544ccdf4c498093733bb3f ; affected 65c7006f234c9ede887d468f595f259a5c5cc552 < 89f22f129696ab53cfbc608e0a2184d0fea46ac1
Linux · Linuxaffected 4.13 ; unaffected 0 < 4.13 ; unaffected 5.4.162 ≤ 5.4.* ; unaffected 5.10.82 ≤ 5.10.* ; unaffected 5.15.5 ≤ 5.15.* ; unaffected 5.16 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD