# CVE-2022-50141: mmc: sdhci-of-esdhc: Fix refcount leak in esdhc_signal_voltage_switch

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-02)
- Published: 2025-06-18T11:03:03.704Z
- Modified: 2026-06-17T05:22:50.513Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from ea35645a3c66a74af92d3bbb4eb131220fc3e58a before a63d5d01e83b984b1b9c7ae8fc9c8c93697a3820; from ea35645a3c66a74af92d3bbb4eb131220fc3e58a before 547db1dd98d1815574ebea7358015a17199a93bc; from ea35645a3c66a74af92d3bbb4eb131220fc3e58a before 4c472a2c9ed6ea9d272268d7f484d4303c549f1a; from ea35645a3c66a74af92d3bbb4eb131220fc3e58a before b305475df756256a186623f0991d05a816de881a; from ea35645a3c66a74af92d3bbb4eb131220fc3e58a before 352377cf74710bc3368dddf78f17210dfe456933; from ea35645a3c66a74af92d3bbb4eb131220fc3e58a before b074f1e8060836baeb0ee91181f4194b9a0ee16a; from ea35645a3c66a74af92d3bbb4eb131220fc3e58a before 8b902840f6a3584f702bcb59834691b30f3d7c5a; from ea35645a3c66a74af92d3bbb4eb131220fc3e58a before b5899a3e2f783a27b268e38d37f9b24c71bddf45; 4.12 (not affected: before 4.12; from 4.14.291 up to 4.14.*; from 4.19.256 up to 4.19.*; from 5.4.211 up to 5.4.*; from 5.10.137 up to 5.10.*; from 5.15.61 up to 5.15.*; from 5.18.18 up to 5.18.*; from 5.19.2 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 4.12 before 4.14.291; from 4.15 before 4.19.256; from 4.20 before 5.4.211; from 5.5 before 5.10.137; from 5.11 before 5.15.61; from 5.16 before 5.18.18; from 5.19 before 5.19.2

## References

- <https://git.kernel.org/stable/c/a63d5d01e83b984b1b9c7ae8fc9c8c93697a3820> (patch)
- <https://git.kernel.org/stable/c/547db1dd98d1815574ebea7358015a17199a93bc> (patch)
- <https://git.kernel.org/stable/c/4c472a2c9ed6ea9d272268d7f484d4303c549f1a> (patch)
- <https://git.kernel.org/stable/c/b305475df756256a186623f0991d05a816de881a> (patch)
- <https://git.kernel.org/stable/c/352377cf74710bc3368dddf78f17210dfe456933> (patch)
- <https://git.kernel.org/stable/c/b074f1e8060836baeb0ee91181f4194b9a0ee16a> (patch)
- <https://git.kernel.org/stable/c/8b902840f6a3584f702bcb59834691b30f3d7c5a> (patch)
- <https://git.kernel.org/stable/c/b5899a3e2f783a27b268e38d37f9b24c71bddf45> (patch)

## Sources

- CVE List: [CVE-2022-50141](https://www.cve.org/CVERecord?id=CVE-2022-50141), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50141](https://nvd.nist.gov/vuln/detail/CVE-2022-50141), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50141 · Whole record: https://cve.day/CVE-2022-50141.json · Rebuilt by cve.day 2026-11-25T22:58:21.072Z
