Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2021-46962
HistoryFeb 27, 2024 - 7:04 p.m.

CVE-2021-46962

2024-02-2719:04:06
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
2386
linux
kernel
vulnerability
cve-2021-46962
fix
resource leak
mmc
uniphier-sd
nvd

6.4 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%

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

mmc: uniphier-sd: Fix a resource leak in the remove function

A ‘tmio_mmc_host_free()’ call is missing in the remove function, in order
to balance a ‘tmio_mmc_host_alloc()’ call in the probe.
This is done in the error handling path of the probe, but not in the remove
function.

Add the missing call.

Affected configurations

Vulners
Node
linuxlinux_kernelRange4.205.4.118
OR
linuxlinux_kernelRange5.5.05.10.36
OR
linuxlinux_kernelRange5.11.05.11.20
OR
linuxlinux_kernelRange5.12.05.12.3
OR
linuxlinux_kernelRange5.13.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/mmc/host/uniphier-sd.c"
    ],
    "versions": [
      {
        "version": "3fd784f745dd",
        "lessThan": "0d8941b9b2d3",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "3fd784f745dd",
        "lessThan": "25ac6ce65f1a",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "3fd784f745dd",
        "lessThan": "ebe0f12cf4c0",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "3fd784f745dd",
        "lessThan": "d6e7fda49697",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "3fd784f745dd",
        "lessThan": "e29c84857e2d",
        "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/mmc/host/uniphier-sd.c"
    ],
    "versions": [
      {
        "version": "4.20",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.20",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.118",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.36",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.11.20",
        "lessThanOrEqual": "5.11.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.12.3",
        "lessThanOrEqual": "5.12.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.13",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.4 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%