CVE-2022-50624 json
net: netsec: fix error handling in netsec_register_mdio()
published 2025-12-08 11 mo ago modified 2026-06-17 4 mo ago also EUVD-2022-55688
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 12%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.19.264, 5.4.223, 5.10.153, 5.15.77, 6.0.7, 6.1
- linux Debian 14, Debian 13, Debian 12 6.0.7-1
debian advisories DEBIAN-CVE-2022-50624
- linux Ubuntu 18.04 LTS 4.15.0-204.215
- linux Ubuntu 20.04 LTS 5.4.0-139.156
- linux Ubuntu 22.04 LTS 5.15.0-60.66
- linux-aws Ubuntu 18.04 LTS 4.15.0-1150.163
- linux-aws Ubuntu 20.04 LTS 5.4.0-1096.104
- linux-aws Ubuntu 22.04 LTS 5.15.0-1030.34
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1100.109
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1029.36
ubuntu advisories UBUNTU-CVE-2022-50624
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git.kernel.org/stable/c/728884b22d83148a330b23f9472f1e118b589211 commit
- git.kernel.org/stable/c/fda2d07234a21be4d71ebfe97a45f499726902d6 commit
- git.kernel.org/stable/c/62f0a08e82a6312efd7df7f595c0b11d4ffde610 commit
- git.kernel.org/stable/c/1e0bee973ef6fc3c1e3acb014515eaea37c8fa17 commit
- git.kernel.org/stable/c/846e677daf51220d7975c61a20e440a88473951e commit
- git.kernel.org/stable/c/94423589689124e8cd145b38a1034be7f25835b2 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-50624 updated
kernel: net: netsec: fix error handling in netsec_register_mdio()
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 12% of all scored CVEs (FIRST EPSS, 2026-11-08).
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/728884b22d83148a330b23f9472f1e118b589211
- git.kernel.org /stable/c/fda2d07234a21be4d71ebfe97a45f499726902d6
- git.kernel.org /stable/c/62f0a08e82a6312efd7df7f595c0b11d4ffde610
- git.kernel.org /stable/c/1e0bee973ef6fc3c1e3acb014515eaea37c8fa17
- git.kernel.org /stable/c/846e677daf51220d7975c61a20e440a88473951e
- git.kernel.org /stable/c/94423589689124e8cd145b38a1034be7f25835b2
Sources
- CVE List CVE-2022-50624
- NVD CVE-2022-50624
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.