CVE-2021-47502

ASoC: codecs: wcd934x: handle channel mappping list correctly

State
Published
Severity
7.8 High
Published
May 24, 2024
Updated
Aug 5, 2026
Reserved
May 22, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • dd9eb19b567303e4b92747dcfb5deedb182af111 to before 1089dac26c6b4b833323ae6c0ceab29fb30ede72Affected
  • dd9eb19b567303e4b92747dcfb5deedb182af111 to before 339ffb5b56005582aacc860524d2d208604049d1Affected
  • dd9eb19b567303e4b92747dcfb5deedb182af111 to before 23ba28616d3063bd4c4953598ed5e439ca891101Affected
LinuxLinux
  • 5.6Affected
  • before 5.6Not affected
  • 5.10.85 through 5.10.*Not affected
  • 5.15.8 through 5.15.*Not affected
  • 5.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.