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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-05-24T15:01:49.699Z
- Modified: 2026-08-05T08:48:08.082Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from dd9eb19b567303e4b92747dcfb5deedb182af111 before 1089dac26c6b4b833323ae6c0ceab29fb30ede72; from dd9eb19b567303e4b92747dcfb5deedb182af111 before 339ffb5b56005582aacc860524d2d208604049d1; from dd9eb19b567303e4b92747dcfb5deedb182af111 before 23ba28616d3063bd4c4953598ed5e439ca891101; 5.6 (not affected: before 5.6; from 5.10.85 up to 5.10.*; from 5.15.8 up to 5.15.*; from 5.16 up to *)
- linux linux_kernel: from 5.6 before 5.10.85; from 5.11 before 5.15.8; 5.16

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/1089dac26c6b4b833323ae6c0ceab29fb30ede72> (patch)
- <https://git.kernel.org/stable/c/339ffb5b56005582aacc860524d2d208604049d1> (patch)
- <https://git.kernel.org/stable/c/23ba28616d3063bd4c4953598ed5e439ca891101> (patch)

## Sources

- CVE List: [CVE-2021-47502](https://www.cve.org/CVERecord?id=CVE-2021-47502), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2021-47502](https://nvd.nist.gov/vuln/detail/CVE-2021-47502), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2021-47502 · Whole record: https://cve.day/CVE-2021-47502.json · Rebuilt by cve.day 2026-11-25T22:58:08.887Z
