5.5medium
pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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."
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 and 1 more 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.* | CVE List |
| 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 | NVD |
What each source says
CVE List
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."
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: pinctrl: nomadik: Se corrige la fuga de recuento de referencias en nmk_pinctrl_dt_subnode_to_map. "of_parse_phandle() devuelve un puntero de nodo con el recuento de referencias incrementado. Debemos usar of_node_put() cuando ya no sea necesario. Se ha añadido la falta de of_node_put() para evitar la fuga de recuento de referencias."
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-50061 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2022-50061 changed 2026-06-17 | Public domain |