Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2021-47502
HistoryMay 24, 2024 - 3:01 p.m.

CVE-2021-47502 ASoC: codecs: wcd934x: handle channel mappping list correctly

2024-05-2415:01:49
Linux
github.com
6
asoc
wcd934x
vulnerability fix
linux kernel
channel mapping

AI Score

7

Confidence

Low

EPSS

0

Percentile

15.5%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

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.

CNA Affected

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "a70d9245759a",
        "lessThan": "1089dac26c6b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "a70d9245759a",
        "lessThan": "339ffb5b5600",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "a70d9245759a",
        "lessThan": "23ba28616d30",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "sound/soc/codecs/wcd934x.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.6"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.6",
        "versionType": "custom"
      },
      {
        "status": "unaffected",
        "version": "5.10.85",
        "versionType": "custom",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.8",
        "versionType": "custom",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "5.16",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "sound/soc/codecs/wcd934x.c"
    ],
    "defaultStatus": "affected"
  }
]

AI Score

7

Confidence

Low

EPSS

0

Percentile

15.5%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial