Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 14EC33B0AE2 for ; Thu, 24 Sep 2026 16:21:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790266885; cv=none; b=hCpnJvCN+8cv6vCtoSKX/1g68p66RVu8UXsG6BvvEJjwdfLwml1WOuMihhKkFOyVh0lnZhSTihYcSk7WN8aWnmrDgjGFiEH4qtmceQHLtuFpAuAwcqvvqIvJ+Ve+vNxFtv8ZzFtbQ8UaqK7YBecX186Ngy1vzzsm8kf6A2yymLI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790266885; c=relaxed/simple; bh=46HRphWrHt7cmNBTuoM1uf+c+FIaQOXz5SsX4subWp8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lnkTeAOMMQznUbyF84r6EoYIZ73mQ5Vl8adudTmPJPNDhTM/c8xaX9o1CjTjT25u5p3gW6g0X2lRLzu1c+AnMTQnx4vBOStMF9r1qUh5pQIeYMdWXZ1qGwUBhwW+0mlmrjwLB5X7c7kFyoXJXL/jo9naqPcsW3x1mot7aPHkeWM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UMd+4cJS; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="UMd+4cJS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77AAF1F000FF; Thu, 24 Sep 2026 16:21:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790266883; bh=hCly5z05M+CxDbDV5it3p2fF56XFpPu1bp5GnOkXFQk=; h=From:To:Cc:Subject:Date:Reply-To; b=UMd+4cJSFTZO1bEqgPOUZm0Xb2bkXLAqFfEJDjdMW929fNy4BefrPeNW5jkRQn87t JiLVLcyZRCZ8JnNN1hzSKUF/EREhtZVjLXAjVegjy23DfYIeoWtwTvGpEJjji9LXKT lx+h2iWF4vTm4lwG3PgYOxSYKV9P8sAIjKhWGomM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97494: drm/amdgpu: validate and share PSP fw_pri_buf copies via psp_copy_fw Date: Thu, 24 Sep 2026 18:04:19 +0200 Message-ID: <2026092439-CVE-2026-97494-da9b@gregkh> X-Mailer: git-send-email 2.55.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=2298; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=eQKxlw/b++2BQz/G/ekN7cL2L67e16W5Zs3n/N3hbwQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlbPee/6meYUvf4iceX1Y9Muabsrog9U5jS7fnbVkXl+ JR3u03Wd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE1pYwzDNjtVJ1iZp0YOKW qvhb6+ySCxIPPmRYsF7yeaOM8gWlkhNpv2Sae+9au253BgA= 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: validate and share PSP fw_pri_buf copies via psp_copy_fw Change psp_copy_fw from void to int: return -ENODEV when drm_dev_enter fails, and -EINVAL when the image size is zero or larger than the 1 MiB PSP private buffer. Replace open-coded memset/memcpy into fw_pri_buf with psp_copy_fw. The Linux kernel CVE team has assigned CVE-2026-97494 to this issue. Affected and fixed versions =========================== Fixed in 6.12.111 with commit 25bec2425c3d50ba9a92ad87bbf8628be29e5c32 Fixed in 6.18.53 with commit 1aa55af304a2decaacca1d1fabe4257c277ca54a Fixed in 7.2 with commit d1f9f5839bd785a3a06335a01d53282e80f8e5fa 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-2026-97494 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_psp.c drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h drivers/gpu/drm/amd/amdgpu/psp_v11_0.c drivers/gpu/drm/amd/amdgpu/psp_v12_0.c drivers/gpu/drm/amd/amdgpu/psp_v13_0.c drivers/gpu/drm/amd/amdgpu/psp_v13_0_4.c drivers/gpu/drm/amd/amdgpu/psp_v14_0.c drivers/gpu/drm/amd/amdgpu/psp_v3_1.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/25bec2425c3d50ba9a92ad87bbf8628be29e5c32 https://git.kernel.org/stable/c/1aa55af304a2decaacca1d1fabe4257c277ca54a https://git.kernel.org/stable/c/d1f9f5839bd785a3a06335a01d53282e80f8e5fa