CVE-2022-50711 net: ethernet: mtk_eth_soc: fix possible memory leak in mtk_probe()

Not scored Published Updated

A memory leak in the MediaTek Ethernet driver can lead to resource exhaustion and denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-50711?

CVE-2022-50711 is a memory corruption vulnerability in Linux, published on 24 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

Which versions are affected by CVE-2022-50711?

How do I fix CVE-2022-50711?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-50711 being exploited?

There is no known exploitation of CVE-2022-50711 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2022-50711, GHSA-4xf6-v476-2w62, UBUNTU-CVE-2022-50711.

Is CVE-2022-50711 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free