# CVE-2022-49346: net: dsa: lantiq_gswip: Fix refcount leak in gswip_gphy_fw_list

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2025-02-26T02:11:01.485Z
- Modified: 2026-06-17T05:17:46.927Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 14fceff4771e51b23b4485b575cf9e5b3414b89b before 7c8df6fad43d9d5d77f281f794b2a93cd02fd1a9; from 14fceff4771e51b23b4485b575cf9e5b3414b89b before c2ae49a113a5344232f1ebb93bcf18bbd11e9c39; from 14fceff4771e51b23b4485b575cf9e5b3414b89b before 54d6802c4d83fa8de7696cfec06f475d5fd92d27; from 14fceff4771e51b23b4485b575cf9e5b3414b89b before 32cd78c5610f02a929f63cac985e73692d05f33e; from 14fceff4771e51b23b4485b575cf9e5b3414b89b before 2e007ac6fa7c9c94ad84da075c5c504afad690a0; from 14fceff4771e51b23b4485b575cf9e5b3414b89b before 0737e018a05e2aa352828c52bdeed3b02cff2930; 4.20 (not affected: before 4.20; from 5.4.198 up to 5.4.*; from 5.10.122 up to 5.10.*; from 5.15.47 up to 5.15.*; from 5.17.15 up to 5.17.*; from 5.18.4 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 4.20 before 5.4.198; from 5.5 before 5.10.122; from 5.11 before 5.15.47; from 5.16 before 5.17.15; from 5.18 before 5.18.4; 5.19

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/7c8df6fad43d9d5d77f281f794b2a93cd02fd1a9> (patch)
- <https://git.kernel.org/stable/c/c2ae49a113a5344232f1ebb93bcf18bbd11e9c39> (patch)
- <https://git.kernel.org/stable/c/54d6802c4d83fa8de7696cfec06f475d5fd92d27> (patch)
- <https://git.kernel.org/stable/c/32cd78c5610f02a929f63cac985e73692d05f33e> (patch)
- <https://git.kernel.org/stable/c/2e007ac6fa7c9c94ad84da075c5c504afad690a0> (patch)
- <https://git.kernel.org/stable/c/0737e018a05e2aa352828c52bdeed3b02cff2930> (patch)

## Sources

- CVE List: [CVE-2022-49346](https://www.cve.org/CVERecord?id=CVE-2022-49346), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49346](https://nvd.nist.gov/vuln/detail/CVE-2022-49346), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49346 · Whole record: https://cve.day/CVE-2022-49346.json · Rebuilt by cve.day 2026-11-25T22:58:20.434Z
