Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 4C59B374A0A for ; Sat, 15 Aug 2026 06:24:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775057; cv=none; b=HPpWM4px11i7f9A2MZUZKqpTbXXFC+qtAIoGoOJHymkrfDXn6QXGnmOYymA0bqvhyZx1TIZwWJYOEOty9wzn1QeYwJ7ZVEpOFHxiKBwNX7JA7QlLOuMU006jO9OFwyIjZwg9W0sOrORrWXJLmJ1vGWvSdOJbm+0u0TKEXSXxwgo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775057; c=relaxed/simple; bh=EyxWVeheiy5+LoV8fheDI3CiA6e5zdtPHtz+5+V2IHg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=F2wHxD/aKfHYIDV8fM+jdKnoLsmhB2q1UDhBcPX37sC0nniRrVofcOn4R113+IxZXnsdjRjdloiK7sjEC5JT6VFPSOyobo/Y8zV2PVJVxU/2USOZ9GmQd78kN7W8OUVOgLFTQx935Ovz9ZkPt4v3maaTOPsqne+P549gNEbbUKw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2VxISZNt; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="2VxISZNt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9FFDE1F000E9; Sat, 15 Aug 2026 06:24:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775056; bh=RTmR06OrXyFFg96ntIWBKaeymGXBk7dJPpo2TVtFSwk=; h=From:To:Cc:Subject:Date:Reply-To; b=2VxISZNtbChktFQa+nFGhTV+qZXec5/y6GqjMKaGV+ZVjMTJVfYZWK2UY6yBwydsb gPpqg+YPO/Sis+JI/aV+g4sFxCZjzFtwUJcFHDcCe3/Y3jvNUW7UsStfU9IgS2J5kf l0bRdg7X2G9HizwYE7LTcdH8OELvuXysnNXWHVVY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72358: drm/xe/pt: prevent invalid cursor access for purged BOs Date: Sat, 15 Aug 2026 15:07:17 +0900 Message-ID: <2026081513-CVE-2026-72358-0eca@gregkh> X-Mailer: git-send-email 2.55.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=2769; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KmQTGhmelPHmYHm2T0nlcyd3EWleQ5EE/QevlSVY6jc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDE/LGxQdXrxyWdA+mfW6mWL7prUGB2MkiwLE63U2h woxTmXriGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgImsl2dYME/4hMPCB6buPqm/ fl36b+bfaLm/lWGetZVuavI878aDwpnHhZltwj7M2J0PAA== 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/pt: prevent invalid cursor access for purged BOs During a page table walk for binding, xe_pt_stage_bind() explicitly skips initializing the xe_res_cursor for purged BOs, treating them similarly to NULL VMAs by only setting the cursor size. However, xe_pt_hugepte_possible() and xe_pt_scan_64K() did not check if the BO was purged before attempting to walk the cursor using xe_res_dma() and xe_res_next(). Because the cursor was left uninitialized for purged BOs, this falls through and triggers warnings like: WARNING: drivers/gpu/drm/xe/xe_res_cursor.h:274 at xe_res_next Fix this by explicitly checking if the BO is purged in both xe_pt_hugepte_possible() and xe_pt_scan_64K(), returning early just as we do for NULL VMAs, avoiding the invalid cursor accesses entirely. As a precaution, also zero-initialize the cursor in xe_pt_stage_bind() to ensure we don't pass garbage data into the page table walkers if we ever hit a similar edge case in the future. (cherry picked from commit 4c7b9c6ece32440e5a435a92076d049450cd2d2e) The Linux kernel CVE team has assigned CVE-2026-72358 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit ad9843aac91a1eda12912a4922042ea04cfc29dc and fixed in 7.1.5 with commit 2b6b3f98d0e93856bee38699b783c71cb0e9d67f Issue introduced in 7.1 with commit ad9843aac91a1eda12912a4922042ea04cfc29dc and fixed in 7.2-rc2 with commit 8a0fb57675be578c4db19deb4298ed08a70f0f1a 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-72358 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_pt.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/2b6b3f98d0e93856bee38699b783c71cb0e9d67f https://git.kernel.org/stable/c/8a0fb57675be578c4db19deb4298ed08a70f0f1a