CVE-2022-49342

published 26 Feb 2025 · updated 17 Sep 2026

net: ethernet: bgmac: Fix refcount leak in bcma_mdio_mii_register

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 7fb1fe7d9a167205413f1de8db9f7d0f82c78286, Kernel b51996e35bbfcc7a27d94dfeed5cc2429b2c0df4 and Kernel b8d91399775c55162073bb2aca061ec42e3d4bc1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.8, >=55954f3bfdacc5908515b0c306cea23e77fab740 <7fb1fe7d9a167205413f1de8db9f7d0f82c78286, >=55954f3bfdacc5908515b0c306cea23e77fab740 <b51996e35bbfcc7a27d94dfeed5cc2429b2c0df4, >=55954f3bfdacc5908515b0c306cea23e77fab740 <b8d91399775c55162073bb2aca061ec42e3d4bc17fb1fe7d9a167205413f1de8db9f7d0f82c78286, b51996e35bbfcc7a27d94dfeed5cc2429b2c0df4, b8d91399775c55162073bb2aca061ec42e3d4bc1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49342 severity on Zeptric[![CVE-2022-49342](https://zeptric.io/badge/cve/CVE-2022-49342.svg)](https://zeptric.io/cve/CVE-2022-49342)