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 ECA0885938 for ; Tue, 23 Apr 2024 13:05:35 +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=1713877536; cv=none; b=jUCAERHP9s45rG/PhkKfsPgtvDlpgWs6WWsac7woxCvqswVWcIZcWH1qC8vr5zUqJe2Z75VwJs0EqlkKi+Kd01/7/sn4w9aC+6SEvnR0+s4hJioRW5RH3tovJZlX7PPJ0uGzwf/2aNvt+Tm3HXdY/IioC1W6i3JHQEVbDLlRbyE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713877536; c=relaxed/simple; bh=OtMC5fDKU2TdsrkXvc59jdsvP5ysPypaG9b+QwvWIM4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Q5faXLEABJn3Q4rpZMemQiEvopQP0vc2n24iJ9IyYlto5n2Bn99qRnNSr8uEtley2sSPyov/8X1VFI+mPk3pu2iLOfZtZ6FCZU2FFWgunCR2aNShjAreReW3Ch7jwM78KUb7EsL+wDM9KRc/1DQFVMeWQiR399LB4ifR7gHEO24= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=cxcx/n2n; 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="cxcx/n2n" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2423C116B1; Tue, 23 Apr 2024 13:05:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1713877535; bh=OtMC5fDKU2TdsrkXvc59jdsvP5ysPypaG9b+QwvWIM4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=cxcx/n2neqZsINPIqG5onG71mEuiHGSXjJTk2zzdVhkUMBGEpD3OxbDOf6f4MlopM ieO6lMUES/eh4JBl5UWFSOgz2yVyOuMEwVS/orKoPYpbMkkZx1eqtERBI/UCTCA5xe EdM8G5lVi9wZA4beB9sf0FsuzRsgclTd1Kzu1nYI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26922: drm/amdgpu: validate the parameters of bo mapping operations more clearly Date: Tue, 23 Apr 2024 06:05:17 -0700 Message-ID: <2024042317-CVE-2024-26922-896d@gregkh> X-Mailer: git-send-email 2.44.0 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=1609; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=OtMC5fDKU2TdsrkXvc59jdsvP5ysPypaG9b+QwvWIM4=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnqm3hbNRwSJ+zbf3PXtFUSHjt3RYjKmmZ6pGtoWF0I3 tp/vTGwI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaSq8SwYOssu+SIvnkPZmyb peNUOJ3x/QxGJYZ5WgbXPvG7cWk5lF68NvfkzTrG30knAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: validate the parameters of bo mapping operations more clearly Verify the parameters of amdgpu_vm_bo_(map/replace_map/clearing_mappings) in one common place. The Linux kernel CVE team has assigned CVE-2024-26922 to this issue. Affected and fixed versions =========================== Issue introduced in 4.12 with commit dc54d3d1744d and fixed in 6.9-rc5 with commit 6fef2d4c00b5 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-2024-26922 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/6fef2d4c00b5b8561ad68dd2b68173f5c6af1e75