Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2021-47286
HistoryMay 21, 2024 - 2:34 p.m.

CVE-2021-47286 bus: mhi: core: Validate channel ID when processing command completions

2024-05-2114:34:47
Linux
github.com
linux kernel
vulnerability
mhi
event ring element
out of bound accesses
controller

7 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.7%

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

bus: mhi: core: Validate channel ID when processing command completions

MHI reads the channel ID from the event ring element sent by the
device which can be any value between 0 and 255. In order to
prevent any out of bound accesses, add a check against the maximum
number of channels supported by the controller and those channels
not configured yet so as to skip processing of that event ring
element.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/bus/mhi/core/main.c"
    ],
    "versions": [
      {
        "version": "1d3173a3bae7",
        "lessThan": "3efec3b4b16f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1d3173a3bae7",
        "lessThan": "aed4f5b51aba",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1d3173a3bae7",
        "lessThan": "546362a9ef2e",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/bus/mhi/core/main.c"
    ],
    "versions": [
      {
        "version": "5.7",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.7",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.54",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.13.6",
        "lessThanOrEqual": "5.13.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.14",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

7 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.7%

Related for VULNRICHMENT:CVE-2021-47286