What’s Vulnerable › Vulnerabilities
CVE-2022-49817: net: mhi: Fix memory leak in mhi_net_dellink()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-01 · updated 2026-06-17
- Weakness: CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved: net: mhi: Fix memory leak in mhi_net_dellink() MHI driver registers network device without setting the needs_free_netdev flag, and does NOT call free_netdev() when unregisters network device, which causes a memory leak. This patch calls free_netdev() to fix it since netdev_priv is used after unregister.
Affected products
- Linux kernel: from 5.14 before 5.15.80; from 5.16 before 6.0.10; 6.1-rc1, 6.1-rc2, 6.1-rc3, 6.1-rc4, 6.1-rc5 — fixed in 5.15.80, 6.0.10
How to fix
Upgrade to a fixed version: Linux kernel 5.15.80, 6.0.10. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/25a270343b0f16e1f6e65f541a15975a35e238ff
- https://git.kernel.org/stable/c/88da008e5e2f9753726ea5a51ef2eb144e9de927
- https://git.kernel.org/stable/c/f7c125bd79f50ec6094761090be81d02726ec6f4
Get alerted when CVE-2022-49817 or the next vulnerability affects your stack