CVE-2022-50061

pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map

MEDIUM
5.5
CVSS Score
Published: June 18, 2025 at 11:02 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: pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map 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.18 ≤ v < 4.14.2913.18 ≤ v < 4.19.2563.18 ≤ v < 4.9.3263.18 ≤ v < 5.10.1383.18 ≤ v < 5.15.633.18 ≤ v < 5.19.43.18 ≤ v < 5.4.2113.18 ≤ 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.1383.18c2f6d059abfc29822af732e4da70813a5b6fd9cd
Vendor states this is fixed in 4b32e054335ea0ce50967f63a7bfd4db058b14b9 (fixed)
Vendor states this is fixed in 587ac8ac00a1a9f4572785229d9441870fd7b187 (fixed)
Vendor states this is fixed in 78d05103891d3e96144b846fbc39f2cfb3384eae (fixed)
Vendor states this is fixed in 81abaab5a4b815c0ed9f4d2c9745777ac5cc395b (fixed)
Vendor states this is fixed in 9272265f2f76629e1a67e6d49b3a4461b3da1a73 (fixed)
Vendor states this is fixed in c26012a1e61c7bbd1b393d3bbae8dffdb6df65bb (fixed)
Vendor states this is fixed in c35f89a9021fa947ecede0584ae509368a52ec5a (fixed)
Vendor states this is fixed in f498542bc703bf1e5c6a1610e1ea493a437f0196 (fixed)
Vendor states this is fixed in 3.18 (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/4b32e054335ea0ce50967f63a7bfd4db058b14b9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/587ac8ac00a1a9f4572785229d9441870fd7b187
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/78d05103891d3e96144b846fbc39f2cfb3384eae
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/81abaab5a4b815c0ed9f4d2c9745777ac5cc395b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9272265f2f76629e1a67e6d49b3a4461b3da1a73
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c26012a1e61c7bbd1b393d3bbae8dffdb6df65bb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c35f89a9021fa947ecede0584ae509368a52ec5a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f498542bc703bf1e5c6a1610e1ea493a437f0196

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