From mboxrd@z Thu Jan 1 00:00:00 1970 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 ABA764457AF for ; Wed, 26 Aug 2026 14:40:47 +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=1787755249; cv=none; b=HGt442hWblx5VoXX0lWcIDIjw7Qktd/uX0WAMtVEGHhLuo5HIc5EpJUxX7jcHMFLfMBMtjwA8nZA/Ezx6rB1Q1Hl9/u6516HCTQ3019Qas92IMOkUBZRqeFnFosXp2xY/yo3469Ij5yUJxCnx7J5j/G5/BsOlOtnykylpYI0cdU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755249; c=relaxed/simple; bh=QGP6Y4hS/e4RRyqns6YGhyzfW3MNq6oA6cVSUGVjGGA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=u0+lyJsGNcc/Nw6GZUwgHUrK4ik9fjYNypxqwiDia5GE9disodTvkOexPvzOwxTwpiy9shGY0w+IPWx2LrzaN0PYqsabG35nq07itVLaOUkQ+oJBjBd9rEqYQPJGIzmAeYcIkug3V8P7GfhxQG8baAS5AyY0knSGBmQ8wKlh0bs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Qso5Mge6; 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="Qso5Mge6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4BF821F000E9; Wed, 26 Aug 2026 14:40:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787755246; bh=zr/c8yucZgGtZWjhQRux8xJcypg3/O77M20oqEikkh0=; h=From:To:Cc:Subject:Date:Reply-To; b=Qso5Mge6IjjQEOPT/sHQouJrsaM9hwaxB2l/F+eTgo9aPwEqQ8dr/afV2iNOjMacX JreKw4cPO66PhjMSCNZR4WmBkfDPA0tTWT6dnQfcFKLEHdp2xNK1hQQES/t7CysfO9 YKoQuER092++y3/D12rVP9gj/HDFvvhOQ1YJj4dY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80576: drm/amdgpu: reject oversized IBs with per-ring packet limits Date: Wed, 26 Aug 2026 16:38:12 +0200 Message-ID: <2026082614-CVE-2026-80576-2f9d@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=2487; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=EhWG9Ptfq+iwNDna+xjN8nCXwDF4my00/BE3o1hV4rQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl9v6S4she9EGQ7WhOs/S32eI3wqRonu/zCA2fvTbmw3 KPTQ1mvI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaSVcwwP7vywbPtBkneKXOk mOV0Kj0c9aQPMyzosCy+F5wxTcbiiHylyvyIVCXfp0cA 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: reject oversized IBs with per-ring packet limits On GFX rings, amdgpu_cs_p2_ib() passed user-supplied ib_bytes through to ib->length_dw without a limit, while ring_emit_ib() encodes length into packet fields. Oversized values can corrupt adjacent control bits and destabilize command submission. Add a per-ring IB packet size limit helper and reject command submissions exceeding the corresponding dword limit before IB allocation. Use the documented 20-bit limit for GFX/compute/SDMA/VPE, and apply the MM fallback limit for other ring types. (cherry picked from commit 7f48fa2cf62e3fa6c9c3870aa74988f773247e52) The Linux kernel CVE team has assigned CVE-2026-80576 to this issue. Affected and fixed versions =========================== Fixed in 6.12.105 with commit 6e164ba1057175fb8a370d8e05cbff5c57eac0c8 Fixed in 6.18.46 with commit 1474f3970d1afd303e12ff14d06808eabb371576 Fixed in 7.1.10 with commit 07fe270ec07c138a70afe7a81e115a85c35c545c Fixed in 7.2 with commit fd37f9dd5b5ab70a46fa7bc76623c0528d602b27 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-80576 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_cs.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/6e164ba1057175fb8a370d8e05cbff5c57eac0c8 https://git.kernel.org/stable/c/1474f3970d1afd303e12ff14d06808eabb371576 https://git.kernel.org/stable/c/07fe270ec07c138a70afe7a81e115a85c35c545c https://git.kernel.org/stable/c/fd37f9dd5b5ab70a46fa7bc76623c0528d602b27