drm/amdgpu/gfx6: fix firmware leak on teardown
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 2cd46ad22383ab8372b86cdb5257589496099412 · < 652f631e2e3a8d3b11ad72dd0b8e59b5183de0d9| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu/gfx6: fix firmware leak on teardown
The firmware requested in gfx_v6_0_init_microcode() is not released when the GFX block is torn down, leaking the firmware resources.
Add gfx_v6_0_free_microcode() and call it from gfx_v6_0_sw_fini() to release the PFP, ME, CE and RLC firmware.
(cherry picked from commit 386e81346f95ab0be5a82c5535de932e7a456924)
From the CVE record · Linux
The Linux kernel’s AMD GPU GFX6 code does not release requested firmware when the GFX block is torn down, leaking firmware resources. The input does not describe an attacker path, required access, or user interaction.
Engineers running Linux kernels with the AMD GPU GFX6 code should check their deployments; affected versions are not specified.