Bug 2419918 (CVE-2022-50624) - CVE-2022-50624 kernel: net: netsec: fix error handling in netsec_register_mdio()
Summary: CVE-2022-50624 kernel: net: netsec: fix error handling in netsec_register_mdio()
Keywords:
Status: NEW
Alias: CVE-2022-50624
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-08 07:08 UTC by OSIDB Bzimport
Modified: 2025-12-19 13:04 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-08 07:08:39 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.