net: ethernet: ti: am65-cpsw-nuss: Fix some refcount leaks
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: ethernet: ti: am65-cpsw-nuss: Fix some refcount leaks
of_get_child_by_name() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. am65_cpsw_init_cpts() and am65_cpsw_nuss_probe() don't release the refcount in error case. Add missing of_node_put() to avoid refcount leak.
From the CVE record · Linux
The Linux kernel’s TI AM65 CPSW driver fails to release a device-tree node reference on certain error paths, causing a reference-count leak. The input does not describe an attacker action or specify access, authentication, or user-interaction requirements.
Engineers running the Linux kernel with the TI AM65 CPSW driver should check their systems; affected versions are not specified.