CVE-2022-49342: net: ethernet: bgmac: Fix refcount leak in bcma_mdio_mii_register
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.
Security readout for executives and security teams
Plain-English summary
This Linux kernel issue is a resource leak in a Broadcom Ethernet driver path. It is rated medium because the known impact is denial of service, not data theft or code execution. Exposure depends on whether affected kernel versions and the bgmac/bcma MDIO code path are present.
Executive priority
Treat as a routine but real availability risk. Prioritize kernel maintenance for exposed Linux systems, especially embedded or network-facing appliances using Broadcom Ethernet hardware. There is no source-backed evidence of active exploitation or data compromise.
Technical view
bcma_mdio_mii_register failed to release a device-tree node reference returned by of_get_child_by_name. The missing of_node_put can leak references. CVSS 3.1 is 5.5: local attack vector, low complexity, low privileges, no user interaction, and high availability impact.
Likely exposure
Linux systems running affected kernel builds that include and use the bgmac Broadcom Ethernet driver path may be exposed. The bundle lists Linux kernel versions including 4.8, 5.17.15, 5.18.4, and 5.19 as affected data, but distribution backports may differ.
Exploitation context
The source bundle does not show active exploitation, and KEV is false. CVSS indicates local, low-privileged conditions with availability impact only. No public exploit evidence is provided in the supplied sources.
Researcher notes
The core bug is a device-tree reference count leak in bcma_mdio_mii_register. The available evidence is limited to the CVE record, CVSS metadata, and kernel stable commit references. Product exposure should be validated through kernel configuration, hardware use, and downstream vendor backports.
Mitigation direction
Apply vendor kernel updates that include the referenced stable fixes.
Check distribution advisories for backported fixes before relying on version numbers.
Prioritize systems using Broadcom bgmac Ethernet or bcma MDIO hardware paths.
If patching is delayed, limit local access by untrusted users.
Track Linux kernel and distribution guidance for this CVE.
Validation and detection
Inventory Linux kernel versions across servers, appliances, and embedded systems.
Confirm whether bgmac and bcma MDIO support is present or used.
Map installed kernels to vendor advisories or the referenced stable commits.
Verify patched systems include the missing of_node_put fix.
Document exceptions where the affected driver path is absent.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2022-49342 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.