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 67A411422B9 for ; Wed, 17 Apr 2024 16:00:12 +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=1713369612; cv=none; b=PdMx/kh7KSf82BH1jx9L7Oc/50rfgFVZvf6zbpsX1hgMPR7LLWDZbC9xZTBtn5hHC41SS45rNwrNvuTI5r7zyIzWCEWROZit5O4L81ZuGFkkzW38qf7F/wNnvP2VXUw+Rmpu66c6dN27kVmR+tkLaVzs8fr1BKRjhW7pN11zG10= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713369612; c=relaxed/simple; bh=W67Ori5fUFdJco6dH7/ZT5bIXgEo4JAhf1UyPBdGQ4g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EQ+q2v7Tw6lu7XkDuw5uhkNlM2bZTntIJ0FXDjYKNMX6goXOQ/Tyz7hulYfvSzUWvwCy8f167qccv4+b9f9KMtCR+Jd10bqOZFczjsNLzh+9Hh/cznrndktw9dscQTbcKqa/sSmeHL7KMVLOoJxs/r0xTdOSlayNlFDUPo9V5Ho= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QaNIzXpJ; 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="QaNIzXpJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF373C072AA; Wed, 17 Apr 2024 16:00:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1713369612; bh=W67Ori5fUFdJco6dH7/ZT5bIXgEo4JAhf1UyPBdGQ4g=; h=From:To:Cc:Subject:Date:Reply-to:From; b=QaNIzXpJTQJQvX8jgNdePN5Q6+cg5IFr2RsBNK7LxMzuK2038YXFCLFMoOPylGn8O W4sVsvO3joXcAQPdda7tEzpVX94Rk++X1HBMNAx8Qv0vxN7j079smuHKqL4D64MvbC RpeJ1s7q3yGnEWltKUvdUN3/N0DFteEzf3cNUw30= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26916: Revert "drm/amd: flush any delayed gfxoff on suspend entry" Date: Wed, 17 Apr 2024 17:59:41 +0200 Message-ID: <2024041737-CVE-2024-26916-4a45@gregkh> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2703; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=W67Ori5fUFdJco6dH7/ZT5bIXgEo4JAhf1UyPBdGQ4g=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnyH19uORe+QttYtf/3m876975hapWGnJ8cEpOuXbz7f fezj1odHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARn5sMC/Y5rpws7xZlL9cY FeYtPelFzsIP+xkWTLXznLIsbrNHxocrWn7LGzeqJUZ3AAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: Revert "drm/amd: flush any delayed gfxoff on suspend entry" commit ab4750332dbe ("drm/amdgpu/sdma5.2: add begin/end_use ring callbacks") caused GFXOFF control to be used more heavily and the codepath that was removed from commit 0dee72639533 ("drm/amd: flush any delayed gfxoff on suspend entry") now can be exercised at suspend again. Users report that by using GNOME to suspend the lockscreen trigger will cause SDMA traffic and the system can deadlock. This reverts commit 0dee726395333fea833eaaf838bc80962df886c8. The Linux kernel CVE team has assigned CVE-2024-26916 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15.144 with commit f94942885e84 and fixed in 5.15.149 with commit 65158edb0a3a Issue introduced in 6.1.69 with commit 78b2ba39beef and fixed in 6.1.79 with commit ff70e6ff6fc2 Issue introduced in 6.6.8 with commit 3aae4ef4d799 and fixed in 6.6.18 with commit caa2565a2e13 Issue introduced in 6.7 with commit ab4750332dbe and fixed in 6.7.6 with commit d855ceb6a5fd Issue introduced in 6.7 with commit ab4750332dbe and fixed in 6.8 with commit 916361685319 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-2024-26916 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_device.c drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.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/65158edb0a3a8df23197d52cd24287e39eaf95d6 https://git.kernel.org/stable/c/ff70e6ff6fc2413caf33410af7462d1f584d927e https://git.kernel.org/stable/c/caa2565a2e13899be31f7b1e069e6465d3e2adb0 https://git.kernel.org/stable/c/d855ceb6a5fde668c5431156bc60fae0cc52b764 https://git.kernel.org/stable/c/916361685319098f696b798ef1560f69ed96e934