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 61E241D2B25 for ; Tue, 19 Nov 2024 17:45:42 +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=1732038343; cv=none; b=ZyRyp2NK32Y+O4s3ruvjjlEQEaHvGw7LCqEHEnNKEI+S1CYQwnA0DePeZgu3c6bGtd0Xceywjy2jsNnTKdau3eJop6x8YdN0r8qjCiO2ODucJFh+RPPGHdb9SAG26BYY+kP0mNtNuSIJKyCLQrBNzfUkKF0M7rU/C5dsOdZkp6M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732038343; c=relaxed/simple; bh=5yX5rr7ZNVrDrIz8oiXo1t5A1PEzu0EsY2Hf1bONxSY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bOaiDDMKGthq3wMIs56OtiCiWSDU84CUoux35b807LPbw6ic/oDWnLepdsrmDO5pfLEjx0BlrtugTFBEw3D+P+/BkAw0xC7fi1rMGZmSyHp81PjwAeu+KzLkFWNmfi/SPdb1vJ3YJf8sbkbXUchjUCVyR+m60e5c3jCYTI3i7VU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=q0NCm6z4; 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="q0NCm6z4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4009C4CED0; Tue, 19 Nov 2024 17:45:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1732038342; bh=5yX5rr7ZNVrDrIz8oiXo1t5A1PEzu0EsY2Hf1bONxSY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=q0NCm6z4F3NZ/Nw+eHeTHlgoigtMKUq2xaIMmi9IALErKveKk8r6PbPRhhb+Qjcum Yq/UT4DcPtXA7r57ap0n/GJvp4sMdP4BQW1oEqI7wG13mtDzeryxs+PhK2b8T3mshD G0gQFADtKOhKnyKF8ACkQ96D1288xKvUScbY0CH4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-53086: drm/xe: Drop VM dma-resv lock on xe_sync_in_fence_get failure in exec IOCTL Date: Tue, 19 Nov 2024 18:45:06 +0100 Message-ID: <2024111906-CVE-2024-53086-af24@gregkh> X-Mailer: git-send-email 2.47.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=1871; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5yX5rr7ZNVrDrIz8oiXo1t5A1PEzu0EsY2Hf1bONxSY=; b=owGbwMvMwCRo6H6F97bub03G02pJDOk25xZJ7tzfsvHu318HDrwtkLrYGp8Wtvq9e7jkHxXdh bdPZsT1dsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEprsxLFiXtPzmhnMPNAs+ 6k5cOK+i5dPEiaIM84xOc/z8ZMOYZSwtUerBrP67Yq9fJgA= 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: Drop VM dma-resv lock on xe_sync_in_fence_get failure in exec IOCTL Upon failure all locks need to be dropped before returning to the user. (cherry picked from commit 7d1a4258e602ffdce529f56686925034c1b3b095) The Linux kernel CVE team has assigned CVE-2024-53086 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 58480c1c912f and fixed in 6.11.8 with commit 96397b1e25dd Issue introduced in 6.10 with commit 58480c1c912f and fixed in 6.12 with commit 64a2b6ed4bfd Issue introduced in 6.8.2 with commit 43c8a525cbc5 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-53086 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_exec.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/96397b1e25dda8389dea63ec914038a170bf953d https://git.kernel.org/stable/c/64a2b6ed4bfd890a0e91955dd8ef8422a3944ed9