CVE-2022-49342

net: ethernet: bgmac: Fix refcount leak in bcma_mdio_mii_register

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: bgmac: Fix refcount leak in bcma_mdio_mii_register

of_get_child_by_name() returns a node pointer with refcount incremented, we should use of_node_put() on it 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
  • 55954f3bfdacc5908515b0c306cea23e77fab740 to before b51996e35bbfcc7a27d94dfeed5cc2429b2c0df4Affected
  • 55954f3bfdacc5908515b0c306cea23e77fab740 to before 7fb1fe7d9a167205413f1de8db9f7d0f82c78286Affected
  • 55954f3bfdacc5908515b0c306cea23e77fab740 to before b8d91399775c55162073bb2aca061ec42e3d4bc1Affected
LinuxLinux
  • 4.8Affected
  • before 4.8Not 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.