CVE-2022-50711Published Dec 24, 2025 · Dec 24Updated Nov 12
net: ethernet: mtk_eth_soc: fix possible memory leak in mtk_probe()
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: ethernet: mtk_eth_soc: fix possible memory leak in mtk_probe()
If mtk_wed_add_hw() has been called, mtk_wed_exit() needs be called in error path or removing module to free the memory allocated in mtk_wed_add_hw().
From the CVE record · Linux
The Linux kernel's mtk_eth_soc driver can leak memory if mtk_probe() encounters an error or the module is removed after mtk_wed_add_hw() has been called. The input does not describe how an attacker could trigger this condition, or specify authentication or user-interaction requirements.
Engineers running Linux kernels with the mtk_eth_soc driver should check their kernel version; affected versions were not specified.