CVE-2022-49244

ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_dev_probe

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 01:56 AM UTC
Updated: June 17, 2026 at 05:17 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.3%

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_dev_probe The device_node pointer is returned by of_parse_phandle() with refcount incremented. We should use of_node_put() on it when done. This function only calls of_node_put() in the regular path. And it will cause refcount leak in error paths. Fix this by calling of_node_put() in error handling too.

Affected

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

5.15.17 ≤ v < 5.15.335.16.3 ≤ v < 5.16.195.17 ≤ v < 5.17.25.17 ≤ v < 5.18286c6f7b28fab19d649c2e1f3bc18fdecdbadfe54e28491a7a198c668437f2be8a91a76aa52f20eb5.15.175.16.35.17d1be8577f0b2f679095d237aaf281dca344f06c4
Vendor states this is fixed in 1765787ec02e824f4f5e672cf269280a5da09d2f (fixed)
Vendor states this is fixed in 87e04a89c31e792eef62bcba6ebb77fd323d28a1 (fixed)
Vendor states this is fixed in d5a38629f1aaf397fd471b27e49d55289ddc0656 (fixed)
Vendor states this is fixed in e45ac7831ff3e2934d58cce319c17c8ec763c95c (fixed)
Vendor states this is fixed in 5.15.33 (unaffected)
Vendor states this is fixed in 5.16.19 (unaffected)
Vendor states this is fixed in 5.17 (unaffected)
Vendor states this is fixed in 5.17.2 (unaffected)
Vendor states this is fixed in 5.18 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1765787ec02e824f4f5e672cf269280a5da09d2f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/87e04a89c31e792eef62bcba6ebb77fd323d28a1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d5a38629f1aaf397fd471b27e49d55289ddc0656
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e45ac7831ff3e2934d58cce319c17c8ec763c95c

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