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
1
asoc
wcd934x
vulnerability fix
linux kernel
channel mapping

7 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.8%

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

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

7 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.8%

Related for VULNRICHMENT:CVE-2021-47502