{"id":"CVE-2022-49591","summary":"net: dsa: microchip: ksz_common: Fix refcount leak bug","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: dsa: microchip: ksz_common: Fix refcount leak bug\n\nIn ksz_switch_register(), we should call of_node_put() for the\nreference returned by of_get_child_by_name() which has increased\nthe refcount.","modified":"2026-04-02T08:27:44.207991Z","published":"2025-02-26T02:23:24.078Z","related":["SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1241-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49591.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4165e02716518bbbe9c9104b39530d40928bc7ce"},{"type":"WEB","url":"https://git.kernel.org/stable/c/88ec2ff42da3ac93b2437dc52fe25cd4372148e6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a14bd7475452c51835dd5a0cee4c8fa48dd0b539"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49591.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49591"},{"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":"912aae27c6af6605eae967ab540c5e26bd76d421"},{"fixed":"88ec2ff42da3ac93b2437dc52fe25cd4372148e6"},{"fixed":"4165e02716518bbbe9c9104b39530d40928bc7ce"},{"fixed":"a14bd7475452c51835dd5a0cee4c8fa48dd0b539"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49591.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"}]}