pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ c2f6d059abfc29822af732e4da70813a5b6fd9cd · < 9272265f2f76629e1a67e6d49b3a4461b3da1a73| No fix yet |
| Linux Linux |
|
|
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."
From the CVE record · Linux
The Linux kernel's nomadik pinctrl code can leak a device-tree node reference because nmk_pinctrl_dt_subnode_to_map does not release a pointer returned by of_parse_phandle(). The input does not establish an attacker action or specify network access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the nomadik pinctrl code should check their exposure; affected versions are not specified.