CVE-2021-47446
JSON

7.8high

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

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 5785dd7a8ef0de8049f40a1a109de6a1bf17b479 before 3962d626eb3e3b23ebb2e2a61537fa764acbfe11, from 5785dd7a8ef0de8049f40a1a109de6a1bf17b479 before 980d74e7d03ccf2eaa11d133416946bd880c7c08, 5.11
Not affected: before 5.11, from 5.14.14 up to 5.14.*, from 5.15 up to *
CVE List
linux linux_kernelfrom 5.11 before 5.14.14, 5.15NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-908

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/msm/a4xx: corrige el manejo de errores en a4xx_gpu_init() Este código devuelve 1 en caso de error en lugar de un error negativo. Conduce a un Ups en la persona que llama. Un segundo problema es que la verificación de "if (ret! = -ENODATA)" no puede ser verdadera porque "ret" está establecido en 1.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-47446 changed 2026-08-05CVE Terms of Use
NVDCVE-2021-47446 changed 2026-08-04Public domain