CVE-2022-49246 Details
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.
A memory leak vulnerability has been identified in the Linux kernel's ASoC Atmel component. The issue arises from improper error handling in the 'snd_proto_probe' function, where a device_node pointer returned by 'of_parse_phandle()' is not correctly released in error paths. This oversight can lead to a refcount leak. The vulnerability has been addressed by ensuring that 'of_node_put()' is called in error handling scenarios as well.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0f517480d5888cd54487c5662ce4da95b30ad798 | kernel.org | Patch |
| https://git.kernel.org/stable/c/8fa969cd8485031294f91fc7184399000cae6355 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b0bfaf0544d08d093d6211d7ef8816fb0b5b6c75 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f32ac9bf5e3f594ef9bfedb410aebc98cf784e69 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.20, < 5.15.33 >= 5.16, < 5.16.19 >= 5.17, < 5.17.2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Sep 22, 2025 | Initial Analysis | [email protected] |
| Feb 26, 2025 | New CVE Received | kernel.org |