CVE-2022-50777
net: phy: xgmiitorgmii: Fix refcount leak in xgmiitorgmii_probe
Check your servers for CVE-2022-50777
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50777 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
net: phy: xgmiitorgmii: Fix refcount leak in xgmiitorgmii_probe
of_phy_find_device() return device node with refcount incremented. Call put_device() to relese it when not needed anymore.
Exploitation
EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.4% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 3f7056e1822d648f8022997497edc6cad2ad1e73, before 53526dbc8aa6b95e9fc2ab1e29b1a9145721da24 affected from ab4e6ee578e88a659938db8fbf33720bc048d29c, before 78b0b1ff525d9be4babf5a148a4de0d50042d95d affected from ab4e6ee578e88a659938db8fbf33720bc048d29c, before 00616bd1913a4f879679e02dc08c2f501ca2bd4c affected from ab4e6ee578e88a659938db8fbf33720bc048d29c, before 106d0d33c9d1ec4ddeeffc1fdc717ff09953d4ed affected from ab4e6ee578e88a659938db8fbf33720bc048d29c, before 4d112f001612c79927c1ecf29522b34c4fa292e0 affected from ab4e6ee578e88a659938db8fbf33720bc048d29c, before 52841e71253e6ace72751c72560950474a57d04c affected from ab4e6ee578e88a659938db8fbf33720bc048d29c, before ee84d37a5f08ed1121cdd16f8f3ed87552087a21 affected from ab4e6ee578e88a659938db8fbf33720bc048d29c, before d039535850ee47079d59527e96be18d8e0daa84b affected a5a849c9e8a6c357f84a5e249cb468f20da6d28f affected 900812a0d318954400d20b0190c7d788b4ff2cc2 affected from 4.14.74, before 4.14.303 affected from 4.9.131, before 4.10 affected from 4.18.12, before 4.19
Other versions: unaffected
|
| Linux |
affected 4.19 unaffected before 4.19 unaffected from 4.14.303 up to and including 4.14.* unaffected from 4.19.270 up to and including 4.19.* unaffected from 5.4.229 up to and including 5.4.* unaffected from 5.10.163 up to and including 5.10.* unaffected from 5.15.87 up to and including 5.15.* unaffected from 6.0.19 up to and including 6.0.* unaffected from 6.1.5 up to and including 6.1.* unaffected 6.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50777 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50777
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50777
trivy image --scanners vuln IMAGE | grep CVE-2022-50777
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/53526dbc8aa6b95e9fc2ab1e29b1a9145721da24 git.kernel.org
- https://git.kernel.org/stable/c/78b0b1ff525d9be4babf5a148a4de0d50042d95d git.kernel.org
- https://git.kernel.org/stable/c/00616bd1913a4f879679e02dc08c2f501ca2bd4c git.kernel.org
- https://git.kernel.org/stable/c/106d0d33c9d1ec4ddeeffc1fdc717ff09953d4ed git.kernel.org
- https://git.kernel.org/stable/c/4d112f001612c79927c1ecf29522b34c4fa292e0 git.kernel.org
- https://git.kernel.org/stable/c/52841e71253e6ace72751c72560950474a57d04c git.kernel.org
- https://git.kernel.org/stable/c/ee84d37a5f08ed1121cdd16f8f3ed87552087a21 git.kernel.org
- https://git.kernel.org/stable/c/d039535850ee47079d59527e96be18d8e0daa84b git.kernel.org
Source: the record CVE-2022-50777 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse