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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-12-24T10:55:24.689Z
- Modified: 2026-11-10T12:10:00.177Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 804775dfc2885e93a0a4b35db1914c2cc25172b5 before 96bde7c4f5683d8c1c809ddb781ef3fdec9b7215; from 804775dfc2885e93a0a4b35db1914c2cc25172b5 before b3d0d98179d62f9d55635a600679c4fa362baf8d; 5.19 (not affected: before 5.19; from 6.0.6 up to 6.0.*; from 6.1 up to *)

## References

- <https://git.kernel.org/stable/c/96bde7c4f5683d8c1c809ddb781ef3fdec9b7215>
- <https://git.kernel.org/stable/c/b3d0d98179d62f9d55635a600679c4fa362baf8d>

## Sources

- CVE List: [CVE-2022-50711](https://www.cve.org/CVERecord?id=CVE-2022-50711), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50711](https://nvd.nist.gov/vuln/detail/CVE-2022-50711), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2022-50711 · Whole record: https://cve.day/CVE-2022-50711.json · Rebuilt by cve.day 2026-11-25T22:58:21.329Z
