# CVE-2022-50019: tty: serial: Fix refcount leak bug in ucc_uart.c

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-06-18T11:01:23.332Z
- Modified: 2026-06-17T05:22:34.323Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from d7584ed2b994a572326650b0c4d2c25961e6f49d before 8245e7d1d7f75a9255ad1e8146752e5051d528b8; from d7584ed2b994a572326650b0c4d2c25961e6f49d before ec56f886f3bf0f15f7a3844d4c025e165b8e8de7; from d7584ed2b994a572326650b0c4d2c25961e6f49d before 59bc4c19d53bdac61ec952c01c6e864f5f0f8367; from d7584ed2b994a572326650b0c4d2c25961e6f49d before ca3fc1c38e4253bc019881301a28ea60b8b0bca3; from d7584ed2b994a572326650b0c4d2c25961e6f49d before 81939c4fbc2d5c754d0f1c1f05149d4b70d751ed; from d7584ed2b994a572326650b0c4d2c25961e6f49d before 17c32546166d8a7d2579c4b57c8b16241f94a66b; from d7584ed2b994a572326650b0c4d2c25961e6f49d before f6ed634eedb1a8a6a8cb110a7695c7abb70ffcbf; from d7584ed2b994a572326650b0c4d2c25961e6f49d before d24d7bb2cd947676f9b71fb944d045e09b8b282f; 2.6.25 (not affected: before 2.6.25; from 4.9.326 up to 4.9.*; from 4.14.291 up to 4.14.*; from 4.19.256 up to 4.19.*; from 5.4.211 up to 5.4.*; from 5.10.138 up to 5.10.*; from 5.15.63 up to 5.15.*; from 5.19.4 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 2.6.25 before 4.9.326; from 4.10 before 4.14.291; from 4.15 before 4.19.256; from 4.20 before 5.4.211; from 5.5 before 5.10.138; from 5.11 before 5.15.63; from 5.16 before 5.19.4

## References

- <https://git.kernel.org/stable/c/8245e7d1d7f75a9255ad1e8146752e5051d528b8> (patch)
- <https://git.kernel.org/stable/c/ec56f886f3bf0f15f7a3844d4c025e165b8e8de7> (patch)
- <https://git.kernel.org/stable/c/59bc4c19d53bdac61ec952c01c6e864f5f0f8367> (patch)
- <https://git.kernel.org/stable/c/ca3fc1c38e4253bc019881301a28ea60b8b0bca3> (patch)
- <https://git.kernel.org/stable/c/81939c4fbc2d5c754d0f1c1f05149d4b70d751ed> (patch)
- <https://git.kernel.org/stable/c/17c32546166d8a7d2579c4b57c8b16241f94a66b> (patch)
- <https://git.kernel.org/stable/c/f6ed634eedb1a8a6a8cb110a7695c7abb70ffcbf> (patch)
- <https://git.kernel.org/stable/c/d24d7bb2cd947676f9b71fb944d045e09b8b282f> (patch)

## Sources

- CVE List: [CVE-2022-50019](https://www.cve.org/CVERecord?id=CVE-2022-50019), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50019](https://nvd.nist.gov/vuln/detail/CVE-2022-50019), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50019 · Whole record: https://cve.day/CVE-2022-50019.json · Rebuilt by cve.day 2026-11-25T22:58:21.013Z
