Skip to contentSkip to conversation

CVE-2026-98784: drm/amdgpu/gfx6: fix firmware leak on teardown

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 18

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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)

The Linux kernel CVE team has assigned CVE-2026-98784 to this issue.

Affected and fixed versions
===========================

	Fixed in 6.12.113 with commit 3a86ebf6aa8b0a845e6188daaa6f530fe67ff00e
	Fixed in 6.18.56 with commit 652f631e2e3a8d3b11ad72dd0b8e59b5183de0d9
	Fixed in 7.2.10 with commit 4b70c6b34912ca0b4066f56fd627d785dfbfe1fa
	Fixed in 7.3-rc6 with commit cc172e177795c5f87bc2d71768d077e1c10633e8

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-98784

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/amd/amdgpu/gfx_v6_0.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/3a86ebf6aa8b0a845e6188daaa6f530fe67ff00e
	https://git.kernel.org/stable/c/652f631e2e3a8d3b11ad72dd0b8e59b5183de0d9
	https://git.kernel.org/stable/c/4b70c6b34912ca0b4066f56fd627d785dfbfe1fa
	https://git.kernel.org/stable/c/cc172e177795c5f87bc2d71768d077e1c10633e8