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 8EE163A1E62 for ; Tue, 16 Dec 2025 13:58:00 +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=1765893480; cv=none; b=jS0c57K8Fixg5tADOEEnlKtdun1ChetubdixUNNP4H/n3R5xuOy6b7I9zwFjWMNsSeW73jVjLJBhhalPPXpxHnl3YMzI8qiDZv5Xw8wE/dKmef2EFYyCEJSZFIL5PZykmO+CAtHHagg/mtEotIeB5MiUgG4se/HWPPRG+qM725A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765893480; c=relaxed/simple; bh=J9JfJU9ld241NtkqFo+i5Eja3xIf8TdvhbNkMIPqOUU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ir/hXee3PZd3EsH6fmjtgGrfB6UHf7JhoKwW1hcghJAt4NMbSGK+ndxAqRPetZJapEmKfgl/j/2auhUVWWQkcgpCIqIxXmIYBMdaqIUBKEPtLHTxPsLb+KhVdC8Y4BVg1HAHz+vMGtEERywSGPMuC27t5DZaeY/FTVsAjL+jB00= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QiE1cCco; 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="QiE1cCco" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD452C4CEF1; Tue, 16 Dec 2025 13:57:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765893480; bh=J9JfJU9ld241NtkqFo+i5Eja3xIf8TdvhbNkMIPqOUU=; h=From:To:Cc:Subject:Date:Reply-To:From; b=QiE1cCcoHpLFKz41a8QhMtfuYxVQjq4t+GHjVLYPytA/PQHbB9QBkrjKbJN9l7Ih3 jbAckqbDFmxKZoRuhbvKsA00npunWwFiiOFYhfg1mSnomPFQxxcn9EEkfwILXqTLtP Z/M+/ldPLyV6mVPNu4CwAW4j4NoUyaUF771rtiS8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68223: drm/radeon: delete radeon_fence_process in is_signaled, no deadlock Date: Tue, 16 Dec 2025 14:57:42 +0100 Message-ID: <2025121634-CVE-2025-68223-4e44@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=2292; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=h+GTIZcwFBPHMdBhSYGtm92xH+TAKuFoiXx7k3uT9j8=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmOqX41f5+s+9xxQXVn7lTt2eo+lVqbp5//VLHqkvXMO fYPwlU0OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiUY0M8wO0bffe0V31zPev 8IYnCe3Fe/OypjLMZv0jfCt3tuuVA3e5VxjOeHPIstZeCgA= 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/radeon: delete radeon_fence_process in is_signaled, no deadlock Delete the attempt to progress the queue when checking if fence is signaled. This avoids deadlock. dma-fence_ops::signaled can be called with the fence lock in unknown state. For radeon, the fence lock is also the wait queue lock. This can cause a self deadlock when signaled() tries to make forward progress on the wait queue. But advancing the queue is unneeded because incorrectly returning false from signaled() is perfectly acceptable. (cherry picked from commit 527ba26e50ec2ca2be9c7c82f3ad42998a75d0db) The Linux kernel CVE team has assigned CVE-2025-68223 to this issue. Affected and fixed versions =========================== Fixed in 6.12.60 with commit 73bc12d6a547f9571ce4393acfd73c004e2df9e5 Fixed in 6.17.10 with commit 7e3e9b3a44c23c8eac86a41308c05077d6d30f41 Fixed in 6.18 with commit 9eb00b5f5697bd56baa3222c7a1426fa15bacfb5 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-68223 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/radeon/radeon_fence.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/73bc12d6a547f9571ce4393acfd73c004e2df9e5 https://git.kernel.org/stable/c/7e3e9b3a44c23c8eac86a41308c05077d6d30f41 https://git.kernel.org/stable/c/9eb00b5f5697bd56baa3222c7a1426fa15bacfb5