drm/msm/adreno: fix use after free on error path in a6xx_gpu_init()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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/
From the CVE record · Linux
The Linux kernel’s Adreno a6xx GPU initialization error path uses freed memory after cleanup. The input does not specify what an attacker could do or whether exploitation requires local access, authentication, or user interaction.
Engineers running Linux kernels with the affected Adreno a6xx driver should check their installations; affected versions are not specified.