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 7B08D12B143 for ; Tue, 9 Dec 2025 00:04:59 +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=1765238699; cv=none; b=S1NE4xeEs39WZx/KNhFg/ucWK9nHOw/5adhJXKepVf4saU8gsABxj9kq0x44NGRDHRgebMM02AuZW14zhdmbzZoXWu72IhqIJTBjmfnlOGM5IN6rdR6BjK0J04kmZ/3EUT33aTTC4JEhDEHrZmJzOPB6raqgEBACLxIhd04i8Bo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765238699; c=relaxed/simple; bh=WjCj/bz9G42+Qw6/iyWlMZsFc/3wu+jS+nFR+9EieAY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aMamqdnbwq4Ywfrt0TywTrrLTqUegn+w/0fhkrSkkxuq9DQU+o/4G+vGH5gU0StVikfsB7jH5iYS8Rfc8Vziwe1rksNe349qMy9G0Fq1sHmKQ68JLpHWJ+K5dhOT/v6eQQKnKZkRbqAa8iYYI0dU/iENXEs34Vg8xUGajb4+PQo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YZA3PZkJ; 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="YZA3PZkJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CC250C4CEF1; Tue, 9 Dec 2025 00:04:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765238699; bh=WjCj/bz9G42+Qw6/iyWlMZsFc/3wu+jS+nFR+9EieAY=; h=From:To:Cc:Subject:Date:Reply-To:From; b=YZA3PZkJ5XIChzbicXIO8xSKZF9JLDxMCqwt9hqfSYVXsZwtAVnrFQp5s/VaUWd2g ZEj/t+kIcmRsZxbPJEmWKpEzR3Jj43bTskFNvVH04TJhZISKrH8oum5DUrk7XNR/Ty l69eglxYN71pJ7qvnj0ATN2JSwDgKLzmS5KHA8ig= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53819: amdgpu: validate offset_in_bo of drm_amdgpu_gem_va Date: Tue, 9 Dec 2025 09:02:40 +0900 Message-ID: <2025120945-CVE-2023-53819-15be@gregkh> X-Mailer: git-send-email 2.52.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=3391; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3ZaOzz0hxy/RntKqKhVdfKkI9m9B5Q9b2C1+RH9D6Xg=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnmaS/vZUjaW01UmZB5/N5EtTfXOEy7Fsx9Ydxl8ntFT d+Ft5/1OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAij2sY5tly7yo+ErwhQW8R /6GtPHnz300+MYVhrrCSXn5qccTNL3tzC6y45374u4O7DQA= 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: amdgpu: validate offset_in_bo of drm_amdgpu_gem_va This is motivated by OOB access in amdgpu_vm_update_range when offset_in_bo+map_size overflows. v2: keep the validations in amdgpu_vm_bo_map v3: add the validations to amdgpu_vm_bo_map/amdgpu_vm_bo_replace_map rather than to amdgpu_gem_va_ioctl The Linux kernel CVE team has assigned CVE-2023-53819 to this issue. Affected and fixed versions =========================== Issue introduced in 4.2 with commit 9f7eb5367d0001536c361bd1400e14521f854ff1 and fixed in 4.19.313 with commit 82aace80cfaab778245bd2f9e31b67953725e4d0 Issue introduced in 4.2 with commit 9f7eb5367d0001536c361bd1400e14521f854ff1 and fixed in 5.4.275 with commit d83c337e654d58d3edd15a2ae76e87dc601c07d9 Issue introduced in 4.2 with commit 9f7eb5367d0001536c361bd1400e14521f854ff1 and fixed in 5.10.188 with commit 968e27fd037ec4732068820a9b9836eccc0e0a12 Issue introduced in 4.2 with commit 9f7eb5367d0001536c361bd1400e14521f854ff1 and fixed in 5.15.121 with commit 4300a47e4017c9febb60ffa7d39723eeaed00f2b Issue introduced in 4.2 with commit 9f7eb5367d0001536c361bd1400e14521f854ff1 and fixed in 6.1.39 with commit b10db1d2137415e5e7f9706d96cfe77539c499d4 Issue introduced in 4.2 with commit 9f7eb5367d0001536c361bd1400e14521f854ff1 and fixed in 6.3.13 with commit f015aadc0d973047f49526a127e900c488d4e425 Issue introduced in 4.2 with commit 9f7eb5367d0001536c361bd1400e14521f854ff1 and fixed in 6.4.4 with commit bc6dbf34dc4fb639522f3e8e66ef05997c0441ee Issue introduced in 4.2 with commit 9f7eb5367d0001536c361bd1400e14521f854ff1 and fixed in 6.5 with commit 9f0bcf49e9895cb005d78b33a5eebfa11711b425 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-53819 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_vm.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/82aace80cfaab778245bd2f9e31b67953725e4d0 https://git.kernel.org/stable/c/d83c337e654d58d3edd15a2ae76e87dc601c07d9 https://git.kernel.org/stable/c/968e27fd037ec4732068820a9b9836eccc0e0a12 https://git.kernel.org/stable/c/4300a47e4017c9febb60ffa7d39723eeaed00f2b https://git.kernel.org/stable/c/b10db1d2137415e5e7f9706d96cfe77539c499d4 https://git.kernel.org/stable/c/f015aadc0d973047f49526a127e900c488d4e425 https://git.kernel.org/stable/c/bc6dbf34dc4fb639522f3e8e66ef05997c0441ee https://git.kernel.org/stable/c/9f0bcf49e9895cb005d78b33a5eebfa11711b425