CVE-2022-50019
JSON

5.5medium

tty: serial: Fix refcount leak bug in ucc_uart.c

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 1 more
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.*
CVE List
linux linux_kernelfrom 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.4NVD

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: tty: serial: Se corrige el error de fuga de refcount en ucc_uart.c. En soc_info(), of_find_node_by_type() devolverá un puntero de nodo con refcount incrementado. Deberíamos usar of_node_put() cuando ya no se use.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-50019 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-50019 changed 2026-06-17Public domain