CVE-2022-50152

usb: ohci-nxp: Fix refcount leak in ohci_hcd_nxp_probe

MEDIUM
5.5
CVSS Score
Published: June 18, 2025 at 11:03 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: usb: ohci-nxp: Fix refcount leak in ohci_hcd_nxp_probe of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak.

Affected

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

3.5 ≤ v < 4.14.2913.5 ≤ v < 4.19.2563.5 ≤ v < 5.10.1373.5 ≤ v < 5.15.613.5 ≤ v < 5.18.183.5 ≤ v < 5.19.23.5 ≤ v < 5.4.2113.5 ≤ v < 6.04.15 ≤ v < 4.19.2564.20 ≤ v < 5.4.2115.11 ≤ v < 5.15.615.16 ≤ v < 5.18.185.19 ≤ v < 5.19.25.5 ≤ v < 5.10.1373.573108aa90cbfc663649885a06fe5c1235307de1c
Vendor states this is fixed in 302970b4cad3ebfda2c05ce06c322ccdc447d17e (fixed)
Vendor states this is fixed in 4db00c2fa6f8c9876a7e20511dccf43b50be9006 (fixed)
Vendor states this is fixed in 50238c4b54c2ac6c2da7a84a4a2b0a570e3da0e2 (fixed)
Vendor states this is fixed in 59026d5cc615da28e0c9806a71bf07065c906464 (fixed)
Vendor states this is fixed in 591ab8dbf6c21927f23f83ddb90691f48b86d136 (fixed)
Vendor states this is fixed in 65d36ec409b635dfc2f95f0d7c5877c9d0cb7630 (fixed)
Vendor states this is fixed in a0fbac3bf26a11f084233519ddf3fd5e5bb28939 (fixed)
Vendor states this is fixed in d35903e9650f4fa79426ce390db8678dbf5ac432 (fixed)
Vendor states this is fixed in 3.5 (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 5.10.137 (unaffected)
Vendor states this is fixed in 5.15.61 (unaffected)
Vendor states this is fixed in 5.18.18 (unaffected)
Vendor states this is fixed in 5.19.2 (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/302970b4cad3ebfda2c05ce06c322ccdc447d17e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4db00c2fa6f8c9876a7e20511dccf43b50be9006
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/50238c4b54c2ac6c2da7a84a4a2b0a570e3da0e2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/59026d5cc615da28e0c9806a71bf07065c906464
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/591ab8dbf6c21927f23f83ddb90691f48b86d136
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/65d36ec409b635dfc2f95f0d7c5877c9d0cb7630
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a0fbac3bf26a11f084233519ddf3fd5e5bb28939
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d35903e9650f4fa79426ce390db8678dbf5ac432

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