Skip to contentSkip to conversation

CVE-2026-93139: drm/amdgpu/mes: Fix hung_queue_db_array loop limit for multi-XCC

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

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/mes: Fix hung_queue_db_array loop limit for multi-XCC

The loop iterated only AMDGPU_MAX_MES_PIPES times, leaving entries uninitialized for multi-XCC GPUs. This causes null pointer dereferences when accessing arrays indexed by XCC ID >= 2. Extend the loop to cover all XCCs (AMDGPU_MAX_MES_PIPES * num_xcc), matching other per-XCC arrays.

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

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

	Issue introduced in 7.2 with commit a132fc9bc2f8b394a2f75947a0e1f5c22482a94c and fixed in 7.2.6 with commit 7ff668cfc3960ed5b944ac35129f18a15ea08b74
	Issue introduced in 7.2 with commit a132fc9bc2f8b394a2f75947a0e1f5c22482a94c and fixed in 7.3-rc1 with commit 2c256086a363f01f9840a57949506eccf5c990a6

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

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_mes.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/7ff668cfc3960ed5b944ac35129f18a15ea08b74
	https://git.kernel.org/stable/c/2c256086a363f01f9840a57949506eccf5c990a6