What’s Vulnerable › Vulnerabilities
CVE-2022-50061: pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-06-18 · updated 2026-06-17
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."
Affected products
- 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 — fixed in 4.14.291, 4.19.256, 4.9.326, 5.10.138, 5.15.63, 5.19.4
How to fix
Upgrade to a fixed version: Linux kernel 4.14.291, 4.19.256, 4.9.326, 5.10.138. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/4b32e054335ea0ce50967f63a7bfd4db058b14b9
- https://git.kernel.org/stable/c/587ac8ac00a1a9f4572785229d9441870fd7b187
- https://git.kernel.org/stable/c/78d05103891d3e96144b846fbc39f2cfb3384eae
- https://git.kernel.org/stable/c/81abaab5a4b815c0ed9f4d2c9745777ac5cc395b
- https://git.kernel.org/stable/c/9272265f2f76629e1a67e6d49b3a4461b3da1a73
- https://git.kernel.org/stable/c/c26012a1e61c7bbd1b393d3bbae8dffdb6df65bb
- https://git.kernel.org/stable/c/c35f89a9021fa947ecede0584ae509368a52ec5a
- https://git.kernel.org/stable/c/f498542bc703bf1e5c6a1610e1ea493a437f0196
Get alerted when CVE-2022-50061 or the next vulnerability affects your stack