# CVE-2022-49386: net: ethernet: ti: am65-cpsw-nuss: Fix some refcount leaks

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2025-02-26T02:11:21.197Z
- Modified: 2026-06-17T05:17:54.073Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 93a76530316a3d8cc2d82c3deca48424fee92100 before f7ba2cc57f404d2d9f26fb85bd3833d35a477829; from 93a76530316a3d8cc2d82c3deca48424fee92100 before a4b7ef3b159805ba6be061d0cd2403d84b9b0063; from 93a76530316a3d8cc2d82c3deca48424fee92100 before 78aca10a16f001c9f49f1cc4dadfee8d444bb173; from 93a76530316a3d8cc2d82c3deca48424fee92100 before 2e44f21c384503562713b7d3b673c40bed20af3d; from 93a76530316a3d8cc2d82c3deca48424fee92100 before 5dd89d2fc438457811cbbec07999ce0d80051ff5; 5.7 (not affected: before 5.7; from 5.10.122 up to 5.10.*; from 5.15.47 up to 5.15.*; from 5.17.15 up to 5.17.*; from 5.18.4 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 5.7 before 5.10.122; from 5.11 before 5.15.47; from 5.16 before 5.17.15; from 5.18 before 5.18.4

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/f7ba2cc57f404d2d9f26fb85bd3833d35a477829> (patch)
- <https://git.kernel.org/stable/c/a4b7ef3b159805ba6be061d0cd2403d84b9b0063> (patch)
- <https://git.kernel.org/stable/c/78aca10a16f001c9f49f1cc4dadfee8d444bb173> (patch)
- <https://git.kernel.org/stable/c/2e44f21c384503562713b7d3b673c40bed20af3d> (patch)
- <https://git.kernel.org/stable/c/5dd89d2fc438457811cbbec07999ce0d80051ff5> (patch)

## Sources

- CVE List: [CVE-2022-49386](https://www.cve.org/CVERecord?id=CVE-2022-49386), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49386](https://nvd.nist.gov/vuln/detail/CVE-2022-49386), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49386 · Whole record: https://cve.day/CVE-2022-49386.json · Rebuilt by cve.day 2026-11-25T22:58:20.489Z
