CVE-2022-50624

Linux Kernel - Memory Leak in netsec MDIO Registration Error Handling

Title source: llm
STIX 2.1

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.

Scores

EPSS 0.0018
EPSS Percentile 8.2%

Details

Status published
Products (19)
linux/Kernel 4.16.0 - 4.19.264linux
linux/Kernel 4.20.0 - 5.4.223linux
linux/Kernel 5.11.0 - 5.15.77linux
linux/Kernel 5.16.0 - 6.0.7linux
linux/Kernel 5.5.0 - 5.10.153linux
Linux/Linux < 4.16
Linux/Linux 4.16
Linux/Linux 4.19.264 - 4.19.*
Linux/Linux 5.10.153 - 5.10.*
Linux/Linux 5.15.77 - 5.15.*
... and 9 more
Published Dec 08, 2025
Tracked Since Feb 18, 2026