Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 93a76530316a3d8cc2d82c3deca48424fee92100 before f7ba2cc57f404d2d9f26fb85bd3833d35a477829; affected 93a76530316a3d8cc2d82c3deca48424fee92100 before a4b7ef3b159805ba6be061d0cd2403d84b9b0063; affected 93a76530316a3d8cc2d82c3deca48424fee92100 before 78aca10a16f001c9f49f1cc4dadfee8d444bb173; affected 93a76530316a3d8cc2d82c3deca48424fee92100 before 2e44f21c384503562713b7d3b673c40bed20af3d; affected 93a76530316a3d8cc2d82c3deca48424fee92100 before 5dd89d2fc438457811cbbec07999ce0d80051ff5 |
| Linux / Linux | affected 5.7; unaffected 0 before 5.7; unaffected 5.10.122 through 5.10.*; unaffected 5.15.47 through 5.15.*; unaffected 5.17.15 through 5.17.*; unaffected 5.18.4 through 5.18.*; unaffected 5.19 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/f7ba2cc57f404d2d9f26fb85bd3833d35a477829
- https://git.kernel.org/stable/c/a4b7ef3b159805ba6be061d0cd2403d84b9b0063
- https://git.kernel.org/stable/c/78aca10a16f001c9f49f1cc4dadfee8d444bb173
- https://git.kernel.org/stable/c/2e44f21c384503562713b7d3b673c40bed20af3d
- https://git.kernel.org/stable/c/5dd89d2fc438457811cbbec07999ce0d80051ff5
ADP enrichment
No English description supplied.
No references supplied.