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 6441139A80E for ; Wed, 3 Jun 2026 15:50:37 +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=1780501838; cv=none; b=jQw/oflYMf7vz65JSliYTkHXcs6tCsOnG04j6qpOPw4uXR/10gZY+fvrNWsgRPlGDyKCcc+1Zq52qLRfoIcWpevfbx0ykAFpb5/eCGo5tZi+LRNXFTMeCux0Zb0Ffi6LtaSod6Wc5NaT7+57HgkewOV/xleIoPKIT3jTTt2eRsU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780501838; c=relaxed/simple; bh=TSk+SwOeIv6cTyJV2amZ9CirqWQ+PJpcOn6DPjs/qjA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Wsue0rHY2eubOv6gBoiw5LuuarT+s+zV9zWtBm1wVqrJurC8XcDNPnNpAwyIegdBJsHMBOIYiueoWeYpeh2etadfPwV516w4hCZkirZEndPxL5LH6Y2Gl7FrwcztmkSwOCsyWNtqB9R+i1P2h+KcbJ4fEe7Kjdf/lg6at3ZBAaQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=W8SLNFeB; 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="W8SLNFeB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 70DE01F00893; Wed, 3 Jun 2026 15:50:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780501837; bh=YHAmh4VnjfOP2CBJ+497ejHAf6FyX/Ldx9NC12eP+sM=; h=From:To:Cc:Subject:Date:Reply-To; b=W8SLNFeBYGxiNtc77Iy5PcaNqaN9XPyKn6SwvW8hNTbUJ3SOz2qgIXCsHWuBhb84s PisHcUo0LETLkiU26ed3WGZubC2UqRlt7m5zl70G+COdhLRi0nOvQU2NzGLSz3HjPi 8oro7GSiV8KNeeT7jhCeFnkW5EFz7VY4ZoBMhejs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71314: drm/panthor: Recover from panthor_gpu_flush_caches() failures Date: Wed, 3 Jun 2026 17:49:33 +0200 Message-ID: <2026060332-CVE-2025-71314-818a@gregkh> X-Mailer: git-send-email 2.54.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=3072; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ov3hzakqPn2dxM317rxwQ+uP/W+Y+aO0B26Sp5J3hRk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkKvjwhKcYGsXc3vdn9a73Kw1tTl1qf4zt/Ldu6+1lfi bTg0reTO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiG6wYFjT7ypn83LzRRD3+ XXba8nje+guGvxgWbBKQTVmm0nS24cHhy9P6FGRCd017DgA= 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/panthor: Recover from panthor_gpu_flush_caches() failures We have seen a few cases where the whole memory subsystem is blocked and flush operations never complete. When that happens, we want to: - schedule a reset, so we can recover from this situation - in the reset path, we need to reset the pending_reqs so we can send new commands after the reset - if more panthor_gpu_flush_caches() operations are queued after the timeout, we skip them and return -EIO directly to avoid needless waits (the memory block won't miraculously work again) Note that we drop the WARN_ON()s because these hangs can be triggered with buggy GPU jobs created by the UMD, and there's no way we can prevent it. We do keep the error messages though. v2: - New patch v3: - Collect R-b - Explicitly mention the fact we dropped the WARN_ON()s in the commit message v4: - No changes The Linux kernel CVE team has assigned CVE-2025-71314 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 5cd894e258c4b0b92b9b475309cea244e590d194 and fixed in 6.12.75 with commit 8ec4f1b14a6147db07d6e51aa1d6bcc799649847 Issue introduced in 6.10 with commit 5cd894e258c4b0b92b9b475309cea244e590d194 and fixed in 6.18.14 with commit 57753f2c64c033a21a7400b3a2192db1cd6c890e Issue introduced in 6.10 with commit 5cd894e258c4b0b92b9b475309cea244e590d194 and fixed in 6.19.4 with commit 2c899c6026fc9d39286735b30c4d8550d4ea075b Issue introduced in 6.10 with commit 5cd894e258c4b0b92b9b475309cea244e590d194 and fixed in 7.0 with commit 3c0a60195b37af83bbbaf223cd3a78945bace49e 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-71314 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/panthor/panthor_gpu.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/8ec4f1b14a6147db07d6e51aa1d6bcc799649847 https://git.kernel.org/stable/c/57753f2c64c033a21a7400b3a2192db1cd6c890e https://git.kernel.org/stable/c/2c899c6026fc9d39286735b30c4d8550d4ea075b https://git.kernel.org/stable/c/3c0a60195b37af83bbbaf223cd3a78945bace49e