Lucene search

K
cvelistLinuxCVELIST:CVE-2021-47070
HistoryMar 01, 2024 - 9:15 p.m.

CVE-2021-47070 uio_hv_generic: Fix another memory leak in error handling paths

2024-03-0121:15:09
Linux
www.cve.org
linux kernel
uio_hv_generic
memory leak

7.5 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%

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

uio_hv_generic: Fix another memory leak in error handling paths

Memory allocated by ‘vmbus_alloc_ring()’ at the beginning of the probe
function is never freed in the error handling path.

Add the missing ‘vmbus_free_ring()’ call.

Note that it is already freed in the .remove function.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/uio/uio_hv_generic.c"
    ],
    "versions": [
      {
        "version": "cdfa835c6e5e",
        "lessThan": "5f59240cf25b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "cdfa835c6e5e",
        "lessThan": "0b0226be3a52",
        "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/uio/uio_hv_generic.c"
    ],
    "versions": [
      {
        "version": "4.20",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.20",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.12.7",
        "lessThanOrEqual": "5.12.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.13",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

7.5 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%