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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-05-22T06:19:38.839Z
- Modified: 2026-08-05T08:47:49.798Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: from 5.11 before 5.14.14; 5.15

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/3962d626eb3e3b23ebb2e2a61537fa764acbfe11> (patch)
- <https://git.kernel.org/stable/c/980d74e7d03ccf2eaa11d133416946bd880c7c08> (patch)

## Sources

- CVE List: [CVE-2021-47446](https://www.cve.org/CVERecord?id=CVE-2021-47446), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2021-47446](https://nvd.nist.gov/vuln/detail/CVE-2021-47446), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2021-47446 · Whole record: https://cve.day/CVE-2021-47446.json · Rebuilt by cve.day 2026-11-25T22:58:08.861Z
