Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2021-47201
HistoryApr 10, 2024 - 6:56 p.m.

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

2024-04-1018:56:35
Linux
github.com
1
linux kernel
vulnerability
iavf_disable_vf
q_vectors
queues
iavf_free_queues
iavf_free_q_vectors
panic
interface disabled

6.8 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.5%

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.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/ethernet/intel/iavf/iavf_main.c"
    ],
    "versions": [
      {
        "version": "65c7006f234c",
        "lessThan": "926e8c83d4c1",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "65c7006f234c",
        "lessThan": "78638b471322",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "65c7006f234c",
        "lessThan": "9ef6589cac9a",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "65c7006f234c",
        "lessThan": "89f22f129696",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/ethernet/intel/iavf/iavf_main.c"
    ],
    "versions": [
      {
        "version": "4.13",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.13",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.162",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.82",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.5",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.16",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.8 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.5%