ASoC: codecs: wcd934x: Add missing of_node_put() in wcd934x_codec_parse_data
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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")
From the CVE record · Linux
The Linux kernel's wcd934x codec parser fails to release a device-node reference returned by of_parse_phandle(). The input does not establish what an attacker could do or whether exploitation requires network access, local access, authentication, or user interaction.
Engineers running Linux kernels that include the wcd934x codec should check their versions; no affected versions are specified.