← CVE Intelligence

CVE-2022-50711

net: ethernet: mtk_eth_soc: fix possible memory leak in mtk_probe() PUBLISHED

Description (CNA)

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().

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 804775dfc2885e93a0a4b35db1914c2cc25172b5 before 96bde7c4f5683d8c1c809ddb781ef3fdec9b7215; affected 804775dfc2885e93a0a4b35db1914c2cc25172b5 before b3d0d98179d62f9d55635a600679c4fa362baf8d
Linux / Linuxaffected 5.19; unaffected 0 before 5.19; unaffected 6.0.6 through 6.0.*; unaffected 6.1 through *

CWE

No CWE identifiers supplied.

References