CVE-2021-47447
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47447 affects the Linux kernel's error handling in the drm/msm/a3xx GPU driver. The vulnerability was discovered in the a3xx_gpu_init() function where error paths incorrectly returned 1 on failure instead of a negative error code. This issue was disclosed on May 22, 2024, and affects the Linux kernel's DRM (Direct Rendering Manager) subsystem (NVD).

Technical details

The vulnerability exists in the error handling logic of the a3xx_gpu_init() function. There are two specific issues: 1) Error paths returned a value of 1 on failure instead of the expected negative error code, which would lead to an Oops in the caller, and 2) The condition check 'if (ret != -ENODATA)' was ineffective because 'ret' was set to 1. The issue was fixed by properly handling error conditions using PTR_ERR() and correcting the error code return values (Kernel Commit).

Impact

When triggered, this vulnerability would lead to a kernel Oops, potentially causing system instability or denial of service. The improper error handling could cause the caller to misinterpret error conditions, leading to unexpected behavior in the DRM subsystem (NVD).

Exploitability

The vulnerability requires local access to a system with the affected DRM/MSM driver. It can be triggered through normal operation of the GPU initialization process when error conditions occur (Kernel Commit).

Mitigation and workarounds

The issue has been fixed in the Linux kernel through a patch that corrects the error handling logic. The fix involves properly using PTR_ERR() to handle error conditions and ensuring correct error code returns. Users should update their Linux kernel to a version containing the fix (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74583NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug
NoYesAug 21, 2026
CVE-2026-74582NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel.src
NoYesAug 21, 2026
CVE-2026-74581NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-internal
NoYesAug 21, 2026
CVE-2026-74580NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug
NoYesAug 21, 2026
CVE-2025-30156NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel-matched
NoYesAug 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management