CVE-2022-50019Published Jun 18, 2025 · Jun 18Updated Oct 28
tty: serial: Fix refcount leak bug in ucc_uart.c
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d7584ed2b994a572326650b0c4d2c25961e6f49d · < 17c32546166d8a7d2579c4b57c8b16241f94a66b| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s ucc_uart.c has a reference-count leak in soc_info(): a node returned by of_find_node_by_type() is not released when no longer needed. The input does not specify what an attacker could do or whether exploitation requires network access, local access, authentication, or user interaction.
Teams running Linux kernels that include the affected ucc_uart.c code should check their systems; affected versions are not specified.