CVE-2021-47051

published 28 Feb 2024 · updated 11 May 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4a01ad002d2e03c399af536562693752af7c81b1, Kernel 6a2b5cee0d31ab6cc51030c441135b0e31217282, Kernel a03675497970a93fcf25d81d9d92a59c2d7377a7 and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.2, >=944c01a889d97dc08e1b71f4ed868f4023fd6034 <4a01ad002d2e03c399af536562693752af7c81b1, >=944c01a889d97dc08e1b71f4ed868f4023fd6034 <6a2b5cee0d31ab6cc51030c441135b0e31217282, >=944c01a889d97dc08e1b71f4ed868f4023fd6034 <a03675497970a93fcf25d81d9d92a59c2d7377a7, >=944c01a889d97dc08e1b71f4ed868f4023fd6034 <b8207bfc539cd07d15e753ff2d179c5b61c673b1, >=944c01a889d97dc08e1b71f4ed868f4023fd6034 <ce02e58ddf8658a4c3bed2296f32a5873b3f7cce4a01ad002d2e03c399af536562693752af7c81b1, 6a2b5cee0d31ab6cc51030c441135b0e31217282, a03675497970a93fcf25d81d9d92a59c2d7377a7, b8207bfc539cd07d15e753ff2d179c5b61c673b1, ce02e58ddf8658a4c3bed2296f32a5873b3f7cce

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47051 severity on Zeptric[![CVE-2021-47051](https://zeptric.io/badge/cve/CVE-2021-47051.svg)](https://zeptric.io/cve/CVE-2021-47051)