CVE-2021-47051

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

MEDIUM
5.5
CVSS Score
Published: February 28, 2024 at 08:13 AM UTC
Updated: June 17, 2026 at 04:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.11.215.12 ≤ v < 5.12.45.2 ≤ v < 5.10.375.2 ≤ v < 5.11.215.2 ≤ v < 5.12.45.2 ≤ v < 5.135.2 ≤ v < 5.4.1195.5 ≤ v < 5.10.375.2944c01a889d97dc08e1b71f4ed868f4023fd6034
Vendor states this is fixed in 4a01ad002d2e03c399af536562693752af7c81b1 (fixed)
Vendor states this is fixed in 6a2b5cee0d31ab6cc51030c441135b0e31217282 (fixed)
Vendor states this is fixed in a03675497970a93fcf25d81d9d92a59c2d7377a7 (fixed)
Vendor states this is fixed in b8207bfc539cd07d15e753ff2d179c5b61c673b1 (fixed)
Vendor states this is fixed in ce02e58ddf8658a4c3bed2296f32a5873b3f7cce (fixed)
Vendor states this is fixed in 5.10.37 (unaffected)
Vendor states this is fixed in 5.11.21 (unaffected)
Vendor states this is fixed in 5.12.4 (unaffected)
Vendor states this is fixed in 5.13 (unaffected)
Vendor states this is fixed in 5.2 (unaffected)
Vendor states this is fixed in 5.4.119 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4a01ad002d2e03c399af536562693752af7c81b1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6a2b5cee0d31ab6cc51030c441135b0e31217282
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a03675497970a93fcf25d81d9d92a59c2d7377a7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b8207bfc539cd07d15e753ff2d179c5b61c673b1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ce02e58ddf8658a4c3bed2296f32a5873b3f7cce

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card