CVE-2022-49346: net: dsa: lantiq_gswip: Fix refcount leak in gswip_gphy_fw_list
In the Linux kernel, the following vulnerability has been resolved:
net: dsa: lantiq_gswip: Fix refcount leak in gswip_gphy_fw_list
Every iteration of for_each_available_child_of_node() decrements
the reference count of the previous node.
when breaking early from a for_each_available_child_of_node() loop,
we need to explicitly call of_node_put() on the gphy_fw_np.
Add missing of_node_put() to avoid refcount leak.
Security readout for executives and security teams
Plain-English summary
CVE-2022-49346 is a Linux kernel availability issue in the Lantiq GSWIP network switch driver. A local, low-privileged attacker could potentially trigger a reference-count leak that may degrade or deny service. The sources do not show data theft, integrity impact, or active exploitation.
Executive priority
Treat this as a moderate-priority availability risk for Linux-based network or embedded assets, not a broad internet-facing emergency. Patch through normal kernel or firmware maintenance, with faster handling for devices relying on Lantiq GSWIP switching.
Technical view
The flaw is a missing of_node_put() when breaking early from for_each_available_child_of_node() in gswip_gphy_fw_list. This leaks a device-tree node reference in the lantiq_gswip DSA driver. CVSS 3.1 is 5.5 with local attack vector, low complexity, low privileges, and high availability impact.
Likely exposure
Exposure is most likely on Linux systems or embedded devices running affected kernel versions and using the Lantiq GSWIP DSA driver path. Generic Linux hosts without this driver or relevant hardware are less likely to be exposed.
Exploitation context
The provided bundle lists KEV as false and contains no cited evidence of active exploitation or public weaponization. Impact is availability-focused and requires local access with low privileges, according to the CVSS vector.
Researcher notes
Evidence supports a kernel reference-count leak fix, not a remote code execution issue. The source bundle does not include a CWE, exploit details, or named mitigations beyond upstream stable fixes. Validation should focus on affected kernel lineage and driver reachability.
Mitigation direction
Inventory Linux kernels against the affected versions listed in the CVE source bundle.
Prioritize systems using Lantiq GSWIP or related DSA switch functionality.
Update to vendor-supported kernels containing the referenced stable kernel fixes.
If patching is delayed, monitor vendor guidance for supported mitigations.
Track affected embedded firmware images that bundle their own Linux kernels.
Validation and detection
Check running kernel versions on potentially affected Linux and embedded systems.
Confirm whether the lantiq_gswip driver is built, loaded, or used by target hardware.
Verify vendor kernel changelogs include the referenced stable fix commits.
Regression-test networking behavior after kernel or firmware updates.
Document systems confirmed unaffected because the driver or hardware 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-49346 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.