CVE-2021-47051

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

published February 28, 2024

CVSS
—
EPSS
0%
Percentile
12.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00225 · 12.4th percentile
Published
2024-02-28T08:13Z
EPSS history
Timeline
  • 28 FEB 08:13Z
    spi: fsl-lpspi: Fix PM reference leak in lpspi_prepare_xfer_hardware()
    cvelistv5