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 26657142630 for ; Mon, 24 Jun 2024 13:57:31 +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=1719237453; cv=none; b=U7Wl+AM777CRIFF7Fh7DZ1M5P6dbZ+0mZni1d09darRmt4OYnYz2YWs0TmHK+yMrj+Pjo/2PqmV8703CmpBcfeu/EoOmzujQUUrJsZ5Jic//z+V1xSu+BwQN/PzyiCuhKAw0qHVXKUtS6t0sInNlpMFj23E3k9MR6BoOhN5bfbo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719237453; c=relaxed/simple; bh=laFms9Bowqp6m8NpI0idyCQA/TQkPZF2d+oSDtdd8ps=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=vAmIGQj4Y+KgAxiBS4LlB61AMTdjP7Xj/eXXAribo4xvckPWwW2E6ajiq9iycuJnMAyt6aSnuOm16gbLY0erLNLoB7LqoelabscIWf+rnBCp4TXeKTEDUQ6q3N+J0RLg1cx54sxG/Yy7nf9LJEL9Ls2bFgGOS/brIiWKQIgW3R8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Ovl5gTNR; 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="Ovl5gTNR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3DF29C2BBFC; Mon, 24 Jun 2024 13:57:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1719237451; bh=laFms9Bowqp6m8NpI0idyCQA/TQkPZF2d+oSDtdd8ps=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Ovl5gTNROgXdm6ysVkdANvnxJAyUobsUQ8/GSOtwip2dhZKpkdmN+koCmPSrmDlBc 6MhFb383ibVY9nm3rH4aTGyiCxY6qo0NcYxcRgL1RFrKqzr2OdziydOuQ+XmEwhEuA dk6snrmHIv8jw7jpg7R43+8MyFDp7xfoU9NAGvCc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-37026: drm/xe: Only use reserved BCS instances for usm migrate exec queue Date: Mon, 24 Jun 2024 15:57:05 +0200 Message-ID: <2024062400-CVE-2024-37026-1d57@gregkh> X-Mailer: git-send-email 2.45.2 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=2079; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=laFms9Bowqp6m8NpI0idyCQA/TQkPZF2d+oSDtdd8ps=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmV1Tr/U2d9uBBX4Nz98dP9bKF7ZzbzNZxZtvae07E50 Vt00tR+dcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEam4wLNgVV+zjcUeeoYQv eDunvqjC8aM59QwLmirMehQuJeVu3VTh0zg9rHB/zD09AA== 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/xe: Only use reserved BCS instances for usm migrate exec queue The GuC context scheduling queue is 2 entires deep, thus it is possible for a migration job to be stuck behind a fault if migration exec queue shares engines with user jobs. This can deadlock as the migrate exec queue is required to service page faults. Avoid deadlock by only using reserved BCS instances for usm migrate exec queue. (cherry picked from commit 04f4a70a183a688a60fe3882d6e4236ea02cfc67) The Linux kernel CVE team has assigned CVE-2024-37026 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit a043fbab7af5 and fixed in 6.9.4 with commit 92deed4a9bfd Issue introduced in 6.8 with commit a043fbab7af5 and fixed in 6.10-rc2 with commit c8ea2c31f5ea 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-37026 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/xe/xe_migrate.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/92deed4a9bfd9ef187764225bba530116c49e15c https://git.kernel.org/stable/c/c8ea2c31f5ea437199b239d76ad5db27343edb0c