CVE-2022-50019

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

MEDIUM
5.5
CVSS Score
Published: June 18, 2025 at 11:01 AM UTC
Updated: June 17, 2026 at 05:22 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.25 ≤ v < 4.14.2912.6.25 ≤ v < 4.19.2562.6.25 ≤ v < 4.9.3262.6.25 ≤ v < 5.10.1382.6.25 ≤ v < 5.15.632.6.25 ≤ v < 5.19.42.6.25 ≤ v < 5.4.2112.6.25 ≤ v < 6.04.10 ≤ v < 4.14.2914.15 ≤ v < 4.19.2564.20 ≤ v < 5.4.2115.11 ≤ v < 5.15.635.16 ≤ v < 5.19.45.5 ≤ v < 5.10.1382.6.25d7584ed2b994a572326650b0c4d2c25961e6f49d
Vendor states this is fixed in 17c32546166d8a7d2579c4b57c8b16241f94a66b (fixed)
Vendor states this is fixed in 59bc4c19d53bdac61ec952c01c6e864f5f0f8367 (fixed)
Vendor states this is fixed in 81939c4fbc2d5c754d0f1c1f05149d4b70d751ed (fixed)
Vendor states this is fixed in 8245e7d1d7f75a9255ad1e8146752e5051d528b8 (fixed)
Vendor states this is fixed in ca3fc1c38e4253bc019881301a28ea60b8b0bca3 (fixed)
Vendor states this is fixed in d24d7bb2cd947676f9b71fb944d045e09b8b282f (fixed)
Vendor states this is fixed in ec56f886f3bf0f15f7a3844d4c025e165b8e8de7 (fixed)
Vendor states this is fixed in f6ed634eedb1a8a6a8cb110a7695c7abb70ffcbf (fixed)
Vendor states this is fixed in 2.6.25 (unaffected)
Vendor states this is fixed in 4.14.291 (unaffected)
Vendor states this is fixed in 4.19.256 (unaffected)
Vendor states this is fixed in 4.9.326 (unaffected)
Vendor states this is fixed in 5.10.138 (unaffected)
Vendor states this is fixed in 5.15.63 (unaffected)
Vendor states this is fixed in 5.19.4 (unaffected)
Vendor states this is fixed in 5.4.211 (unaffected)
Vendor states this is fixed in 6.0 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/17c32546166d8a7d2579c4b57c8b16241f94a66b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/59bc4c19d53bdac61ec952c01c6e864f5f0f8367
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/81939c4fbc2d5c754d0f1c1f05149d4b70d751ed
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8245e7d1d7f75a9255ad1e8146752e5051d528b8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ca3fc1c38e4253bc019881301a28ea60b8b0bca3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d24d7bb2cd947676f9b71fb944d045e09b8b282f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ec56f886f3bf0f15f7a3844d4c025e165b8e8de7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f6ed634eedb1a8a6a8cb110a7695c7abb70ffcbf

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card