Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B410833891A for ; Wed, 22 Oct 2025 13:25:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761139555; cv=none; b=bnWshRgkAC49EHEslJkdB0jKSLeHUYYtvxc5yebIuWBbr9v3v1xLxOnpHYWYay/mVuZUpB2x71Z6axrmkcEo4o3xz3g07NLgX38uCuOv+osySnP84Tf6fTdNf94n4pnfIAhgKsuc9CETWgnHiw4E5oIYSEPYENWipROLBC3X/yw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761139555; c=relaxed/simple; bh=adGG10vK5OwY027XweU0k+L7bBs6Cp7KWPxzUUEFpz0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IP1VhRycgdjNI7r68EjCptJ6J0uyh1CZLIeX0MMfugLeBrsIq5GEaFusrwvvh6C0dnyRSpmAf9Tsb6/PwEmLFoFR+7CUbiPF/FLmIOXz6aSpM3V65GXAgmRQqQ2u4gmCTwSjdOBb8uHwcPfbtQ13cYe/ZtLeNERbj/W2D0lbe7Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=f5Q8lBpk; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="f5Q8lBpk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 013E8C4CEE7; Wed, 22 Oct 2025 13:25:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1761139555; bh=adGG10vK5OwY027XweU0k+L7bBs6Cp7KWPxzUUEFpz0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=f5Q8lBpk9Vi/sqKMf3bSLGZwijz8MIjvFq5MmZoDvIWysiEjb/0W06mEC7MApLx4C IO7yH+g0T1y3RM7n14Y7f0ARElpl/J9x+veguZJZGzbO3npNRs8wFgJAA6BcLanMrH 6jzfeJMWWD8Nhqr0GtUdbdsVlj9UwhBy9lFViCvs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53707: drm/amdgpu: Fix integer overflow in amdgpu_cs_pass1 Date: Wed, 22 Oct 2025 15:24:46 +0200 Message-ID: <2025102212-CVE-2023-53707-361a@gregkh> X-Mailer: git-send-email 2.51.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1953; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=77hDpMY7Qq3vbhws5gVwcsqbsld787VCUZTTNJxidss=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk/bv15z5DcbiZ45NjMnUba5cxLt/nHqS/eVzT16UVbo UiOutuSHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARBWOGBevXCm6Wa7Utn3f7 6DnZQtbc8oWbLBnmCpc9vyzZXZOnUsy3ZYEF56kj0lkbAA== 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: Fix integer overflow in amdgpu_cs_pass1 The type of size is unsigned int, if size is 0x40000000, there will be an integer overflow, size will be zero after size *= sizeof(uint32_t), will cause uninitialized memory to be referenced later. The Linux kernel CVE team has assigned CVE-2023-53707 to this issue. Affected and fixed versions =========================== Fixed in 6.1.47 with commit 9f55d300541cb5b435984d269087810581580b00 Fixed in 6.4.12 with commit c3deb091398e9e469d08dd1599b6d76fd6b29df8 Fixed in 6.5 with commit 87c2213e85bd81e4a9a4d0880c256568794ae388 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-2023-53707 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/9f55d300541cb5b435984d269087810581580b00 https://git.kernel.org/stable/c/c3deb091398e9e469d08dd1599b6d76fd6b29df8 https://git.kernel.org/stable/c/87c2213e85bd81e4a9a4d0880c256568794ae388