In the Linux kernel, the following vulnerability has been resolved:
net: netsec: fix error handling in netsecregistermdio()
If phydeviceregister() fails, phydevicefree() need be called to put refcount, so memory of phy device and device name can be freed in callback function.
If getphydevice() fails, mdiobusunregister() need be called, or it will cause warning in mdiobusfree() and kobject is leaked.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50624.json"
}