{"id":"CVE-2022-49346","summary":"net: dsa: lantiq_gswip: Fix refcount leak in gswip_gphy_fw_list","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: dsa: lantiq_gswip: Fix refcount leak in gswip_gphy_fw_list\n\nEvery iteration of for_each_available_child_of_node() decrements\nthe reference count of the previous node.\nwhen breaking early from a for_each_available_child_of_node() loop,\nwe need to explicitly call of_node_put() on the gphy_fw_np.\nAdd missing of_node_put() to avoid refcount leak.","modified":"2026-04-02T08:27:30.759705Z","published":"2025-02-26T02:11:01.485Z","related":["SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1241-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49346.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0737e018a05e2aa352828c52bdeed3b02cff2930"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2e007ac6fa7c9c94ad84da075c5c504afad690a0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/32cd78c5610f02a929f63cac985e73692d05f33e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/54d6802c4d83fa8de7696cfec06f475d5fd92d27"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7c8df6fad43d9d5d77f281f794b2a93cd02fd1a9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c2ae49a113a5344232f1ebb93bcf18bbd11e9c39"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49346.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49346"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"14fceff4771e51b23b4485b575cf9e5b3414b89b"},{"fixed":"7c8df6fad43d9d5d77f281f794b2a93cd02fd1a9"},{"fixed":"c2ae49a113a5344232f1ebb93bcf18bbd11e9c39"},{"fixed":"54d6802c4d83fa8de7696cfec06f475d5fd92d27"},{"fixed":"32cd78c5610f02a929f63cac985e73692d05f33e"},{"fixed":"2e007ac6fa7c9c94ad84da075c5c504afad690a0"},{"fixed":"0737e018a05e2aa352828c52bdeed3b02cff2930"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49346.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}