CVE-2022-49591
Moderate
net: dsa: microchip: ksz_common: Fix refcount leak bug
In the Linux kernel, the following vulnerability has been resolved: net: dsa: microchip: ksz_common: Fix refcount leak bug In ksz_switch_register(), we should call of_node_put() for the reference returned by of_get_child_by_name() which has increased the refcount.
Exploit probability
0.3%
Published
February 26, 2025
Required by
Not available
Last source change
August 12, 2026
02 / AFFECTED SOFTWARE
Affected packages
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
Open Source Vulnerabilities
CVE-2022-49591
View original source
In the Linux kernel, the following vulnerability has been resolved: net: dsa: microchip: ksz_common: Fix refcount leak bug In ksz_switch_register(), we should call of_node_put() for the reference returned by of_get_child_by_name() which has increased the refcount.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/4165e02716518bbbe9c9104b39530d40928bc7ce
- https://git.kernel.org/stable/c/88ec2ff42da3ac93b2437dc52fe25cd4372148e6
- https://git.kernel.org/stable/c/a14bd7475452c51835dd5a0cee4c8fa48dd0b539
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49591.json
- https://nvd.nist.gov/vuln/detail/CVE-2022-49591