Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.20, < 5.15.33 |
References
- https://git.kernel.org/stable/c/0f517480d5888cd54487c5662ce4da95b30ad798Patch
- https://git.kernel.org/stable/c/8fa969cd8485031294f91fc7184399000cae6355Patch
- https://git.kernel.org/stable/c/b0bfaf0544d08d093d6211d7ef8816fb0b5b6c75Patch
- https://git.kernel.org/stable/c/f32ac9bf5e3f594ef9bfedb410aebc98cf784e69Patch
FAQ
What is CVE-2022-49246?
CVE-2022-49246 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 increm...
How severe is CVE-2022-49246?
CVE-2022-49246 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-49246?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.