Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2021-47141
HistoryMar 25, 2024 - 9:07 a.m.

CVE-2021-47141 gve: Add NULL pointer checks when freeing irqs.

2024-03-2509:07:39
Linux
github.com
5
linux kernel
gve
null pointer checks

AI Score

6.7

Confidence

Low

EPSS

0

Percentile

15.5%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

In the Linux kernel, the following vulnerability has been resolved:

gve: Add NULL pointer checks when freeing irqs.

When freeing notification blocks, we index priv->msix_vectors.
If we failed to allocate priv->msix_vectors (see abort_with_msix_vectors)
this could lead to a NULL pointer dereference if the driver is unloaded.

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/google/gve/gve_main.c"
    ],
    "versions": [
      {
        "version": "893ce44df565",
        "lessThan": "821149ee88c2",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "893ce44df565",
        "lessThan": "da21a35c00ff",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "893ce44df565",
        "lessThan": "5278c75266c5",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "893ce44df565",
        "lessThan": "5218e919c8d0",
        "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/google/gve/gve_main.c"
    ],
    "versions": [
      {
        "version": "5.3",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.3",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.124",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.42",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.12.9",
        "lessThanOrEqual": "5.12.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.13",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.7

Confidence

Low

EPSS

0

Percentile

15.5%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial