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 DCE92173 for ; Tue, 9 Dec 2025 00:04:49 +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=1765238689; cv=none; b=PdQJMoN1PSXVUN9cWiweXi/5KoprsGT8RZy/yYq1n48NIcH4m+GutrsS0D+Q8oYIqjqguhOy8dbfAzSterfWbKijYI0wCWP0/ZtM9WHh64PcAYcGCU8YSpwAlrmiER2Dz0giXNLs0b1m80KHVfd4MTroZGNXOZxUACkX+YDitCs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765238689; c=relaxed/simple; bh=wwtiK6G+xWsdOfBXNkbMyOruVLk3eKwp9FNfOwIyw0c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=eZe8c6I2YULxXEglQELEAuA5yo++yP7ImZ6nJm0a5xRP/A+nuWl4eY8864ocWMfzrSv76FWPAxT57oZ7NDuYkmS3ncLdjOiDhmlNwHnwoFXDVsB19Yo1T7msnTppQ4FXX2cQoB39xVsBCjiZxx5nU1TW0UMADLbgPW6brhZhO98= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tgBo0QSo; 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="tgBo0QSo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7670BC19421; Tue, 9 Dec 2025 00:04:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765238689; bh=wwtiK6G+xWsdOfBXNkbMyOruVLk3eKwp9FNfOwIyw0c=; h=From:To:Cc:Subject:Date:Reply-To:From; b=tgBo0QSokVw13wu2uW3s4Weg+Mr6BIVezUocPeSdJWtZUYHfmnzkyDlvpYgZVLJBa SinnL0S+yxPLOXynfi2YcUpuQF0BZxeklhzHi1TSv5iOf+WsLz9aG8YugcXJQj26r4 O0X4D+87EmJkm+hLfTVpfvDP2/CZrW8Q56770lgY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53816: drm/amdkfd: fix potential kgd_mem UAFs Date: Tue, 9 Dec 2025 09:02:37 +0900 Message-ID: <2025120945-CVE-2023-53816-e869@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=1931; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=FzgcqIScfz7ksKXCGwbkJ1U+iN9CAyOR4R8mDHUm/Jg=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnmaS9vle9f0KA5Z+bkO0seXpgV/iZ176L5y0zDUzh1D oTsblO+0RHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATCY9lmM12YGLy5FuLZYwd dnH3VmTPPflXU5dhnv317WVhTzjt9H9fZiutfyKxQGmJFwA= 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/amdkfd: fix potential kgd_mem UAFs kgd_mem pointers returned by kfd_process_device_translate_handle are only guaranteed to be valid while p->mutex is held. As soon as the mutex is unlocked, another thread can free the BO. The Linux kernel CVE team has assigned CVE-2023-53816 to this issue. Affected and fixed versions =========================== Fixed in 6.1.23 with commit 5045360f3bb62ccd4f87202e33489f71f8bbc3fc Fixed in 6.2.10 with commit 5ca14fb5552ac13a2402d306c0bd2379a71610ff Fixed in 6.3 with commit 9da050b0d9e04439d225a2ec3044af70cdfb3933 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-53816 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_chardev.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/5045360f3bb62ccd4f87202e33489f71f8bbc3fc https://git.kernel.org/stable/c/5ca14fb5552ac13a2402d306c0bd2379a71610ff https://git.kernel.org/stable/c/9da050b0d9e04439d225a2ec3044af70cdfb3933