
Cloud Vulnerability DB
A community-led vulnerabilities database
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).
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).
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).
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).
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).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."