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 D7F651A8F63 for ; Thu, 27 Mar 2025 16:47:43 +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=1743094063; cv=none; b=P425lb0Ubi3CmlaUEtMOmk405vzA38IP5Ccdjy5lNRWuggmscRccT3DGh8Kxampej1xpLXJGfRppWdk4V0bm/KBBY6jw7uinx5de+KaUBvnXhO4674YW6+65kVHPRYgLRoaLmvv0HBd+cSUW3x46qy5Wa1xiSLMBgCiKHA+Cp7s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743094063; c=relaxed/simple; bh=ukku6Zl8INQloQjHAmBV8+elfSfERX9Ve1a0qwy5sJo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MiLK4M+pBXIAyhCJOvu00qRy0K/RwVXBm0BqIrFyKSvRaUHR9afZz6rftCyRO3LV+OZ8yCt9dIw3OOx4OpWWM2YfHHiTUmitq+nw/t++YAFYeQj25ruZMIeTwNnS/MJaG38z66TXrXvslzQhPOXS03CfmLnjiGbjcQnN0If5gAM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=eySnT5c0; 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="eySnT5c0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47F47C4CEED; Thu, 27 Mar 2025 16:47:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1743094063; bh=ukku6Zl8INQloQjHAmBV8+elfSfERX9Ve1a0qwy5sJo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=eySnT5c0UFBz/zgo8CPGnHkYD6ysUvvpIkdu+SbJ4GNJBpgxXDPoICwyXi0uHRG7D 5pXz5yGEbVW7c5Rw8qubzCk24/I6/OzB+ClUkBM0uW3qIMDC7zi8Uk1wIeWWJbEDUk ZW5eUoGucIAdE1YC9z4crB1d/XNCG0obsIEcJqFo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53009: drm/amdkfd: Add sync after creating vram bo Date: Thu, 27 Mar 2025 17:43:56 +0100 Message-ID: <2025032714-CVE-2023-53009-82cd@gregkh> X-Mailer: git-send-email 2.49.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=1815; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ukku6Zl8INQloQjHAmBV8+elfSfERX9Ve1a0qwy5sJo=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlPG5S699derDt0T2x+T/cp3rDJ0r6zpefGFwV+z9P1e dThq5PZEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABOx0mOYp14sNLv0jWjr7ynJ 3nmSJRHXRNkmMMzP8Xk2f0r3ZC6HBw8fxoTcOLRx4uUKAA== 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/amdkfd: Add sync after creating vram bo There will be data corruption on vram allocated by svm if the initialization is not complete and application is writting on the memory. Adding sync to wait for the initialization completion is to resolve this issue. The Linux kernel CVE team has assigned CVE-2023-53009 to this issue. Affected and fixed versions =========================== Fixed in 6.1.9 with commit 92af2d3b57a1afdfdcafb1c6a07ffd89cf3e98fb Fixed in 6.2 with commit ba029e9991d9be90a28b6a0ceb25e9a6fb348829 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-53009 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/amdkfd/kfd_svm.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/92af2d3b57a1afdfdcafb1c6a07ffd89cf3e98fb https://git.kernel.org/stable/c/ba029e9991d9be90a28b6a0ceb25e9a6fb348829