Lucene search

K
cvelistLinuxCVELIST:CVE-2021-47447
HistoryMay 22, 2024 - 6:19 a.m.

CVE-2021-47447 drm/msm/a3xx: fix error handling in a3xx_gpu_init()

2024-05-2206:19:39
Linux
www.cve.org
linux kernel
vulnerability
resolution
drm
msm
a3xx
error handling

6.3 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

9.2%

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

drm/msm/a3xx: fix error handling in a3xx_gpu_init()

These error paths returned 1 on failure, instead of a negative error
code. This would lead to an Oops in the caller. A second problem is
that the check for “if (ret != -ENODATA)” did not work because “ret” was
set to 1.

CNA Affected

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

6.3 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

9.2%