CVE-2022-49367: net: dsa: mv88e6xxx: Fix refcount leak in mv88e6xxx_mdios_register
In the Linux kernel, the following vulnerability has been resolved:
net: dsa: mv88e6xxx: Fix refcount leak in mv88e6xxx_mdios_register
of_get_child_by_name() returns a node pointer with refcount
incremented, we should use of_node_put() on it when done.
mv88e6xxx_mdio_register() pass the device node to of_mdiobus_register().
We don't need the device node after it.
Add missing of_node_put() to avoid refcount leak.
Security readout for executives and security teams
Plain-English summary
CVE-2022-49367 is a Linux kernel resource leak in the Marvell mv88e6xxx DSA switch driver. It can affect availability, not data confidentiality or integrity. The CVSS vector requires local access with low privileges, so business urgency is highest for Linux-based network devices or embedded systems using this driver.
Executive priority
Schedule remediation through normal kernel or firmware maintenance, with higher priority for network appliances where local users or tenants can trigger driver paths. No source indicates active exploitation or remote attack capability.
Technical view
The bug is a missing of_node_put() after of_get_child_by_name() in mv88e6xxx_mdio_register(). The leaked device-tree node reference can consume kernel resources over repeated use. The CVE is rated CVSS 5.5, local attack vector, low complexity, low privileges, no user interaction, high availability impact.
Likely exposure
Exposure is likely limited to Linux systems with affected kernel versions that include and use the mv88e6xxx DSA driver path. The source lists Linux 4.11 and several stable branch versions through 5.19 as affected, with kernel.org stable fixes referenced.
Exploitation context
The source bundle does not cite public exploitation, and KEV is false. The CVSS vector indicates local, low-privileged access is required. Treat this as a reliability and denial-of-service concern rather than a remote compromise issue based on available evidence.
Researcher notes
The key evidence is the Linux kernel fix description: of_get_child_by_name() increments a node reference, and the code failed to release it after of_mdiobus_register(). Evidence is limited to the CVE record and stable commit references; no exploit details or operational triggers are provided.
Mitigation direction
Update to a vendor kernel containing the referenced stable Linux fixes.
Prioritize Linux-based network appliances using Marvell mv88e6xxx DSA switching hardware.
Check distribution or appliance vendor advisories for backported kernel fixes.
Restrict unnecessary local shell or user access on exposed affected systems.
Validation and detection
Confirm the running kernel version and vendor patch level.
Check whether the mv88e6xxx driver is built, loaded, or used.
Review kernel package changelogs for the referenced stable fix commits.
Validate affected appliances against vendor firmware release notes.
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-49367 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.