CVE-2021-47502: ASoC: codecs: wcd934x: handle channel mappping list correctly
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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2021-47502?
CVE-2021-47502 is classified as a medium severity vulnerability in the Linux kernel.
How do I fix CVE-2021-47502?
To fix CVE-2021-47502, update your Linux kernel to a version that is not vulnerable, specifically versions after 5.10.85 or 5.15.8 or newer.
What versions of the Linux kernel are affected by CVE-2021-47502?
CVE-2021-47502 affects the Linux kernel versions between 5.6 and 5.10.85, as well as specific 5.16 release candidates.
What type of vulnerability is CVE-2021-47502?
CVE-2021-47502 is a vulnerability related to how the Linux kernel handles channel mapping lists in audio codecs.
Is CVE-2021-47502 exploitable?
Yes, CVE-2021-47502 could potentially be exploited to cause issues in audio processing by manipulating the channel mapping.