CVE-2022-49239 ASoC: codecs: wcd934x: Add missing of_node_put() in wcd934x_codec_parse_data
A missing reference count decrement in the Linux kernel audio codec driver can lead to a memory leak, potentially causing resource exhaustion.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-49239?
CVE-2022-49239 is a medium-severity vulnerability in Linux kernel, published on 26 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
ASoC: codecs: wcd934x: Add missing of_node_put() in wcd934x_codec_parse_data
The device_node pointer is returned by of_parse_phandle() with refcount incremented. We should use of_node_put() on it when done. This is similar to commit 64b92de9603f ("ASoC: wcd9335: fix a leaked reference by adding missing of_node_put")
Which versions are affected by CVE-2022-49239?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-49239?
Apply the vendor's patch.
Is CVE-2022-49239 being exploited?
There is no known exploitation of CVE-2022-49239 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-49239, GHSA-mgv8-wjxj-8f3q, UBUNTU-CVE-2022-49239.