CVE-2021-47051

MediumCVSS 5.5/10Last modified Jun 17, 2026

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.

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected software

VendorProductVersions
LinuxLinux>= 944c01a889d97dc08e1b71f4ed868f4023fd6034, < 4a01ad002d2e03c399af536562693752af7c81b1; >= 944c01a889d97dc08e1b71f4ed868f4023fd6034, < ce02e58ddf8658a4c3bed2296f32a5873b3f7cce; >= 944c01a889d97dc08e1b71f4ed868f4023fd6034, < b8207bfc539cd07d15e753ff2d179c5b61c673b1; >= 944c01a889d97dc08e1b71f4ed868f4023fd6034, < 6a2b5cee0d31ab6cc51030c441135b0e31217282; >= 944c01a889d97dc08e1b71f4ed868f4023fd6034, < a03675497970a93fcf25d81d9d92a59c2d7377a7
LinuxLinux5.2

References

Timeline

Published
Feb 28, 2024
Last modified
Jun 17, 2026
NVD status
Analyzed

Related CVEs from 2021

CVE-2021-470525.5In the Linux kernel, the following vulnerability has been resolved: crypto: sa2ul - Fix memory leak of rxd There are two error return pathCVE-2021-470535.5In the Linux kernel, the following vulnerability has been resolved: crypto: sun8i-ss - Fix memory leak of pad It appears there are severalCVE-2021-470545.5In the Linux kernel, the following vulnerability has been resolved: bus: qcom: Put child node before return Put child node before return tCVE-2021-470555.5In the Linux kernel, the following vulnerability has been resolved: mtd: require write permissions for locking and badblock ioctls MEMLOCKCVE-2021-470565.5In the Linux kernel, the following vulnerability has been resolved: crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init ACVE-2021-470575.5In the Linux kernel, the following vulnerability has been resolved: crypto: sun8i-ss - Fix memory leak of object d when dma_iv fails to mapCVE-2021-470587.8In the Linux kernel, the following vulnerability has been resolved: regmap: set debugfs_name to NULL after it is freed There is a upstreamCVE-2021-470595.5In the Linux kernel, the following vulnerability has been resolved: crypto: sun8i-ss - fix result memory leak on error path This patch fixCVE-2021-470607.8In the Linux kernel, the following vulnerability has been resolved: KVM: Stop looking for coalesced MMIO zones if the bus is destroyed AboCVE-2021-470617.8In the Linux kernel, the following vulnerability has been resolved: KVM: Destroy I/O bus devices on unregister failure _after_ sync'ing SRCCVE-2021-470625.5In the Linux kernel, the following vulnerability has been resolved: KVM: SVM: Use online_vcpus, not created_vcpus, to iterate over vCPUs UCVE-2021-470637.8In the Linux kernel, the following vulnerability has been resolved: drm: bridge/panel: Cleanup connector on bridge detach If we don't call
CVE-2021-47051: Medium severity, CVSS 5.5 | Vulnix