Lucene search

K
cveLinuxCVE-2021-47051
HistoryFeb 28, 2024 - 9:15 a.m.

CVE-2021-47051

2024-02-2809:15:40
Linux
web.nvd.nist.gov
2847
linux
kernel
vulnerability
spi
fsl-lpspi
pm reference leak
nvd
cve-2021-47051

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

15.5%

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

spi: fsl-lpspi: Fix PM reference leak in lpspi_prepare_xfer_hardware()

pm_runtime_get_sync will increment pm usage counter even it failed.
Forgetting to putting operation will result in reference leak here.
Fix it by replacing it with pm_runtime_resume_and_get to keep usage
counter balanced.

Affected configurations

Vulners
Node
linuxlinux_kernelRange5.25.4.119
OR
linuxlinux_kernelRange5.5.05.10.37
OR
linuxlinux_kernelRange5.11.05.11.21
OR
linuxlinux_kernelRange5.12.05.12.4
OR
linuxlinux_kernelRange5.13.0
VendorProductVersionCPE
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/spi/spi-fsl-lpspi.c"
    ],
    "versions": [
      {
        "version": "944c01a889d9",
        "lessThan": "4a01ad002d2e",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "944c01a889d9",
        "lessThan": "ce02e58ddf86",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "944c01a889d9",
        "lessThan": "b8207bfc539c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "944c01a889d9",
        "lessThan": "6a2b5cee0d31",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "944c01a889d9",
        "lessThan": "a03675497970",
        "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-lpspi.c"
    ],
    "versions": [
      {
        "version": "5.2",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.2",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.119",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.37",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.11.21",
        "lessThanOrEqual": "5.11.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.12.4",
        "lessThanOrEqual": "5.12.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.13",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

15.5%