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 32CEB13D29F for ; Tue, 21 May 2024 14:40:32 +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=1716302432; cv=none; b=PGNYmZrKLHHfrPYnf1RtxYl0nySaAvDIAgWrttKwemoiMnesI0VKgvJhKl2OZwM1NfUCLwz/LBLD21gX1vvYAADQYi1f9svkC41BZtHg+B+YXtVePBOU+tvWDh98VRf9D6X9X3IBqw+iNf0HmYiFHcBgjqSZ4Zs1WkKQ7hf0fWw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716302432; c=relaxed/simple; bh=KYNkqp4dyeIoenLYhViDRO4g80zWNn3mH6OFkBMFWkI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rqY+wMWvzPF1Az1qN4Z+2P7ae1D4eMbd8TmfDmA4kxTQyZNzw3sERKkGPkQyZi1HdzKmQ9VlUYrmgXTrUjF350I8JBhjP8mvS9NkNv44aA+HjuSmZ5mxH6fHhFi2jubZt2fz1S57UnOVsVHJXsF6HPqIU79isLV5MMXLDWNJX2M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GSzihX/e; 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="GSzihX/e" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A8C34C2BD11; Tue, 21 May 2024 14:40:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716302432; bh=KYNkqp4dyeIoenLYhViDRO4g80zWNn3mH6OFkBMFWkI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=GSzihX/e+0MaKlXm0u8evRnktMcGLGMEX+8abuWT/ZiLJ3kQCHU8R1y3xljOHG4NI BnSjFak2BJ4wimmxS6IL4ecUvyby5p7cD7ioT1e6v3LmycBXt0wL6A+sZwu4T4iaOi lLvX2uDnIASdWCuWtH/96GNYPwe87pOo7Y2G5Vp4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47354: drm/sched: Avoid data corruptions Date: Tue, 21 May 2024 16:36:28 +0200 Message-ID: <2024052141-CVE-2021-47354-79f4@gregkh> X-Mailer: git-send-email 2.45.1 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=1987; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KYNkqp4dyeIoenLYhViDRO4g80zWNn3mH6OFkBMFWkI=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk+G23ddga/SEjnm5mRnXJJYGFSraOAhHaJ+HTvs3OZS rjLDzzoiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIkcvMgwT+lEqeu7dywvnT7t Pnw8X+GtWPxsS4a5AvNyJyl0Vq6ZeccvI8rnl2FTnclmAA== 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: drm/sched: Avoid data corruptions Wait for all dependencies of a job to complete before killing it to avoid data corruptions. The Linux kernel CVE team has assigned CVE-2021-47354 to this issue. Affected and fixed versions =========================== Fixed in 5.4.133 with commit c32d0f0e164f Fixed in 5.10.51 with commit 0687411e2a88 Fixed in 5.12.18 with commit a8e23e3c1ff9 Fixed in 5.13.3 with commit 50d7e03ad487 Fixed in 5.14 with commit 0b10ab80695d 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-2021-47354 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/scheduler/sched_entity.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/c32d0f0e164ffab2a56c7cf8e612584b4b740e2e https://git.kernel.org/stable/c/0687411e2a8858262de2fc4a1d576016fd77292e https://git.kernel.org/stable/c/a8e23e3c1ff9ec598ab1b3a941ace6045027781f https://git.kernel.org/stable/c/50d7e03ad487cc45fc85164a299b945a41756ac0 https://git.kernel.org/stable/c/0b10ab80695d61422337ede6ff496552d8ace99d