Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793187791; b=nn8EE78pINYaRHwGqISiGNsXgml6MmFP+qhfG3BbVA7CTZ5DEgMRw3K5WVf6THfpMGLr lIR90S1m51DpsUVbyoTa3dDxALuG+wVTPHXJv59mSb5pny5/I2lem+eY46CjuBDFetpvG gT/jFvIRp0wtoFNMLMjI33N4/CLkHzkPd4ObR0w4KOwwI9q0RJnX5CpCQ7CrzTru7M+Zm rcYfaNOhbUgmDRuAtXUi8OOrqU9uZflZlhCo35aks/Dz7Z+Wyz/AIwpHW+POn/sX6dGLS 6BoCuZXUxugNL4IsTCqr1/EqPysx0qFJcz9+/uo7d0gdPnIlQYgSW3OC6YMMtH6OMVA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793187791; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=1PEcgu92UFwvpP/jpQo9aBcJMvVdxWGaTJYmauvqihU=; b=yUmIetMVqP9Nkib37EaqjrZhEHTbtBkyGUVvN11JIfPLZCnOdXY0iQpLHGuhD20qjrqA UgefY0PenTWNJmSpuJOVGZUUceZM4T7QVaitQFLDDevcGNYF+iN7DkjQUbN5hIl0JTVzL k/7P1/44yYNfpIdSF3XYGbbn86rrJiAN9Ue/O76X5k/4yJ/xNHenJXSROrQZ8AJPHIqwJ Q40stpLc9UUEWNQhMBwCV7vgtlRiUfwndnW58sxopjXtGqWOGyesgHuTFbxagJXan5YhA 5UAIEyg83dJsJ9b47ntg7DNk2XW4Huh6TVUYQcPFO18rag198QSmo1KXvvickoM32Zw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=0mBOUywD; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B9E26606A31A for ; Wed, 28 Oct 2026 11:43:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=0mBOUywD Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2ECE81F01825; Wed, 28 Oct 2026 11:43:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793187789; bh=1PEcgu92UFwvpP/jpQo9aBcJMvVdxWGaTJYmauvqihU=; h=From:To:Cc:Subject:Date:Reply-To; b=0mBOUywDji9AQ8dp+Zk0n3n7JjKr/TT8avqatE2QxFWJ2McsFEfrF4L+Ac8DMWFUd gfz6PpIGxSs6BGsW0lwaaGDS99lCjeLMVPOnXqhm86Y4FMev5gSXuZvaTsjoBU38mj FmobJCCu9ubFTV0DXiXX90CHtNOFY0A1W/zdLnDM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99209: drm/xe: skip eviction of a BO with no resource Date: Wed, 28 Oct 2026 11:36:36 +0100 Message-ID: <2026102815-CVE-2026-99209-1a3c@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3206; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=AChvYwAC26Cq8LTo/MwSdJzPelvqAzp/5tchUTfsscE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkPzz/OuV7avlqI57qwwN3pcn6ZleZ8dfL2H47m+XeI8 autO8faEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABMJe8wwP9jvCLOe0t8HM26/ bPj6cWpwxlkVF4YFkxg0G1+x+xSeviGkKFOz9999o50LAA== 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: skip eviction of a BO with no resource xe_evict_flags() switches on tbo->resource->mem_type to choose an eviction placement. An xe BO can reach eviction with no ttm.resource, e.g. an imported dma-buf BO whose resource was freed during teardown while its attachment is still live: the exporter then invalidates it via xe_dma_buf_move_notify() -> xe_bo_evict(), and the switch dereferences a NULL resource and faults. A BO with no resource has nothing placed or mapped, so there is nothing to evict. Return an empty placement (num_placement = 0), mirroring the handling already used for non-xe scatter-gather BOs just above; ttm_bo_validate() then takes the pipeline-gutting path and returns 0. Without the fix the xe_dma_buf@xe_test_dmabuf_move_notify_no_resource dynamic live selftest will fail with below stack. BUG: kernel NULL pointer dereference, address: 0000000000000010 RIP: 0010:xe_evict_flags+0xf4/0x140 [xe] Call Trace: xe_bo_evict+0x40/0xa0 [xe] ? ttm_bo_pipeline_gutting+0x71/0x180 [ttm] xe_test_dmabuf_move_notify_no_resource+0x182/0x440 [xe] xe_dma_buf_kunit+0x387/0x580 [xe] v2: Add Fixes tag and failure info in commit text (Matt Brost) (cherry picked from commit dbcfaac6331f1fcb0c2fe3ad3e9adb1e5d43ec0c) The Linux kernel CVE team has assigned CVE-2026-99209 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit dd08ebf6c3525a7ea2186e636df064ea47281987 and fixed in 6.18.59 with commit 6046bb9cb2859e3d9bf939e4d6527f3827e1096f Issue introduced in 6.8 with commit dd08ebf6c3525a7ea2186e636df064ea47281987 and fixed in 7.2.13 with commit b6499d19ade1f1e4a1e6b739abc8c815297c98b8 Issue introduced in 6.8 with commit dd08ebf6c3525a7ea2186e636df064ea47281987 and fixed in 7.3 with commit 448e76cbdc6652ccd3ba337b7a6e1f028859f2ed 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-2026-99209 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_bo.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/6046bb9cb2859e3d9bf939e4d6527f3827e1096f https://git.kernel.org/stable/c/b6499d19ade1f1e4a1e6b739abc8c815297c98b8 https://git.kernel.org/stable/c/448e76cbdc6652ccd3ba337b7a6e1f028859f2ed