drm/amdgpu/gfx9: Add Cleaner Shader Deinitialization in gfx_v9_0 Module
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/amdgpu/gfx9: Add Cleaner Shader Deinitialization in gfx_v9_0 Module
This commit addresses an omission in the previous patch related to the cleaner shader support for GFX9 hardware. Specifically, it adds the necessary deinitialization code for the cleaner shader in the gfx_v9_0_sw_fini function.
The added line amdgpu_gfx_cleaner_shader_sw_fini(adev); ensures that any allocated resources for the cleaner shader are freed correctly, avoiding potential memory leaks and ensuring that the GPU state is clean for the next initialization sequence.
From the CVE record · Linux
The Linux kernel’s amdgpu GFX9 cleaner shader code can leave allocated resources unfreed during deinitialization. This can cause a memory leak; the input does not describe an attacker path or specify authentication or user-interaction requirements.
Anyone running the Linux kernel with amdgpu GFX9 hardware should check their version; affected versions are not specified.