CVE-2022-49185Published Feb 26, 2025 · Feb 26Updated Oct 28
pinctrl: nomadik: Add missing of_node_put() in nmk_pinctrl_probe
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 32e67eee670e1254ee5ab41e2f454680acb9c17c · < c52703355766c347f270df222a744e0c491a02f2| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
pinctrl: nomadik: Add missing of_node_put() in nmk_pinctrl_probe
This node pointer is returned by of_parse_phandle() with refcount incremented in this function. Calling of_node_put() to avoid the refcount leak.
From the CVE record · Linux
The Linux kernel’s nmk_pinctrl_probe function fails to release a node reference returned by of_parse_phandle(), causing a reference count leak. The input does not describe what an attacker could do or specify network, authentication, or user-interaction conditions.
Teams running Linux kernels that include the nomadik pinctrl component should check whether their kernel is affected; affected versions were not provided.