CVE-2022-49242

ASoC: mxs: Fix error handling in mxs_sgtl5000_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%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: mxs: Fix error handling in mxs_sgtl5000_probe This function only calls of_node_put() in the regular path. And it will cause refcount leak in error paths. For example, when codec_np is NULL, saif_np[0] and saif_np[1] are not NULL, it will cause leaks. of_node_put() will check if the node pointer is NULL, so we can call it directly to release the refcount of regular pointers.

Affected

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

3.5 ≤ v < 4.14.2763.5 ≤ v < 4.19.2383.5 ≤ v < 4.9.3113.5 ≤ v < 5.10.1103.5 ≤ v < 5.15.333.5 ≤ v < 5.16.193.5 ≤ v < 5.17.23.5 ≤ v < 5.183.5 ≤ v < 5.4.1894.10 ≤ v < 4.14.2764.15 ≤ v < 4.19.2384.20 ≤ v < 5.4.1895.11 ≤ v < 5.15.335.16 ≤ v < 5.16.195.17 ≤ v < 5.17.25.5 ≤ v < 5.10.1103.5e968194b45c4e8077dada75c5bae5660b37628fe
Vendor states this is fixed in 44acdaf7acb60054d872bed18ce0e7db8ce900ce (fixed)
Vendor states this is fixed in 67e12f1cb2f97468c12b59e21975eaa0f332e7d2 (fixed)
Vendor states this is fixed in 6ae0a4d8fec551ec581d620f0eb1fe31f755551c (fixed)
Vendor states this is fixed in 790d2628e3fcc819d8f5572eb5615113fb2e727a (fixed)
Vendor states this is fixed in 86b6cf989437e694fd0a15782b5a513853a739e0 (fixed)
Vendor states this is fixed in 8d880226c86f37624e2a5f3c6d92ac0ec3375f96 (fixed)
Vendor states this is fixed in d2923b48d99fe663cb93d8b481c93299fcd68656 (fixed)
Vendor states this is fixed in f16ad2c0e22687f80e5981c67374023f51c204b9 (fixed)
Vendor states this is fixed in f8d38056bcd220ea6f0802a5586d1a12ebcce849 (fixed)
Vendor states this is fixed in 3.5 (unaffected)
Vendor states this is fixed in 4.14.276 (unaffected)
Vendor states this is fixed in 4.19.238 (unaffected)
Vendor states this is fixed in 4.9.311 (unaffected)
Vendor states this is fixed in 5.10.110 (unaffected)
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.2 (unaffected)
Vendor states this is fixed in 5.18 (unaffected)
Vendor states this is fixed in 5.4.189 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/44acdaf7acb60054d872bed18ce0e7db8ce900ce
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/67e12f1cb2f97468c12b59e21975eaa0f332e7d2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6ae0a4d8fec551ec581d620f0eb1fe31f755551c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/790d2628e3fcc819d8f5572eb5615113fb2e727a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/86b6cf989437e694fd0a15782b5a513853a739e0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8d880226c86f37624e2a5f3c6d92ac0ec3375f96
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d2923b48d99fe663cb93d8b481c93299fcd68656
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f16ad2c0e22687f80e5981c67374023f51c204b9

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
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