What’s Vulnerable › Vulnerabilities
CVE-2021-47502: ASoC: codecs: wcd934x: handle channel mappping list correctly
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-24 · updated 2026-08-04
Description
In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: wcd934x: handle channel mappping list correctly Currently each channel is added as list to dai channel list, however there is danger of adding same channel to multiple dai channel list which endups corrupting the other list where its already added. This patch ensures that the channel is actually free before adding to the dai channel list and also ensures that the channel is on the list before deleting it. This check was missing previously, and we did not hit this issue as we were testing very simple usecases with sequence of amixer commands.
Affected products
- Linux kernel: from 5.6 before 5.10.85; from 5.11 before 5.15.8; 5.16-rc1, 5.16-rc2, 5.16-rc3, 5.16-rc4 — fixed in 5.10.85, 5.15.8
How to fix
Upgrade to a fixed version: Linux kernel 5.10.85, 5.15.8. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/1089dac26c6b4b833323ae6c0ceab29fb30ede72
- https://git.kernel.org/stable/c/23ba28616d3063bd4c4953598ed5e439ca891101
- https://git.kernel.org/stable/c/339ffb5b56005582aacc860524d2d208604049d1
- https://git.kernel.org/stable/c/1089dac26c6b4b833323ae6c0ceab29fb30ede72
- https://git.kernel.org/stable/c/23ba28616d3063bd4c4953598ed5e439ca891101
- https://git.kernel.org/stable/c/339ffb5b56005582aacc860524d2d208604049d1
Get alerted when CVE-2021-47502 or the next vulnerability affects your stack