In the Linux kernel, the following vulnerability has been resolved:
net: mhi: Fix memory leak in mhinetdellink()
MHI driver registers network device without setting the needsfreenetdev flag, and does NOT call free_netdev() when unregisters network device, which causes a memory leak.
This patch calls freenetdev() to fix it since netdevpriv is used after unregister.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49817.json"
}