
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-49490 affects the Linux kernel's mdp5 (Mobile Display Processor 5) subsystem. The vulnerability was discovered when it was found that mdp5_get_global_state function could encounter a deadlock condition when acquiring the modeset lock, potentially leading to a NULL dereference error in the mdp5_pipe_release function (Kernel Commit).
The vulnerability exists in the DRM (Direct Rendering Manager) MSM driver's MDP5 component. The issue occurs because mdp5_pipe_release doesn't properly check for errors returned by mdp5_get_global_state when acquiring the modeset lock. This oversight can result in a NULL dereference if mdp5_get_global_state returns -EDEADLK. The fix involves modifying mdp5_pipe_release to return an error code and properly handle cases where mdp5_get_global_state fails (Kernel Commit).
The vulnerability could lead to a system crash due to NULL pointer dereference when the deadlock condition is triggered in the mdp5_pipe_release function. This primarily affects systems using the MSM DRM driver with MDP5 display hardware (CERT-FR).
The vulnerability requires local access to the system and the ability to interact with the DRM subsystem. It can be triggered through normal graphics operations when specific conditions are met that cause the modeset lock acquisition to fail (Kernel Commit).
The issue has been fixed by modifying the mdp5_pipe_release function to properly handle error conditions from mdp5_get_global_state and propagate the error codes appropriately. The fix includes checking for IS_ERR return values and returning appropriate error codes instead of continuing with potentially invalid state. Users should update to patched kernel versions that include this 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."