# CVE-2022-50061: pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map

- 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-01)
- Published: 2025-06-18T11:02:09.215Z
- Modified: 2026-06-17T05:22:40.090Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map

of_parse_phandle() 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."

(As written by CVE List.)

## Affected

- Linux Linux: from c2f6d059abfc29822af732e4da70813a5b6fd9cd before 81abaab5a4b815c0ed9f4d2c9745777ac5cc395b; from c2f6d059abfc29822af732e4da70813a5b6fd9cd before c35f89a9021fa947ecede0584ae509368a52ec5a; from c2f6d059abfc29822af732e4da70813a5b6fd9cd before f498542bc703bf1e5c6a1610e1ea493a437f0196; from c2f6d059abfc29822af732e4da70813a5b6fd9cd before c26012a1e61c7bbd1b393d3bbae8dffdb6df65bb; from c2f6d059abfc29822af732e4da70813a5b6fd9cd before 78d05103891d3e96144b846fbc39f2cfb3384eae; from c2f6d059abfc29822af732e4da70813a5b6fd9cd before 9272265f2f76629e1a67e6d49b3a4461b3da1a73; from c2f6d059abfc29822af732e4da70813a5b6fd9cd before 587ac8ac00a1a9f4572785229d9441870fd7b187; from c2f6d059abfc29822af732e4da70813a5b6fd9cd before 4b32e054335ea0ce50967f63a7bfd4db058b14b9; 3.18 (not affected: before 3.18; from 4.9.326 up to 4.9.*; 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.138 up to 5.10.*; from 5.15.63 up to 5.15.*; from 5.19.4 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 3.18 before 4.9.326; from 4.10 before 4.14.291; from 4.15 before 4.19.256; from 4.20 before 5.4.211; from 5.5 before 5.10.138; from 5.11 before 5.15.63; from 5.16 before 5.19.4

## References

- <https://git.kernel.org/stable/c/81abaab5a4b815c0ed9f4d2c9745777ac5cc395b> (patch)
- <https://git.kernel.org/stable/c/c35f89a9021fa947ecede0584ae509368a52ec5a> (patch)
- <https://git.kernel.org/stable/c/f498542bc703bf1e5c6a1610e1ea493a437f0196> (patch)
- <https://git.kernel.org/stable/c/c26012a1e61c7bbd1b393d3bbae8dffdb6df65bb> (patch)
- <https://git.kernel.org/stable/c/78d05103891d3e96144b846fbc39f2cfb3384eae> (patch)
- <https://git.kernel.org/stable/c/9272265f2f76629e1a67e6d49b3a4461b3da1a73> (patch)
- <https://git.kernel.org/stable/c/587ac8ac00a1a9f4572785229d9441870fd7b187> (patch)
- <https://git.kernel.org/stable/c/4b32e054335ea0ce50967f63a7bfd4db058b14b9> (patch)

## Sources

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

---

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