← CVE Intelligence

CVE-2022-49342

net: ethernet: bgmac: Fix refcount leak in bcma_mdio_mii_register PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 55954f3bfdacc5908515b0c306cea23e77fab740 before b51996e35bbfcc7a27d94dfeed5cc2429b2c0df4; affected 55954f3bfdacc5908515b0c306cea23e77fab740 before 7fb1fe7d9a167205413f1de8db9f7d0f82c78286; affected 55954f3bfdacc5908515b0c306cea23e77fab740 before b8d91399775c55162073bb2aca061ec42e3d4bc1
Linux / Linuxaffected 4.8; unaffected 0 before 4.8; unaffected 5.17.15 through 5.17.*; unaffected 5.18.4 through 5.18.*; unaffected 5.19 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.