Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2022-49342

net: ethernet: bgmac: Fix refcount leak in bcma_mdio_mii_register

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 55954f3bfdacc5908515b0c306cea23e77fab740 to < b51996e35bbfcc7a27d94dfeed5cc2429b2c0df4affected
  • 55954f3bfdacc5908515b0c306cea23e77fab740 to < 7fb1fe7d9a167205413f1de8db9f7d0f82c78286affected
  • 55954f3bfdacc5908515b0c306cea23e77fab740 to < b8d91399775c55162073bb2aca061ec42e3d4bc1affected

Linux Linux

Default version status: affected

  • 4.8affected
  • 0 to < 4.8unaffected
  • 5.17.15 to ≤ 5.17.*unaffected
  • 5.18.4 to ≤ 5.18.*unaffected
  • 5.19 to ≤ *unaffected

References