Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2021-47446
HistoryMay 22, 2024 - 6:19 a.m.

CVE-2021-47446 drm/msm/a4xx: fix error handling in a4xx_gpu_init()

2024-05-2206:19:38
Linux
github.com
7
cve-2021-47446
vulnerability
resolved
linux kernel
oops
error handling

AI Score

6.9

Confidence

Low

EPSS

0

Percentile

9.0%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

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

drm/msm/a4xx: fix error handling in a4xx_gpu_init()

This code returns 1 on error instead of a negative error. It leads to
an Oops in the caller. A second problem is that the check for
“if (ret != -ENODATA)” cannot be true because “ret” is set to 1.

CNA Affected

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5785dd7a8ef0",
        "lessThan": "3962d626eb3e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5785dd7a8ef0",
        "lessThan": "980d74e7d03c",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/gpu/drm/msm/adreno/a4xx_gpu.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.11"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.11",
        "versionType": "custom"
      },
      {
        "status": "unaffected",
        "version": "5.14.14",
        "versionType": "custom",
        "lessThanOrEqual": "5.14.*"
      },
      {
        "status": "unaffected",
        "version": "5.15",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/gpu/drm/msm/adreno/a4xx_gpu.c"
    ],
    "defaultStatus": "affected"
  }
]

AI Score

6.9

Confidence

Low

EPSS

0

Percentile

9.0%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial