CVE-2022-50123

ASoC: mediatek: mt8173: Fix refcount leak in mt8173_rt5650_rt5676_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: mediatek: mt8173: Fix refcount leak in mt8173_rt5650_rt5676_dev_probe of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Fix missing of_node_put() in error paths.

Affected

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

4.15 ≤ v < 4.19.2564.2 ≤ v < 4.14.2914.2 ≤ v < 4.19.2564.2 ≤ v < 5.10.1374.2 ≤ v < 5.15.614.2 ≤ v < 5.18.184.2 ≤ v < 5.19.24.2 ≤ v < 5.4.2114.2 ≤ v < 6.04.2.1 ≤ v < 4.14.2914.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.24.2 rc54.2 rc64.2 rc74.2 rc894319ba10ecabc8f28129566d1f5793e3e7a0a79
Vendor states this is fixed in 540c7b7385fb110740703888b4b2bbfa06c7f79c (fixed)
Vendor states this is fixed in 58567ed2878f70e0ded242cb529fb4a7618ea9f8 (fixed)
Vendor states this is fixed in 769399bce8825e1dcc5050dab78e15ab578baf4f (fixed)
Vendor states this is fixed in aa1214ece37944e4dbbb5cfb1d02bf37e4d89b02 (fixed)
Vendor states this is fixed in aa668f8e93199cda8fa1612eb49ff70f5ecd8c92 (fixed)
Vendor states this is fixed in ae4f11c1ed2d67192fdf3d89db719ee439827c11 (fixed)
Vendor states this is fixed in d6d41f04640db0f946e2c3f7963bb2774afc7a0d (fixed)
Vendor states this is fixed in fab5eb31819a2693b0c3d6f3df6a0d193af9a089 (fixed)
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.2 (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/540c7b7385fb110740703888b4b2bbfa06c7f79c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/58567ed2878f70e0ded242cb529fb4a7618ea9f8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/769399bce8825e1dcc5050dab78e15ab578baf4f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/aa1214ece37944e4dbbb5cfb1d02bf37e4d89b02
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/aa668f8e93199cda8fa1612eb49ff70f5ecd8c92
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ae4f11c1ed2d67192fdf3d89db719ee439827c11
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d6d41f04640db0f946e2c3f7963bb2774afc7a0d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fab5eb31819a2693b0c3d6f3df6a0d193af9a089

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