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 3B33B4F30CA for ; Wed, 16 Sep 2026 10:33:49 +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=1789554832; cv=none; b=lhQdVKbG+jPz1K/xLhct/iOFyQF6+s1N6GNf3mIBdKPXmxDzP6Pdxul1gIChs57P5ZVVafgu/haInzFeW1698hz3tOOOPpioIzK1XV5EM8G+rUZXCyTxuDWMbcpMpq5uJSrTuFxacv9cyA92xiYcv0LR6TGVe1dNtlO1fjP3yak= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789554832; c=relaxed/simple; bh=LB9418eygvd3+eQGi5filhBSIIPSwM8+Fmyt3jwGyBI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=doRj6BrHVVu9fAlhBMv8EX2uaHww+Riuuigge4pKDUKihN+VcVapG8GnrLxAPKEfq6Pjeqf0lh/6lLoZr18ijtJe+lhrpWOCNadq1DXnZAwKak4Dn9FuOLy502UvRBdXkr51UV3LjmcEVLMg8UBIsk6gkUmKhI246pKyiNSy3k0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=h9ypT1xB; 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="h9ypT1xB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F4021F0089A; Wed, 16 Sep 2026 10:33:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789554828; bh=iD2BkdhIA84UdmtLTMJGl4ANfg++4+wK0Ctp6a8R19I=; h=From:To:Cc:Subject:Date:Reply-To; b=h9ypT1xB9H8WcaPiWpLSXX721UoIEq/q/DKB6l1kQZqOumw3bIKkpX+sFoQFswFvN 1s+T0TR+LeGrgz1ORCZDayZhuh0hJrjUMqi/EKBLLqDmVVnq41QNEt6caIks1Ala68 NWQTtu3dTOJ53YhDWJLjbMsykptRbFYznCVd4D6I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89818: drm/amdgpu/vcn: fix integer overflow in dec_msg buffer count check Date: Wed, 16 Sep 2026 11:29:08 +0100 Message-ID: <2026091659-CVE-2026-89818-bd11@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=3782; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HpoWzK01a13zYJ/U9pIyyGem2NSqKd1vRdzZxqvhIxo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8rPfhwn558YpTZ17PpZTabnew+YPCz6HKjyQ3aB65 mb7yWXSHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARflaGORyPObivhHPMWRH3 /Kvq9T/t8/IuL2aYZ7Qkb3Iqa0FuaJCujZfS6xrJZRGfAA== 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/vcn: fix integer overflow in dec_msg buffer count check If the supplied msg[2] (num_buffers) is 0x3FFFFFFF, the expression 6 + num_buffers * 4 wraps to 2 and the bounds check passes, letting the parser loop far past the end of the message BO. Triggering it additionally requires a ~4GiB mapping so that msg[1] survives the earlier "header does not fit in BO" check. Rewrite the test in division form, which is overflow-free by construction. Also update the message to reflect that msg is invalid. The Linux kernel CVE team has assigned CVE-2026-89818 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1.175 with commit 88411caee8f576d6b5abf6531232fcc0ce756dc5 and fixed in 6.1.188 with commit c2340281be4ddacb8c203e2bce59b126d1d6c4c8 Issue introduced in 6.6.140 with commit c72a8b4dc6d598e3831ef3abd9c6527dfbf4810e and fixed in 6.6.157 with commit 6dceaeceaa7c8396339f3ea34b0110cb912ca61b Issue introduced in 6.12.90 with commit 7688143ca62edeecacb3ba0a2cea129dbd262a18 and fixed in 6.12.110 with commit 47799e1f893d47d8af231710a61065e3ec8a13e8 Issue introduced in 6.18.32 with commit 63b51e8a9d54317d31cc3856c1e12407070d5fc2 and fixed in 6.18.51 with commit 7e28853c78c20bb8ba4c1dba702430cd05e09f76 Issue introduced in 7.1 with commit b193019860d61e92da395eae2011f2f6716b182f and fixed in 7.2.5 with commit 9ae19bd60891bea0a7b7504cc8dbfe74570ac3b3 Issue introduced in 7.1 with commit b193019860d61e92da395eae2011f2f6716b182f and fixed in 7.3-rc1 with commit 4d7390530853eb7befda9cc786e4c86e8ad7ac9e Issue introduced in 5.15.209 with commit f55552adb100eb54a6e6dabff4fbdc8679bd3fa0 Issue introduced in 6.1.175 with commit 82c535eff05490c71153af57de9fe85502fcb5d5 Issue introduced in 6.6.140 with commit 638d3e0b9eb77aa53fdd60e2b928761d16ba76fa Issue introduced in 6.12.90 with commit 870c8738c3774336baedddd0240951d078a703b8 Issue introduced in 6.18.32 with commit 638e48ee39d0f2af9336f917a6f5d6692dd64d93 Issue introduced in 7.0.9 with commit e382e0b81a3e7bd21504fee1d01ae8b08f84d3a7 Issue introduced in 7.0.9 with commit 3c817a60b09eaab926e475088e750936efcc95ae 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-89818 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/vcn_v3_0.c drivers/gpu/drm/amd/amdgpu/vcn_v4_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/c2340281be4ddacb8c203e2bce59b126d1d6c4c8 https://git.kernel.org/stable/c/6dceaeceaa7c8396339f3ea34b0110cb912ca61b https://git.kernel.org/stable/c/47799e1f893d47d8af231710a61065e3ec8a13e8 https://git.kernel.org/stable/c/7e28853c78c20bb8ba4c1dba702430cd05e09f76 https://git.kernel.org/stable/c/9ae19bd60891bea0a7b7504cc8dbfe74570ac3b3 https://git.kernel.org/stable/c/4d7390530853eb7befda9cc786e4c86e8ad7ac9e