← CVE Intelligence

CVE-2021-47502

ASoC: codecs: wcd934x: handle channel mappping list correctly PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected dd9eb19b567303e4b92747dcfb5deedb182af111 before 1089dac26c6b4b833323ae6c0ceab29fb30ede72; affected dd9eb19b567303e4b92747dcfb5deedb182af111 before 339ffb5b56005582aacc860524d2d208604049d1; affected dd9eb19b567303e4b92747dcfb5deedb182af111 before 23ba28616d3063bd4c4953598ed5e439ca891101
Linux / Linuxaffected 5.6; unaffected 0 before 5.6; unaffected 5.10.85 through 5.10.*; unaffected 5.15.8 through 5.15.*; unaffected 5.16 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.