CVE-2022-50711

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

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 804775dfc2885e93a0a4b35db1914c2cc25172b5 to before 96bde7c4f5683d8c1c809ddb781ef3fdec9b7215Affected
  • 804775dfc2885e93a0a4b35db1914c2cc25172b5 to before b3d0d98179d62f9d55635a600679c4fa362baf8dAffected
LinuxLinux
  • 5.19Affected
  • before 5.19Not affected
  • 6.0.6 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.