CVE-2022-50825 usb: typec: wusb3801: fix fwnode refcount leak in wusb3801_probe()
A refcount leak in the Linux kernel WUSB3801 driver can cause memory exhaustion and denial of service when hardware initialization fails.
- 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-50825?
CVE-2022-50825 is a memory corruption vulnerability in Linux, published on 30 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:
usb: typec: wusb3801: fix fwnode refcount leak in wusb3801_probe()
I got the following report while doing fault injection test:
OF: ERROR: memory leak, expected refcount 1 instead of 4, of_node_get()/of_node_put() unbalanced - destroy cset entry: attach overlay node /i2c/tcpc@60/connector
If wusb3801_hw_init() fails, fwnode_handle_put() needs be called to avoid refcount leak.
Which versions are affected by CVE-2022-50825?
How do I fix CVE-2022-50825?
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-50825 being exploited?
There is no known exploitation of CVE-2022-50825 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2022-50825, GHSA-3wxj-rr25-288c, UBUNTU-CVE-2022-50825.