7.8high
ASoC: codecs: wcd934x: handle channel mappping list correctly
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 5.6 before 5.10.85, from 5.11 before 5.15.8, 5.16 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ASoC: códecs: wcd934x: maneja correctamente la lista de asignación de canales Actualmente, cada canal se agrega como lista a la lista de canales dai, sin embargo, existe el peligro de agregar el mismo canal a varias listas de canales dai, lo que termina corrompiendo la otra lista donde ya está agregada. Este parche garantiza que el canal esté realmente libre antes de agregarlo a la lista de canales dai y también garantiza que el canal esté en la lista antes de eliminarlo. Esta verificación faltaba anteriormente y no encontramos este problema ya que estábamos probando casos de uso muy simples con una secuencia de comandos de amixer.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47502 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2021-47502 changed 2026-08-04 | Public domain |