Lucene search

K
cvelistLinuxCVELIST: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
www.cve.org
9
linux kernel
vulnerability
cve-2021-47446
resolved
drm/msm/a4xx
error handling

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

9.0%

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

[
  {
    "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/a4xx_gpu.c"
    ],
    "versions": [
      {
        "version": "5785dd7a8ef0",
        "lessThan": "3962d626eb3e",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "5785dd7a8ef0",
        "lessThan": "980d74e7d03c",
        "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/a4xx_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"
      }
    ]
  }
]

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

9.0%