CVE-2021-47051

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

State
Published
Severity
Not scored
Published
Feb 28, 2024
Updated
May 11, 2026
Reserved
Feb 27, 2024

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 944c01a889d97dc08e1b71f4ed868f4023fd6034 to before 4a01ad002d2e03c399af536562693752af7c81b1Affected
  • 944c01a889d97dc08e1b71f4ed868f4023fd6034 to before ce02e58ddf8658a4c3bed2296f32a5873b3f7cceAffected
  • 944c01a889d97dc08e1b71f4ed868f4023fd6034 to before b8207bfc539cd07d15e753ff2d179c5b61c673b1Affected
  • 944c01a889d97dc08e1b71f4ed868f4023fd6034 to before 6a2b5cee0d31ab6cc51030c441135b0e31217282Affected
  • 944c01a889d97dc08e1b71f4ed868f4023fd6034 to before a03675497970a93fcf25d81d9d92a59c2d7377a7Affected
LinuxLinux
  • 5.2Affected
  • before 5.2Not affected
  • 5.4.119 through 5.4.*Not affected
  • 5.10.37 through 5.10.*Not affected
  • 5.11.21 through 5.11.*Not affected
  • 5.12.4 through 5.12.*Not affected
  • 5.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.