CVE-2022-50141

mmc: sdhci-of-esdhc: Fix refcount leak in esdhc_signal_voltage_switch

MEDIUM
5.5
CVSS Score
Published: June 18, 2025 at 11:03 AM UTC
Updated: June 17, 2026 at 05:22 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%

Description

In the Linux kernel, the following vulnerability has been resolved: mmc: sdhci-of-esdhc: Fix refcount leak in esdhc_signal_voltage_switch of_find_matching_node() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak. of_node_put() checks null pointer.

Affected

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

4.12 ≤ v < 4.14.2914.12 ≤ v < 4.19.2564.12 ≤ v < 5.10.1374.12 ≤ v < 5.15.614.12 ≤ v < 5.18.184.12 ≤ v < 5.19.24.12 ≤ v < 5.4.2114.12 ≤ v < 6.04.15 ≤ v < 4.19.2564.20 ≤ v < 5.4.2115.11 ≤ v < 5.15.615.16 ≤ v < 5.18.185.19 ≤ v < 5.19.25.5 ≤ v < 5.10.1374.12ea35645a3c66a74af92d3bbb4eb131220fc3e58a
Vendor states this is fixed in 352377cf74710bc3368dddf78f17210dfe456933 (fixed)
Vendor states this is fixed in 4c472a2c9ed6ea9d272268d7f484d4303c549f1a (fixed)
Vendor states this is fixed in 547db1dd98d1815574ebea7358015a17199a93bc (fixed)
Vendor states this is fixed in 8b902840f6a3584f702bcb59834691b30f3d7c5a (fixed)
Vendor states this is fixed in a63d5d01e83b984b1b9c7ae8fc9c8c93697a3820 (fixed)
Vendor states this is fixed in b074f1e8060836baeb0ee91181f4194b9a0ee16a (fixed)
Vendor states this is fixed in b305475df756256a186623f0991d05a816de881a (fixed)
Vendor states this is fixed in b5899a3e2f783a27b268e38d37f9b24c71bddf45 (fixed)
Vendor states this is fixed in 4.12 (unaffected)
Vendor states this is fixed in 4.14.291 (unaffected)
Vendor states this is fixed in 4.19.256 (unaffected)
Vendor states this is fixed in 5.10.137 (unaffected)
Vendor states this is fixed in 5.15.61 (unaffected)
Vendor states this is fixed in 5.18.18 (unaffected)
Vendor states this is fixed in 5.19.2 (unaffected)
Vendor states this is fixed in 5.4.211 (unaffected)
Vendor states this is fixed in 6.0 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/352377cf74710bc3368dddf78f17210dfe456933
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4c472a2c9ed6ea9d272268d7f484d4303c549f1a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/547db1dd98d1815574ebea7358015a17199a93bc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8b902840f6a3584f702bcb59834691b30f3d7c5a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a63d5d01e83b984b1b9c7ae8fc9c8c93697a3820
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b074f1e8060836baeb0ee91181f4194b9a0ee16a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b305475df756256a186623f0991d05a816de881a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b5899a3e2f783a27b268e38d37f9b24c71bddf45

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