Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.2, < 5.4.119 |
References
- https://git.kernel.org/stable/c/4a01ad002d2e03c399af536562693752af7c81b1Patch
- https://git.kernel.org/stable/c/6a2b5cee0d31ab6cc51030c441135b0e31217282Patch
- https://git.kernel.org/stable/c/a03675497970a93fcf25d81d9d92a59c2d7377a7Patch
- https://git.kernel.org/stable/c/b8207bfc539cd07d15e753ff2d179c5b61c673b1Patch
- https://git.kernel.org/stable/c/ce02e58ddf8658a4c3bed2296f32a5873b3f7ccePatch
- https://git.kernel.org/stable/c/4a01ad002d2e03c399af536562693752af7c81b1Patch
- https://git.kernel.org/stable/c/6a2b5cee0d31ab6cc51030c441135b0e31217282Patch
- https://git.kernel.org/stable/c/a03675497970a93fcf25d81d9d92a59c2d7377a7Patch
- https://git.kernel.org/stable/c/b8207bfc539cd07d15e753ff2d179c5b61c673b1Patch
- https://git.kernel.org/stable/c/ce02e58ddf8658a4c3bed2296f32a5873b3f7ccePatch
FAQ
What is CVE-2021-47051?
CVE-2021-47051 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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...
How severe is CVE-2021-47051?
CVE-2021-47051 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-47051?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.