CVE-2021-47502

published 24 May 2024 · updated 5 Aug 2026

ASoC: codecs: wcd934x: handle channel mappping list correctly

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1089dac26c6b4b833323ae6c0ceab29fb30ede72, Kernel 23ba28616d3063bd4c4953598ed5e439ca891101 and Kernel 339ffb5b56005582aacc860524d2d208604049d1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.6, >=dd9eb19b567303e4b92747dcfb5deedb182af111 <1089dac26c6b4b833323ae6c0ceab29fb30ede72, >=dd9eb19b567303e4b92747dcfb5deedb182af111 <23ba28616d3063bd4c4953598ed5e439ca891101, >=dd9eb19b567303e4b92747dcfb5deedb182af111 <339ffb5b56005582aacc860524d2d208604049d11089dac26c6b4b833323ae6c0ceab29fb30ede72, 23ba28616d3063bd4c4953598ed5e439ca891101, 339ffb5b56005582aacc860524d2d208604049d1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47502 severity on Zeptric[![CVE-2021-47502](https://zeptric.io/badge/cve/CVE-2021-47502.svg)](https://zeptric.io/cve/CVE-2021-47502)