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 4ED2D3812EF for ; Thu, 25 Jun 2026 08:42:50 +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=1782376972; cv=none; b=K027X+VTZxasLyWEsE5tys2iNZiCNT09Fvkd4QWm4CDog6qGaXFCODYjAP0wxbmpPOJnud7Gma+ab/jR0T/sMH3nIZtoh3+rgSqzTZjVuLwbfnl20akKT5V2WsLuD7JVbrWZTw273wY7cJNrV4ljMGbBw4vE9gY5t4apSYR0beo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782376972; c=relaxed/simple; bh=lBf0kgKRudEG6gvfz5cmJ9odNZzfoZ0VXr9bo4ceByU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AfGWnfm9huLFljKjv2lPuUezdbBSTPJ8XCL2GnmQQ0thDWywBVlke5lUgHftZ9gEK+NlUhJ1NOr0b+JATemetdsSjcHz2sx7fQJz4rIvEKJUtc7hvgI/dyigcoXgJRt5Wn04SCQJQk6lXqNX7fNNZVMKdBSB1EAwvYTIEK4nDjo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XpcBpW87; 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="XpcBpW87" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2CC81F000E9; Thu, 25 Jun 2026 08:42:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782376970; bh=VDDYS80f4SrQQhNEZgxCaEHmxyCIqMr17y8m8IlYr4I=; h=From:To:Cc:Subject:Date:Reply-To; b=XpcBpW87TjvsLFQZ6ecqUgShAhWMvDmaQsDvN+2KrKLcC5PhoucrVeTW4bAiAlFbL DN3F16LFrorVqq3RWOiVLuXjHoWRdAuOx4mZwTa+ogbhmTiAqFCQMpEsurIS+vIe/r ukPLOjYcDrzYo+sieRZ16rC+N9TaeDtqmPcF9Y+I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53142: drm/xe/display: fix oops in suspend/shutdown without display Date: Thu, 25 Jun 2026 09:39:50 +0100 Message-ID: <2026062544-CVE-2026-53142-d052@gregkh> X-Mailer: git-send-email 2.54.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=3493; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WFyOIhbUQ7rl+m+/110zwgk2+nreqY2E7cYrQKEZ0Bw=; b=kA0DAAIRMUfUDdst+ykByyZiAGo86VCjpDQYuvAdbz1GG9zZ5A75LVEUn4kzUCyJWva4uGz0x ohdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmo86VAACgkQMUfUDdst+ylSQACeOh8r sjfTWO1nmL6f+HD6IEvyY9cAmwVB5ew+2IUYASrOVKHQiFTjwHQh 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/display: fix oops in suspend/shutdown without display The xe driver keeps track of whether to probe display, and whether display hardware is there, using xe->info.probe_display. It gets set to false if there's no display after intel_display_device_probe(). However, the display may also be disabled via fuses, detected at a later time in intel_display_device_info_runtime_init(). In this case, the xe driver does for_each_intel_crtc() on uninitialized mode config in xe_display_flush_cleanup_work(), leading to a NULL pointer dereference, and generally calls display code with display info cleared. Check for intel_display_device_present() after intel_display_device_info_runtime_init(), and reset xe->info.probe_display as necessary. Also do unset_display_features() for completeness, although display runtime init has already done that. This will need to be unified across all cases later. Move intel_display_device_info_runtime_init() call slightly earlier, similar to i915, to avoid a bunch of unnecessary setup for no display cases. Note #1: The xe driver has no business doing low level display plumbing like for_each_intel_crtc() to begin with. It all needs to happen in display code. Note #2: The actual bug is present already in commit 44e694958b95 ("drm/xe/display: Implement display support"), but the oops was likely introduced later at commit ddf6492e0e50 ("drm/xe/display: Make display suspend/resume work on discrete"). (cherry picked from commit 7c3eb9f47533220888a67266448185fd0775d4da) The Linux kernel CVE team has assigned CVE-2026-53142 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit 44e694958b95395bd1c41508c88c8ca141bf9bd7 and fixed in 6.18.36 with commit 0f68ddfaaebfbb5581ee931779757d31f4dc9e24 Issue introduced in 6.8 with commit 44e694958b95395bd1c41508c88c8ca141bf9bd7 and fixed in 7.0.13 with commit 238bcdaae8f2abc65e182de7d1f69cf8f611a610 Issue introduced in 6.8 with commit 44e694958b95395bd1c41508c88c8ca141bf9bd7 and fixed in 7.1 with commit 68938cc08e23a94fd881e845837ff918de005ce7 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-53142 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/display/xe_display.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/0f68ddfaaebfbb5581ee931779757d31f4dc9e24 https://git.kernel.org/stable/c/238bcdaae8f2abc65e182de7d1f69cf8f611a610 https://git.kernel.org/stable/c/68938cc08e23a94fd881e845837ff918de005ce7