CVE-2022-50624

published 8 Dec 2025 · updated 13 Nov 2026

net: netsec: fix error handling in netsec_register_mdio()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fda2d07234a21be4d71ebfe97a45f499726902d6, Kernel 1e0bee973ef6fc3c1e3acb014515eaea37c8fa17, Kernel 62f0a08e82a6312efd7df7f595c0b11d4ffde610 and 8 more.

In the Linux kernel, the following vulnerability has been resolved: net: netsec: fix error handling in netsec_register_mdio() If phy_device_register() fails, phy_device_free() need be called to put refcount, so memory of phy device and device name can be freed in callback function. If get_phy_device() fails, mdiobus_unregister() need be called, or it will cause warning in mdiobus_free() and kobject is leaked.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=533dd11a12f698c571a12271b20f235792d3e148 <fda2d07234a21be4d71ebfe97a45f499726902d6, >=533dd11a12f698c571a12271b20f235792d3e148 <1e0bee973ef6fc3c1e3acb014515eaea37c8fa17, >=533dd11a12f698c571a12271b20f235792d3e148 <62f0a08e82a6312efd7df7f595c0b11d4ffde610, >=533dd11a12f698c571a12271b20f235792d3e148 <728884b22d83148a330b23f9472f1e118b589211, >=533dd11a12f698c571a12271b20f235792d3e148 <846e677daf51220d7975c61a20e440a88473951e, >=533dd11a12f698c571a12271b20f235792d3e148 <94423589689124e8cd145b38a1034be7f25835b2, =4.16fda2d07234a21be4d71ebfe97a45f499726902d6, 1e0bee973ef6fc3c1e3acb014515eaea37c8fa17, 62f0a08e82a6312efd7df7f595c0b11d4ffde610, 728884b22d83148a330b23f9472f1e118b589211, 846e677daf51220d7975c61a20e440a88473951e, 94423589689124e8cd145b38a1034be7f25835b2
linux-kernel: Kernel>=4.20.0 <5.4.223, >=5.11.0 <5.15.77, >=5.16.0 <6.0.7, >=5.5.0 <5.10.153, >=4.16.0 <4.19.2645.4.223, 5.15.77, 6.0.7, 5.10.153, 4.19.264

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50624 severity on Zeptric[![CVE-2022-50624](https://zeptric.io/badge/cve/CVE-2022-50624.svg)](https://zeptric.io/cve/CVE-2022-50624)