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 0067829D26C for ; Tue, 16 Sep 2025 13:01:29 +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=1758027690; cv=none; b=X0vP1iogV5FgUi4096vlqZtg/vtqH0ZqkklLrQdQEng5yyHEZ5PKU5mCVNajD0j3qYLvSpxmii+psP/hAXOpvUUfnQFjJJBm1QS6U08QRuooOxzozDiAvwl2SyGfEajWvcXU/k4CmEKRNuFecIi6we39jWmeixDr/Wyl3uhcKzE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758027690; c=relaxed/simple; bh=azpWwacmxuNmZXyx606cKdt8egDa33el/1z4mrgPOho=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mXe21rs4Ch5broxrjc0JTSzH8wEqVCikgXNPHsvkiDG37qHWg9ORtUcrJjowiKAZkt8oSj3A9cywf+yQ7VNyqHdWsvHrw4i9K9QUTAoGzkm265VQ8nDN+aB9guNPRfEHlBtndTEWLwbkKFivvQOPeskS4dREOXN7Y88g/cVDtlI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qUMZYpio; 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="qUMZYpio" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C816C4CEEB; Tue, 16 Sep 2025 13:01:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758027689; bh=azpWwacmxuNmZXyx606cKdt8egDa33el/1z4mrgPOho=; h=From:To:Cc:Subject:Date:Reply-to:From; b=qUMZYpio+g0NpaFDiAL2D7if6Rh3sUDQdc3JrJoO4nmLNWD8X41ONseZQLTF6E/gL 97FBrkXXuKhIdZ09LdSjnZ4mhoWiDPdFUwmKczKdI4fPyRoSxB+21sJKsJI4455NXC MpB//BlFG9l4cqITujcBG4hc0BFk6D0LQG/fI7d4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39811: drm/xe/vm: Clear the scratch_pt pointer on error Date: Tue, 16 Sep 2025 15:00:17 +0200 Message-ID: <2025091614-CVE-2025-39811-535b@gregkh> X-Mailer: git-send-email 2.51.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=2188; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ziLrhYl2KnQ3pvlo7DabEX9OCEH435zaIv6EH/lT5rw=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkn4+O+dSrNvVPcu+ruRXbGtz3WtcZmDYIZvAbLTSZ7L Fu5ZrZgRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExk1yuGBRu5XD/X/Gzj0Vyo 52Pmu8X1UX0vD8P8eOOVWzgOWOzR5s+TLF40wXTR2uxTAA== 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/xe/vm: Clear the scratch_pt pointer on error Avoid triggering a dereference of an error pointer on cleanup in xe_vm_free_scratch() by clearing any scratch_pt error pointer. (cherry picked from commit 358ee50ab565f3c8ea32480e9d03127a81ba32f8) The Linux kernel CVE team has assigned CVE-2025-39811 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit 06951c2ee72df2f53b71e7cf2b504d4fa6bba453 and fixed in 6.12.45 with commit c8277d229c7840e8090d4704e50f2ca014d194c7 Issue introduced in 6.8 with commit 06951c2ee72df2f53b71e7cf2b504d4fa6bba453 and fixed in 6.16.5 with commit 84603ed1d73ebb8de856dc11f4f5d3541c48f7a2 Issue introduced in 6.8 with commit 06951c2ee72df2f53b71e7cf2b504d4fa6bba453 and fixed in 6.17-rc4 with commit 2b55ddf36229e0278c956215784ab1feeff510aa 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-39811 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_vm.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/c8277d229c7840e8090d4704e50f2ca014d194c7 https://git.kernel.org/stable/c/84603ed1d73ebb8de856dc11f4f5d3541c48f7a2 https://git.kernel.org/stable/c/2b55ddf36229e0278c956215784ab1feeff510aa