CVE-2022-50019 tty: serial: Fix refcount leak bug in ucc_uart.c
A refcount leak in the Linux kernel's ucc_uart driver can lead to resource exhaustion and denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-50019?
CVE-2022-50019 is a medium-severity denial of service vulnerability in Linux kernel, published on 18 Jun 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:
tty: serial: Fix refcount leak bug in ucc_uart.c
In soc_info(), of_find_node_by_type() will return a node pointer with refcount incremented. We should use of_node_put() when it is not used anymore.
Which versions are affected by CVE-2022-50019?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-50019?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-50019 being exploited?
There is no known exploitation of CVE-2022-50019 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-50019, GHSA-8pp4-gwfg-hvqg, UBUNTU-CVE-2022-50019.