CVE-2022-49246

ASoC: atmel: Fix error handling in snd_proto_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: atmel: Fix error handling in snd_proto_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.

4.20 ≤ v < 5.15.334.20 ≤ v < 5.16.194.20 ≤ v < 5.17.24.20 ≤ v < 5.185.16 ≤ v < 5.16.195.17 ≤ v < 5.17.24.20a45f8853a5f95e3760dfbd7ba09d3d597d247040
Vendor states this is fixed in 0f517480d5888cd54487c5662ce4da95b30ad798 (fixed)
Vendor states this is fixed in 8fa969cd8485031294f91fc7184399000cae6355 (fixed)
Vendor states this is fixed in b0bfaf0544d08d093d6211d7ef8816fb0b5b6c75 (fixed)
Vendor states this is fixed in f32ac9bf5e3f594ef9bfedb410aebc98cf784e69 (fixed)
Vendor states this is fixed in 4.20 (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)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0f517480d5888cd54487c5662ce4da95b30ad798
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8fa969cd8485031294f91fc7184399000cae6355
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b0bfaf0544d08d093d6211d7ef8816fb0b5b6c75
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f32ac9bf5e3f594ef9bfedb410aebc98cf784e69

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