CVE-2022-50624

Source
https://cve.org/CVERecord?id=CVE-2022-50624
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50624.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50624
Downstream
Published
2025-12-08T01:16:38.357Z
Modified
2026-04-02T08:28:39.563523Z
Summary
net: netsec: fix error handling in netsec_register_mdio()
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50624.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
533dd11a12f698c571a12271b20f235792d3e148
Fixed
728884b22d83148a330b23f9472f1e118b589211
Fixed
fda2d07234a21be4d71ebfe97a45f499726902d6
Fixed
62f0a08e82a6312efd7df7f595c0b11d4ffde610
Fixed
1e0bee973ef6fc3c1e3acb014515eaea37c8fa17
Fixed
846e677daf51220d7975c61a20e440a88473951e
Fixed
94423589689124e8cd145b38a1034be7f25835b2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50624.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.16.0
Fixed
4.19.264
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.223
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.153
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.77
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50624.json"