CVE-2022-49386

net: ethernet: ti: am65-cpsw-nuss: Fix some refcount leaks

State
Published
Severity
5.5 Medium
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 93a76530316a3d8cc2d82c3deca48424fee92100 to before f7ba2cc57f404d2d9f26fb85bd3833d35a477829Affected
  • 93a76530316a3d8cc2d82c3deca48424fee92100 to before a4b7ef3b159805ba6be061d0cd2403d84b9b0063Affected
  • 93a76530316a3d8cc2d82c3deca48424fee92100 to before 78aca10a16f001c9f49f1cc4dadfee8d444bb173Affected
  • 93a76530316a3d8cc2d82c3deca48424fee92100 to before 2e44f21c384503562713b7d3b673c40bed20af3dAffected
  • 93a76530316a3d8cc2d82c3deca48424fee92100 to before 5dd89d2fc438457811cbbec07999ce0d80051ff5Affected
LinuxLinux
  • 5.7Affected
  • before 5.7Not affected
  • 5.10.122 through 5.10.*Not affected
  • 5.15.47 through 5.15.*Not affected
  • 5.17.15 through 5.17.*Not affected
  • 5.18.4 through 5.18.*Not affected
  • 5.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.