CVE-2022-49351

net: altera: Fix refcount leak in altera_tse_mdio_create

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: altera: Fix refcount leak in altera_tse_mdio_create

Every iteration of for_each_child_of_node() decrements the reference count of the previous node. When break from a for_each_child_of_node() loop, we need to explicitly call of_node_put() on the child node when not need anymore. 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
  • bbd2190ce96d8fce031f0526c1f970b68adc9d1a to before a013fa884d8738ad8455aa1a843b8c9d80c6c833Affected
  • bbd2190ce96d8fce031f0526c1f970b68adc9d1a to before 1fd12298a0e0ca23478c715e672ee64c85670584Affected
  • bbd2190ce96d8fce031f0526c1f970b68adc9d1a to before 5cd0e22fa11f4a21a8c09cc258f20b1474c95801Affected
  • bbd2190ce96d8fce031f0526c1f970b68adc9d1a to before 8174acbef87b8dd8bf3731eba2a5af1ac857e239Affected
  • bbd2190ce96d8fce031f0526c1f970b68adc9d1a to before 96bf5ed057df2d157274d4e2079002f9a9404bb8Affected
  • bbd2190ce96d8fce031f0526c1f970b68adc9d1a to before e31d9ba169860687dba19bdc8fccbfd34077f655Affected
  • bbd2190ce96d8fce031f0526c1f970b68adc9d1a to before 803b217f1fb49a2dbb2123acdb45111b9c48b8beAffected
  • bbd2190ce96d8fce031f0526c1f970b68adc9d1a to before 4f850fe0a32c3f1e19b76996a3b1ca32637a14deAffected
  • bbd2190ce96d8fce031f0526c1f970b68adc9d1a to before 11ec18b1d8d92b9df307d31950dcba0b3dd7283cAffected
LinuxLinux
  • 3.15Affected
  • before 3.15Not affected
  • 4.9.318 through 4.9.*Not affected
  • 4.14.283 through 4.14.*Not affected
  • 4.19.247 through 4.19.*Not affected
  • 5.4.198 through 5.4.*Not 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.