Lucene search

K
cvelistLinuxCVELIST:CVE-2022-48716
HistoryJun 20, 2024 - 11:13 a.m.

CVE-2022-48716 ASoC: codecs: wcd938x: fix incorrect used of portid

2024-06-2011:13:09
Linux
www.cve.org
linux kernel
asoc
wcd938x
vulnerability
fix

0.0004 Low

EPSS

Percentile

15.7%

In the Linux kernel, the following vulnerability has been resolved:

ASoC: codecs: wcd938x: fix incorrect used of portid

Mixer controls have the channel id in mixer->reg, which is not same
as port id. port id should be derived from chan_info array.
So fix this. Without this, its possible that we could corrupt
struct wcd938x_sdw_priv by accessing port_map array out of range
with channel id instead of port id.

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/wcd938x.c"
    ],
    "versions": [
      {
        "version": "e8ba1e05bdc0",
        "lessThan": "aa7152f9f117",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e8ba1e05bdc0",
        "lessThan": "9167f2712dc8",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "e8ba1e05bdc0",
        "lessThan": "c5c1546a654f",
        "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/wcd938x.c"
    ],
    "versions": [
      {
        "version": "5.14",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.14",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.22",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.16.8",
        "lessThanOrEqual": "5.16.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.17",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

0.0004 Low

EPSS

Percentile

15.7%

Related for CVELIST:CVE-2022-48716