CVE-2022-50624

net: netsec: fix error handling in netsec_register_mdio()

published December 8, 2025

CVSS
—
EPSS
0%
Percentile
10.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00205 · 10.0th percentile
Published
2025-12-08T01:16Z
EPSS history
Timeline
  • 08 DEC 01:16Z
    net: netsec: fix error handling in netsec_register_mdio()
    cvelistv5