CVE-2021-47502

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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.16:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.16:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.16:rc4:*:*:*:*:*:*

History

29 Sep 2025, 16:32

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/1089dac26c6b4b833323ae6c0ceab29fb30ede72 - () https://git.kernel.org/stable/c/1089dac26c6b4b833323ae6c0ceab29fb30ede72 - Patch
References () https://git.kernel.org/stable/c/23ba28616d3063bd4c4953598ed5e439ca891101 - () https://git.kernel.org/stable/c/23ba28616d3063bd4c4953598ed5e439ca891101 - Patch
References () https://git.kernel.org/stable/c/339ffb5b56005582aacc860524d2d208604049d1 - () https://git.kernel.org/stable/c/339ffb5b56005582aacc860524d2d208604049d1 - Patch
CWE NVD-CWE-noinfo
CPE cpe:2.3:o:linux:linux_kernel:5.16:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.16:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.16:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.16:rc1:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
First Time Linux linux Kernel
Linux

21 Nov 2024, 06:36

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/1089dac26c6b4b833323ae6c0ceab29fb30ede72 - () https://git.kernel.org/stable/c/1089dac26c6b4b833323ae6c0ceab29fb30ede72 -
References () https://git.kernel.org/stable/c/23ba28616d3063bd4c4953598ed5e439ca891101 - () https://git.kernel.org/stable/c/23ba28616d3063bd4c4953598ed5e439ca891101 -
References () https://git.kernel.org/stable/c/339ffb5b56005582aacc860524d2d208604049d1 - () https://git.kernel.org/stable/c/339ffb5b56005582aacc860524d2d208604049d1 -
Summary
  • (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.

24 May 2024, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-24 15:15

Updated : 2025-09-29 16:32


NVD link : CVE-2021-47502

Mitre link : CVE-2021-47502

CVE.ORG link : CVE-2021-47502


JSON object : View

Products Affected

linux

  • linux_kernel