Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected aa730a9905b7b079ef2fffdab7f15dbb842f5c7c before 2845bc9070cef0c651987487d84d4813d64675dd; affected aa730a9905b7b079ef2fffdab7f15dbb842f5c7c before 3cd3ffe952f78ec5dadf300cb58d4b38a0c0106d; affected aa730a9905b7b079ef2fffdab7f15dbb842f5c7c before 668205b9c9f94d5ed6ab00cce9a46a654c2b5d16 |
| Linux / Linux | affected 5.15; unaffected 0 before 5.15; unaffected 5.15.79 through 5.15.*; unaffected 6.0.9 through 6.0.*; unaffected 6.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/2845bc9070cef0c651987487d84d4813d64675dd
- https://git.kernel.org/stable/c/3cd3ffe952f78ec5dadf300cb58d4b38a0c0106d
- https://git.kernel.org/stable/c/668205b9c9f94d5ed6ab00cce9a46a654c2b5d16
ADP enrichment
No English description supplied.
No references supplied.