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 7A04E3A1E7F for ; Tue, 16 Dec 2025 13:58:23 +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=1765893503; cv=none; b=kn5Ndrx2nE9SQGnZZwBhBqgeaXf3N+mAhMXuRcCoesh+ONc4c2QjEi7mJKxMXY+gD3vFEghOaZkv5DJciUyxp65q4Nt373sUJtd7s3jmHv+b9mtAEVhyhmv1Yth97CUFR+YzCe91ZBK3vxc6rrtkDF6K9shPz8Q2OhAJwRR/uLw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765893503; c=relaxed/simple; bh=DKd1CUxlYYEYKVLHS1sgsQMwzP+4r/TpdMg8NVeQVu8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AMpOAlJ5SZsTK6ftbVJdN5umO5KQDzovVUZhReLOzFAMrYy1XswXkfwAG4yylraUwTp4Quzrk55DawXBsuwcqBDrs+Dg1ZdmxsiIJ3sYQqDiaG4dZdEysRXpZR/kDGSlVQjIp88D2t5Q+4KSowGP2rNltC+2VR3c6CGC3zWofa8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Zb/hmaeU; 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="Zb/hmaeU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A18BFC4CEF1; Tue, 16 Dec 2025 13:58:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765893503; bh=DKd1CUxlYYEYKVLHS1sgsQMwzP+4r/TpdMg8NVeQVu8=; h=From:To:Cc:Subject:Date:Reply-To:From; b=Zb/hmaeUVPfUBwguaeT4j0S5qQcnPsoxBdiLzcYYaNgGOtwpm4Il5rJjjTV1t0h1I c5KEnVP2RSRmxjlB2oI8F7t75sr4SR3psVyWMFRy3i4eLISNDkIgNCieQfMfRGFoTt sI/+pXTCdB2wITdY/YwTCVQcsZXJ+fLrk8y2M3+0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68230: drm/amdgpu: fix gpu page fault after hibernation on PF passthrough Date: Tue, 16 Dec 2025 14:57:49 +0100 Message-ID: <2025121636-CVE-2025-68230-a9be@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=2545; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lIu43vDlsItNIJ/1A74xPYhmY7L3GRvfmq633wHHxrk=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmOqQGKO+UKd0/oMPjt+s5vocac1YW7NqW/nP5ULuf2B f75gcsfdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE5CYzzPcLcfcSqH/7v+tI LGt4RqiMvP3n0wzzXd5UzF98+JiQ6LM9KVuaHoq/55H5AQA= 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 gpu page fault after hibernation on PF passthrough On PF passthrough environment, after hibernate and then resume, coralgemm will cause gpu page fault. Mode1 reset happens during hibernate, but partition mode is not restored on resume, register mmCP_HYP_XCP_CTL and mmCP_PSP_XCP_CTL is not right after resume. When CP access the MQD BO, wrong stride size is used, this will cause out of bound access on the MQD BO, resulting page fault. The fix is to ensure gfx_v9_4_3_switch_compute_partition() is called when resume from a hibernation. KFD resume is called separately during a reset recovery or resume from suspend sequence. Hence it's not required to be called as part of partition switch. (cherry picked from commit 5d1b32cfe4a676fe552416cb5ae847b215463a1a) The Linux kernel CVE team has assigned CVE-2025-68230 to this issue. Affected and fixed versions =========================== Fixed in 6.12.60 with commit a45d6359eefb41e08d374a3260b10bff5626823b Fixed in 6.17.10 with commit eef72d856f978955e633c270abb1f7ec7b61c6d2 Fixed in 6.18 with commit eb6e7f520d6efa4d4ebf1671455abe4a681f7a05 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-2025-68230 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/aqua_vanjaram.c drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.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/a45d6359eefb41e08d374a3260b10bff5626823b https://git.kernel.org/stable/c/eef72d856f978955e633c270abb1f7ec7b61c6d2 https://git.kernel.org/stable/c/eb6e7f520d6efa4d4ebf1671455abe4a681f7a05