CVE-2021-47446

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

State
Published
Severity
7.8 High
Published
May 22, 2024
Updated
Aug 5, 2026
Reserved
May 21, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5785dd7a8ef0de8049f40a1a109de6a1bf17b479 to before 3962d626eb3e3b23ebb2e2a61537fa764acbfe11Affected
  • 5785dd7a8ef0de8049f40a1a109de6a1bf17b479 to before 980d74e7d03ccf2eaa11d133416946bd880c7c08Affected
LinuxLinux
  • 5.11Affected
  • before 5.11Not affected
  • 5.14.14 through 5.14.*Not affected
  • 5.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.