net: altera: Fix refcount leak in altera_tse_mdio_create
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ bbd2190ce96d8fce031f0526c1f970b68adc9d1a · < e31d9ba169860687dba19bdc8fccbfd34077f655| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: altera: Fix refcount leak in altera_tse_mdio_create
Every iteration of for_each_child_of_node() decrements the reference count of the previous node. When break from a for_each_child_of_node() loop, we need to explicitly call of_node_put() on the child node when not need anymore. Add missing of_node_put() to avoid refcount leak.
From the CVE record · Linux
The Linux kernel's altera_tse_mdio_create can leak a device-node reference when it breaks out of a child-node loop without releasing the node. The input does not describe an attacker action, access requirements, or user interaction.
Engineers running the Linux kernel should check their versions; affected versions are not specified in the input.