CVE-2022-50017Published Jun 18, 2025 · Jun 18Updated Oct 28
mips: cavium-octeon: Fix missing of_node_put() in octeon2_usb_clocks_start
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a95cfa6b86a19a822877e75d5a73b2a95d249e70 · < 7822d994eb9579a1df4cdbc315db090a041e50f3| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
mips: cavium-octeon: Fix missing of_node_put() in octeon2_usb_clocks_start
We should call of_node_put() for the reference 'uctl_node' returned by of_get_parent() which will increase the refcount. Otherwise, there will be a refcount leak bug.
From the CVE record · Linux
The Linux kernel’s Cavium Octeon USB clock startup code can leak a device-tree node reference by failing to call of_node_put() after of_get_parent(). The input does not specify an attacker action, access requirements, or whether user interaction is needed.
Engineers running Linux kernels with Cavium Octeon support should check whether their kernel includes the fix; affected versions are not specified.