CVE-2022-50124

ASoC: mt6797-mt6351: Fix refcount leak in mt6797_mt6351_dev_probe

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: ASoC: mt6797-mt6351: Fix refcount leak in mt6797_mt6351_dev_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.

4.18 ≤ v < 4.19.2564.18 ≤ v < 5.10.1374.18 ≤ v < 5.15.614.18 ≤ v < 5.18.184.18 ≤ v < 5.19.24.18 ≤ v < 5.4.2114.18 ≤ v < 6.04.20 ≤ v < 5.4.2115.11 ≤ v < 5.15.615.16 ≤ v < 5.18.185.19 ≤ v < 5.19.25.5 ≤ v < 5.10.1374.18f0ab0bf250da5a115d5675a686117f21984f0760
Vendor states this is fixed in 1042353bb67cd1c9109d7481ea182c7794336458 (fixed)
Vendor states this is fixed in 38dc6faef05f33b4c889be8b7d65878e465c1c4b (fixed)
Vendor states this is fixed in 67a28402a9e8c229c7588f214d81d52903ea06ea (fixed)
Vendor states this is fixed in 7472eb8d7dd12b6b9b1a4f4527719cc9c7f5965f (fixed)
Vendor states this is fixed in 7dee72b1bcecb26bfff8d6360f2169f8656dbaf6 (fixed)
Vendor states this is fixed in a0381a9f3e595988e83bac4c4dd1e45ed2b3c744 (fixed)
Vendor states this is fixed in b488ceb2336905f071f80627bc8a7d657274e5de (fixed)
Vendor states this is fixed in 4.18 (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 (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1042353bb67cd1c9109d7481ea182c7794336458
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/38dc6faef05f33b4c889be8b7d65878e465c1c4b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/67a28402a9e8c229c7588f214d81d52903ea06ea
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7472eb8d7dd12b6b9b1a4f4527719cc9c7f5965f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7dee72b1bcecb26bfff8d6360f2169f8656dbaf6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a0381a9f3e595988e83bac4c4dd1e45ed2b3c744
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b488ceb2336905f071f80627bc8a7d657274e5de

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