What’s Vulnerable › Vulnerabilities
CVE-2022-49866: net: wwan: mhi: fix memory leak in mhi_mbim_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: wwan: mhi: fix memory leak in mhi_mbim_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 sets needs_free_netdev to true when registers network device, which makes netdev subsystem call free_netdev() automatically after unregister_netdevice().
Affected products
- Linux kernel: from 5.15 before 5.15.79; from 5.16 before 6.0.9; 6.1-rc1, 6.1-rc2, 6.1-rc3, 6.1-rc4 — fixed in 5.15.79, 6.0.9
How to fix
Upgrade to a fixed version: Linux kernel 5.15.79, 6.0.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2845bc9070cef0c651987487d84d4813d64675dd
- https://git.kernel.org/stable/c/3cd3ffe952f78ec5dadf300cb58d4b38a0c0106d
- https://git.kernel.org/stable/c/668205b9c9f94d5ed6ab00cce9a46a654c2b5d16
Get alerted when CVE-2022-49866 or the next vulnerability affects your stack