In the Linux kernel, the following vulnerability has been resolved: drm/msm/adreno: fix use after free on error path in a6xx_gpu_init() The a6xx_destroy() function frees "a6xx_gpu" and so "adreno_gpu" points to freed memory. Preserve the error code before freeing the memory to avoid a use after free. Patchwork: https://patchwork.freedesktop.org/patch/732275/
https://git.kernel.org/stable/c/b8a9c9c5787bed1243e5364c89ca66c26b4e4d83
https://git.kernel.org/stable/c/105aaff286a153bfde3c1f5be534e6ded1f64342