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/