Skip to contentSkip to conversation

CVE-2026-99625: drm/amdgpu: Fix duplicate dependency fence releases

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Nov 20

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: Fix duplicate dependency fence releases

drm_sched_job_add_dependency() consumes its fence reference on success and failure. Do not release the fence again if drm_sched_job_add_dependency() fails.

(cherry picked from commit e04f3dfb2071451633e6440a3911a9bb65df9144)

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

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

	Issue introduced in 6.2 with commit c1c4a8b217213c1924eabf4f28385bbee9cc50c1 and fixed in 6.12.118 with commit 9ef784728cfbfcccfed5d3ea92f7861571efc064
	Issue introduced in 6.2 with commit c1c4a8b217213c1924eabf4f28385bbee9cc50c1 and fixed in 6.18.64 with commit 5d6e0c2dccf210838ed4eaf4d736a48532bf7bc5
	Issue introduced in 6.2 with commit c1c4a8b217213c1924eabf4f28385bbee9cc50c1 and fixed in 7.3.5 with commit 4cb2aeb7f23d25b8349ee87048415818b94320ad
	Issue introduced in 6.2 with commit c1c4a8b217213c1924eabf4f28385bbee9cc50c1 and fixed in 7.4-rc2 with commit ea47f84199241dd083d40a241beea665415d4f6c

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

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/amdgpu_sync.c drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.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/9ef784728cfbfcccfed5d3ea92f7861571efc064
	https://git.kernel.org/stable/c/5d6e0c2dccf210838ed4eaf4d736a48532bf7bc5
	https://git.kernel.org/stable/c/4cb2aeb7f23d25b8349ee87048415818b94320ad
	https://git.kernel.org/stable/c/ea47f84199241dd083d40a241beea665415d4f6c