CVE-2022-50777 net: phy: xgmiitorgmii: Fix refcount leak in xgmiitorgmii_probe

Not scored Published Updated

A refcount leak in the Linux kernel's XGMII-to-RGMII PHY driver can lead to resource exhaustion and denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-50777?

CVE-2022-50777 is a memory corruption vulnerability in Linux, published on 24 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2022-50777?

How do I fix CVE-2022-50777?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-50777 being exploited?

There is no known exploitation of CVE-2022-50777 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2022-50777, GHSA-2jvw-hf8m-phpv, UBUNTU-CVE-2022-50777.

Is CVE-2022-50777 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free