Lucene search

K
cvelistLinuxCVELIST:CVE-2021-47161
HistoryMar 25, 2024 - 9:16 a.m.

CVE-2021-47161 spi: spi-fsl-dspi: Fix a resource leak in an error handling path

2024-03-2509:16:15
Linux
www.cve.org
linux
kernel
vulnerability
fix
resource leak
spi-fsl-dspi

7.5 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

10.3%

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

spi: spi-fsl-dspi: Fix a resource leak in an error handling path

‘dspi_request_dma()’ should be undone by a ‘dspi_release_dma()’ call in the
error handling path of the probe function, as already done 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/spi/spi-fsl-dspi.c"
    ],
    "versions": [
      {
        "version": "90ba37033cb9",
        "lessThan": "10a089bae827",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "90ba37033cb9",
        "lessThan": "00450ed03a17",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "90ba37033cb9",
        "lessThan": "15d1cc4b4b58",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "90ba37033cb9",
        "lessThan": "fe6921e3b845",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "90ba37033cb9",
        "lessThan": "12391be4724a",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "90ba37033cb9",
        "lessThan": "680ec0549a05",
        "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/spi/spi-fsl-dspi.c"
    ],
    "versions": [
      {
        "version": "4.10",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.10",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.14.241",
        "lessThanOrEqual": "4.14.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.199",
        "lessThanOrEqual": "4.19.*",
        "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"
      }
    ]
  }
]

7.5 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

10.3%