CVE-2022-49386 — net: ethernet: ti: am65-cpsw-nuss: Fix some refcount leaks
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 wi…
Published: 2025-02-26 · CVSS: 5.5 · CVSS 3.1
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.
Source: CVE Program · Revision 8b16575c39f1e1810c5e863010da073d2d3285e7