← CVE Intelligence

CVE-2021-47446

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 5785dd7a8ef0de8049f40a1a109de6a1bf17b479 before 3962d626eb3e3b23ebb2e2a61537fa764acbfe11; affected 5785dd7a8ef0de8049f40a1a109de6a1bf17b479 before 980d74e7d03ccf2eaa11d133416946bd880c7c08
Linux / Linuxaffected 5.11; unaffected 0 before 5.11; unaffected 5.14.14 through 5.14.*; unaffected 5.15 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.