CVE-2026-93060: drm/msm/adreno: fix use after free on error path in a6xx_gpu_init()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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/
The Linux kernel CVE team has assigned CVE-2026-93060 to this issue.
Affected and fixed versions
===========================
Issue introduced in 7.2 with commit d158886cba08688f2d8d0dbb7025a4440e6a8ffd and fixed in 7.2.6 with commit 105aaff286a153bfde3c1f5be534e6ded1f64342 Issue introduced in 7.2 with commit d158886cba08688f2d8d0dbb7025a4440e6a8ffd and fixed in 7.3-rc1 with commit b8a9c9c5787bed1243e5364c89ca66c26b4e4d83
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-93060
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/gpu/drm/msm/adreno/a6xx_gpu.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/105aaff286a153bfde3c1f5be534e6ded1f64342 https://git.kernel.org/stable/c/b8a9c9c5787bed1243e5364c89ca66c26b4e4d83