Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2021-47071
HistoryMar 01, 2024 - 9:15 p.m.

CVE-2021-47071 uio_hv_generic: Fix a memory leak in error handling paths

2024-03-0121:15:10
Linux
github.com
linux kernel
vulnerability
uio_hv_generic

6.8 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%

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

uio_hv_generic: Fix a memory leak in error handling paths

If ‘vmbus_establish_gpadl()’ fails, the (recv|send)_gpadl will not be
updated and ‘hv_uio_cleanup()’ in the error handling path will not be
able to free the corresponding buffer.

In such a case, we need to free the buffer explicitly.

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": "cdd91637d4ef",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "cdfa835c6e5e",
        "lessThan": "d84b5e912212",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "cdfa835c6e5e",
        "lessThan": "53486c467e35",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "cdfa835c6e5e",
        "lessThan": "3ee098f96b8b",
        "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.4.122",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.40",
        "lessThanOrEqual": "5.10.*",
        "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"
      }
    ]
  }
]

6.8 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%