CVE-2022-50624

net: netsec: fix error handling in netsec_register_mdio()

N/A
Published: December 8, 2025 at 01:16 AM UTC
Updated: June 17, 2026 at 05:23 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.16 ≤ v < 4.19.2644.16 ≤ v < 5.10.1534.16 ≤ v < 5.15.774.16 ≤ v < 5.4.2234.16 ≤ v < 6.0.74.16 ≤ v < 6.14.16533dd11a12f698c571a12271b20f235792d3e148
Vendor states this is fixed in 1e0bee973ef6fc3c1e3acb014515eaea37c8fa17 (fixed)
Vendor states this is fixed in 62f0a08e82a6312efd7df7f595c0b11d4ffde610 (fixed)
Vendor states this is fixed in 728884b22d83148a330b23f9472f1e118b589211 (fixed)
Vendor states this is fixed in 846e677daf51220d7975c61a20e440a88473951e (fixed)
Vendor states this is fixed in 94423589689124e8cd145b38a1034be7f25835b2 (fixed)
Vendor states this is fixed in fda2d07234a21be4d71ebfe97a45f499726902d6 (fixed)
Vendor states this is fixed in 4.16 (unaffected)
Vendor states this is fixed in 4.19.264 (unaffected)
Vendor states this is fixed in 5.10.153 (unaffected)
Vendor states this is fixed in 5.15.77 (unaffected)
Vendor states this is fixed in 5.4.223 (unaffected)
Vendor states this is fixed in 6.0.7 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card