CVE-2021-47502: ASoC: codecs: wcd934x: handle channel mappping list correctly

Published May 24, 2024
·
Updated

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

70 affected components
Linux Linux kernel
Linux Linux kernel>=5.6<5.10.85
Linux Linux kernel>=5.11<5.15.8
Linux Linux kernel=5.16-rc1
Linux Linux kernel=5.16-rc2
Linux Linux kernel=5.16-rc3
Linux Linux kernel=5.16-rc4
ubuntu/linux-hwe-edge*
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-azure*
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.3*
ubuntu/linux-gke-4.15*
ubuntu/linux-gke-5.4*
ubuntu/linux-gkeop-5.4*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-aws-5.11*
ubuntu/linux-aws-5.13*
ubuntu/linux-aws-5.8*
ubuntu/linux-azure-5.11*
ubuntu/linux-azure-5.13*
ubuntu/linux-azure-5.8*
ubuntu/linux-azure-fde*
ubuntu/linux-gcp-5.11*
ubuntu/linux-gcp-5.13*
ubuntu/linux-gcp-5.8*
ubuntu/linux-gke*
ubuntu/linux-gke-5.15*
ubuntu/linux-hwe-5.11*
ubuntu/linux-hwe-5.13*
ubuntu/linux-hwe-5.8*
ubuntu/linux-intel-5.13*
ubuntu/linux-oem-5.10*
ubuntu/linux-oem-5.13*
ubuntu/linux-oem-5.6*
ubuntu/linux-oracle-5.11*
ubuntu/linux-oracle-5.13*
ubuntu/linux-oracle-5.8*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.11*
ubuntu/linux-riscv-5.8*
ubuntu/linux-allwinner-5.19*
ubuntu/linux-aws-5.19*
ubuntu/linux-aws-6.2*
ubuntu/linux-azure-5.19*
ubuntu/linux-azure-6.2*
ubuntu/linux-azure-fde-5.19*
ubuntu/linux-azure-fde-6.2*
ubuntu/linux-gcp-5.19*
ubuntu/linux-gcp-6.2*
ubuntu/linux-hwe-5.19*
ubuntu/linux-hwe-6.2*
ubuntu/linux-lowlatency-hwe-5.19*
ubuntu/linux-lowlatency-hwe-6.2*
ubuntu/linux-nvidia-6.2*
ubuntu/linux-oem-5.17*
ubuntu/linux-oem-6.0*
ubuntu/linux-oem-6.1*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.19*
ubuntu/linux-starfive-5.19*
ubuntu/linux-starfive-6.2*

Event History

May 24, 2024
CVE Published
via MITRE·03:01 PM
Data Sourced
via MITRE·03:01 PM
Description
Data Sourced
via OSV·03:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·03:15 PM
Description
Sep 29, 2025
Data Sourced
via NVD·04:32 PM
RemedySeverityAffected Software
Aug 4, 2026
Data Sourced
via MITRE·09:01 AM
Severity
Event
via MITRE·09:01 AM
Updated
via NVD·10:17 AM
Severity

Frequently Asked Questions

1

What is the severity of CVE-2021-47502?

CVE-2021-47502 is classified as a medium severity vulnerability in the Linux kernel.

2

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.

3

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.

4

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.

5

Is CVE-2021-47502 exploitable?

Yes, CVE-2021-47502 could potentially be exploited to cause issues in audio processing by manipulating the channel mapping.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203