In the Linux kernel, the following vulnerability has been resolved:
drm/msm/mdp5: Return error code in mdp5mixerrelease when deadlock is detected
There is a possibility for mdp5getglobalstate to return -EDEADLK when acquiring the modeset lock, but currently globalstate in mdp5mixerrelease doesn't check for if an error is returned.
To avoid a NULL dereference error, let's have mdp5mixerrelease check if an error is returned and propagate that error.
Patchwork: https://patchwork.freedesktop.org/patch/485181/
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49488.json",
"cna_assigner": "Linux"
}