What’s Vulnerable › Vulnerabilities
CVE-2022-49591: net: dsa: microchip: ksz_common: Fix refcount leak bug
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-26 · updated 2026-06-17
Description
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.
Affected products
- Linux kernel: from 5.9 before 5.15.58; from 5.16 before 5.18.15; 5.19-rc1, 5.19-rc2, 5.19-rc3, 5.19-rc4, 5.19-rc5, 5.19-rc6 (+1) — fixed in 5.15.58, 5.18.15
How to fix
Upgrade to a fixed version: Linux kernel 5.15.58, 5.18.15. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/4165e02716518bbbe9c9104b39530d40928bc7ce
- https://git.kernel.org/stable/c/88ec2ff42da3ac93b2437dc52fe25cd4372148e6
- https://git.kernel.org/stable/c/a14bd7475452c51835dd5a0cee4c8fa48dd0b539
Get alerted when CVE-2022-49591 or the next vulnerability affects your stack