Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0A3564F0539 for ; Wed, 16 Sep 2026 10:33:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789554824; cv=none; b=oZyxX6+sKpziQiwzldKP/GQR3ywFB2sPKolx+pBCHTGbMTUPAfyELxcRCr82btbcOYULiav1iUMbh6zus5rVBtyBPDWViBn7pq68nndkG39sivkhiiAH62P85KOUXtAAHLfsF10mfxFXIZ5l8aPpf+3wb9qyfvdJNGfxEG3pBP4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789554824; c=relaxed/simple; bh=tx3/5Wg/ATO/SnZF19FuZRDIWXMoo/QXdB3W++eRI2s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qGY5BRjC5aHF5FeqYu+EWSjLQB1XkDAVGzgFRUPzqSBtuqn4tw8uVk0GEaVnP6OSUD+JfjNJ9rVwI9MbalQl3hC+UiQte7BEyYSqVaEjnjthzH+n9VNM0PxoIQvDC8gq3BhdL9UUIaUXIvKFCLpRyZSfXb5so5u5LCVhECzFyZs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IocZUPDg; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="IocZUPDg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2481B1F00898; Wed, 16 Sep 2026 10:33:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789554807; bh=tOTHq4yNBvaglPMHR2ofTM6zGfIaJ92Po7KA83wfjyc=; h=From:To:Cc:Subject:Date:Reply-To; b=IocZUPDgBxCvx1NKouXuKkh6V8NYuR0E5bW2mqV1kzPF327IKmXb9gaifCWBcFuSx SermF7zxUGqeCSGv7EvpJBD6kM0VNylb+/fDZHiGFJWiPuogwuuZSSriQPT8MWTMfc IlrN7icd7ujVfnEq6M3RhtKc6cbWER/cKJ4D7PyA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89812: drm/amdgpu: force complete the MES ring fences on reset Date: Wed, 16 Sep 2026 11:29:02 +0100 Message-ID: <2026091656-CVE-2026-89812-39ec@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2603; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UjwdQblyLmh9WGhNj1/CmjRZEasU+S/o0Lkd9fkjjuU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8jMl/fNynrw5vO/+22vyplu8/q1h+hK46bhkeKZvQ +iDf/m7OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiazgZFkywf2zzOH/D4dRF rYzs7+ZlOWky72SYK6i/fq7LPMO/qpPmfhR3F+Ob62T5DQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: force complete the MES ring fences on reset The MES scheduler ring has no drm scheduler (no_scheduler = true), so it is skipped by the force-completion loop in amdgpu_device_pre_asic_reset(). It uses a polling fence whose hw value lives in wb (GTT) memory and survives a MODE1 reset, while fence_drv.sync_seq keeps advancing for every packet. When the reset is triggered because MES itself stopped responding, the timed-out packets advance sync_seq past the last hw fence value MES wrote. After resume the first MES submission polls forever on a seq that is never written back, failing the resume and wedging the box on a second reset: amdgpu: MES ring buffer is full. amdgpu: *ERROR* ring gfx_0.0.0 test failed (-110) amdgpu: resume of IP block failed -110 amdgpu: GPU reset end with ret = -110 Force complete the MES scheduler ring fences together with the scheduler rings so their hw fence is realigned to sync_seq. v2: cover all XCCs (one scheduler ring each), not just mes.ring[0]. The Linux kernel CVE team has assigned CVE-2026-89812 to this issue. Affected and fixed versions =========================== Fixed in 7.2.5 with commit ebe7542553d008e2285e0fbba0c63f0295a7e694 Fixed in 7.3-rc1 with commit 48dc279c3010ac8f91b1845b2abb3a1e9943a0f5 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-89812 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_device.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/ebe7542553d008e2285e0fbba0c63f0295a7e694 https://git.kernel.org/stable/c/48dc279c3010ac8f91b1845b2abb3a1e9943a0f5