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 F371F2DCF67 for ; Fri, 3 Apr 2026 15:26:09 +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=1775229970; cv=none; b=a0FHi98tdHmChRvZtS6A15Xx88wCL0l065ol5fWhtrYvBHePx4ycfrKAAnYcyzUsKhf0iqISUjYh8Fmo9RK5VLwLdmbQZeNrXYW+g96AZoKdNfT1QRkOVj0zCNVlFpZHu0oKkcd4UP7H1wmTEHlWZ0WUTEfsGJ04VsuulL7GRaw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775229970; c=relaxed/simple; bh=DeJgvggTUSNWX3sUz96S9TrooleQWaVL5wZBG0QtGc8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XJ/u3jo/qp3ERUF3emU+bU9Kl6psYLURQHvfDec2SjDe4fYNYXTN79IY6solOhmuV4RfA5WMN3s7VlXJAGXkIL5zfVuoXaxErnAofZlG+OMU5IKK4v5EuRsQoXIAeWngPDpiajkN1BfRNh0J7B/+Giwu9/Y+ezGA72Jho+hWWMU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=i5ToaYEU; 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="i5ToaYEU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1BE26C4CEF7; Fri, 3 Apr 2026 15:26:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1775229969; bh=DeJgvggTUSNWX3sUz96S9TrooleQWaVL5wZBG0QtGc8=; h=From:To:Cc:Subject:Date:Reply-To:From; b=i5ToaYEU6a1sRpRVEpl3LdrWfVTg6UP8nql2cR0eSpZZjrAAlzreJSUmuS0PR89U9 CSJc8OPxxYOJKml+qCXcFDGyBUbVydSBdgfDCrTxzvCJNB8c1PDKfSVo2WNXVLe89o mc1OaQu+UQdFlOm5+KH1uK5BT8I3N7coHcX4669E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23466: drm/xe: Open-code GGTT MMIO access protection Date: Fri, 3 Apr 2026 17:18:47 +0200 Message-ID: <2026040321-CVE-2026-23466-ae2c@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3032; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xENY8NkhJRtBbx/fH+ecWD8LxYsSTBEuD2AuoYG0BD4=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnnb9l2KHQ0JJzYuifLiOXU3VU74paZHNNwjp9n8uPff DNDGwP3jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIRzXDPEPn9gtH/sqdbL6z ++aBu6aTjQ1+tDIsWGwQ43nthedpmYrqrqPXFmjER7TqAwA= 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: Open-code GGTT MMIO access protection GGTT MMIO access is currently protected by hotplug (drm_dev_enter), which works correctly when the driver loads successfully and is later unbound or unloaded. However, if driver load fails, this protection is insufficient because drm_dev_unplug() is never called. Additionally, devm release functions cannot guarantee that all BOs with GGTT mappings are destroyed before the GGTT MMIO region is removed, as some BOs may be freed asynchronously by worker threads. To address this, introduce an open-coded flag, protected by the GGTT lock, that guards GGTT MMIO access. The flag is cleared during the dev_fini_ggtt devm release function to ensure MMIO access is disabled once teardown begins. (cherry picked from commit 4f3a998a173b4325c2efd90bdadc6ccd3ad9a431) The Linux kernel CVE team has assigned CVE-2026-23466 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit 919bb54e989c1edef87e9797be125c94c450fc65 and fixed in 6.12.78 with commit e2b424aadecb640f9e037b2891191cf8fd4c64cf Issue introduced in 6.12 with commit 919bb54e989c1edef87e9797be125c94c450fc65 and fixed in 6.18.20 with commit 1e9e2640d870d4837bcfdc220cb2c99ae5ee119f Issue introduced in 6.12 with commit 919bb54e989c1edef87e9797be125c94c450fc65 and fixed in 6.19.10 with commit 76326dc06d8793c2c81c31cc0115dbc348de2f88 Issue introduced in 6.12 with commit 919bb54e989c1edef87e9797be125c94c450fc65 and fixed in 7.0-rc5 with commit 01f2557aa684e514005541e71a3d01f4cd45c170 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-23466 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_ggtt.c drivers/gpu/drm/xe/xe_ggtt_types.h 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/e2b424aadecb640f9e037b2891191cf8fd4c64cf https://git.kernel.org/stable/c/1e9e2640d870d4837bcfdc220cb2c99ae5ee119f https://git.kernel.org/stable/c/76326dc06d8793c2c81c31cc0115dbc348de2f88 https://git.kernel.org/stable/c/01f2557aa684e514005541e71a3d01f4cd45c170