CVE-2022-49346 Details
Description
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.
A refcount leak vulnerability has been identified in the Lantiq GSWIP DSA driver of the Linux kernel. The issue arises because the function 'for_each_available_child_of_node()' decrements the reference count of the previous node with each iteration. When the loop is exited early, the reference count of the last node is not properly released, leading to a memory leak. The vulnerability has been addressed by adding the missing 'of_node_put()' call to ensure the reference count is correctly managed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0737e018a05e2aa352828c52bdeed3b02cff2930 | kernel.org | Patch |
| https://git.kernel.org/stable/c/2e007ac6fa7c9c94ad84da075c5c504afad690a0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/32cd78c5610f02a929f63cac985e73692d05f33e | kernel.org | Patch |
| https://git.kernel.org/stable/c/54d6802c4d83fa8de7696cfec06f475d5fd92d27 | kernel.org | Patch |
| https://git.kernel.org/stable/c/7c8df6fad43d9d5d77f281f794b2a93cd02fd1a9 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c2ae49a113a5344232f1ebb93bcf18bbd11e9c39 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.20, < 5.4.198 >= 5.5, < 5.10.122 >= 5.11, < 5.15.47 >= 5.16, < 5.17.15 >= 5.18, < 5.18.4 5.19 rc1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Apr 14, 2025 | Initial Analysis | [email protected] |
| Feb 26, 2025 | New CVE Received | kernel.org |