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 190A53BC666 for ; Fri, 24 Apr 2026 14:33:32 +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=1777041213; cv=none; b=qb1mkhk4UGOkfY4NCXBIcyHfY+j1xvf3N8wC+Y1JZuHPLaEt9LPZ8Y3CfZ1DmXdoz52y77IJEefaGPu0ylSE9u5Y210DcaVAdo5CMOOmvk3SfWr6rC42cqO4IuhkDwLcZ6e4I0LyNzroUJx8A4uujAsgxUSQOMhcoeByRxgKmKo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777041213; c=relaxed/simple; bh=v8UrOvm0sSVvED0ASegPJ0ox5RoSNOJbpj6zzbPlsuk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XVP/l42maGjFOzcML+BgyjqTT1rcpTczgGbMmebmFOpbHUxajlq7+zzS9N4mOcUc2Mx2BM7AzkMwlFAmiKTv5+tx+sUgwogvMlK19ECnb5GW0gntkI57LXu53k/7f21VH1PPLAxPRyfFJjKix7+0z1gUBfHe8JeS/FB8eiDK0bY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oHAslbIH; 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="oHAslbIH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 63709C19425; Fri, 24 Apr 2026 14:33:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777041212; bh=v8UrOvm0sSVvED0ASegPJ0ox5RoSNOJbpj6zzbPlsuk=; h=From:To:Cc:Subject:Date:Reply-To:From; b=oHAslbIHWLA4vQAIPS1+cpR0xZD5CkeTkJD1ycGbVEF5QF19c0DLyTG6iw2Jf0XfJ fuIURif1NHrlMiYwC1SLW+GePPqJaj/ZL6yjPRxzTO86JLp0O8W8v//N8QTiEGqzxO 2wmXB9DTEaXHPHqago5JIUHs1Mg2cBLpy7Rgua48= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31540: drm/i915/gt: Check set_default_submission() before deferencing Date: Fri, 24 Apr 2026 16:33:23 +0200 Message-ID: <2026042422-CVE-2026-31540-c37f@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=6473; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Nro5ySq/Bursw0vTu0i+jM+DfA+6e5BZ2SmbsWJ6CUo=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmv643nfZhbvCPlrZJa2Llas47vb5vCitetTH56+fuVf EuO/QkRHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjAR6VKGBfs2uFls19OObb01 5QPvIrHtF3qb9RkWTO8Vyftg9if2p0j7kYhLU7evm3ymBgA= 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/i915/gt: Check set_default_submission() before deferencing When the i915 driver firmware binaries are not present, the set_default_submission pointer is not set. This pointer is dereferenced during suspend anyways. Add a check to make sure it is set before dereferencing. [ 23.289926] PM: suspend entry (deep) [ 23.293558] Filesystems sync: 0.000 seconds [ 23.298010] Freezing user space processes [ 23.302771] Freezing user space processes completed (elapsed 0.000 seconds) [ 23.309766] OOM killer disabled. [ 23.313027] Freezing remaining freezable tasks [ 23.318540] Freezing remaining freezable tasks completed (elapsed 0.001 seconds) [ 23.342038] serial 00:05: disabled [ 23.345719] serial 00:02: disabled [ 23.349342] serial 00:01: disabled [ 23.353782] sd 0:0:0:0: [sda] Synchronizing SCSI cache [ 23.358993] sd 1:0:0:0: [sdb] Synchronizing SCSI cache [ 23.361635] ata1.00: Entering standby power mode [ 23.368863] ata2.00: Entering standby power mode [ 23.445187] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 23.452194] #PF: supervisor instruction fetch in kernel mode [ 23.457896] #PF: error_code(0x0010) - not-present page [ 23.463065] PGD 0 P4D 0 [ 23.465640] Oops: Oops: 0010 [#1] SMP NOPTI [ 23.469869] CPU: 8 UID: 0 PID: 211 Comm: kworker/u48:18 Tainted: G S W 6.19.0-rc4-00020-gf0b9d8eb98df #10 PREEMPT(voluntary) [ 23.482512] Tainted: [S]=CPU_OUT_OF_SPEC, [W]=WARN [ 23.496511] Workqueue: async async_run_entry_fn [ 23.501087] RIP: 0010:0x0 [ 23.503755] Code: Unable to access opcode bytes at 0xffffffffffffffd6. [ 23.510324] RSP: 0018:ffffb4a60065fca8 EFLAGS: 00010246 [ 23.515592] RAX: 0000000000000000 RBX: ffff9f428290e000 RCX: 000000000000000f [ 23.522765] RDX: 0000000000000000 RSI: 0000000000000282 RDI: ffff9f428290e000 [ 23.529937] RBP: ffff9f4282907070 R08: ffff9f4281130428 R09: 00000000ffffffff [ 23.537111] R10: 0000000000000000 R11: 0000000000000001 R12: ffff9f42829070f8 [ 23.544284] R13: ffff9f4282906028 R14: ffff9f4282900000 R15: ffff9f4282906b68 [ 23.551457] FS: 0000000000000000(0000) GS:ffff9f466b2cf000(0000) knlGS:0000000000000000 [ 23.559588] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 23.565365] CR2: ffffffffffffffd6 CR3: 000000031c230001 CR4: 0000000000f70ef0 [ 23.572539] PKRU: 55555554 [ 23.575281] Call Trace: [ 23.577770] [ 23.579905] intel_engines_reset_default_submission+0x42/0x60 [ 23.585695] __intel_gt_unset_wedged+0x191/0x200 [ 23.590360] intel_gt_unset_wedged+0x20/0x40 [ 23.594675] gt_sanitize+0x15e/0x170 [ 23.598290] i915_gem_suspend_late+0x6b/0x180 [ 23.602692] i915_drm_suspend_late+0x35/0xf0 [ 23.607008] ? __pfx_pci_pm_suspend_late+0x10/0x10 [ 23.611843] dpm_run_callback+0x78/0x1c0 [ 23.615817] device_suspend_late+0xde/0x2e0 [ 23.620037] async_suspend_late+0x18/0x30 [ 23.624082] async_run_entry_fn+0x25/0xa0 [ 23.628129] process_one_work+0x15b/0x380 [ 23.632182] worker_thread+0x2a5/0x3c0 [ 23.635973] ? __pfx_worker_thread+0x10/0x10 [ 23.640279] kthread+0xf6/0x1f0 [ 23.643464] ? __pfx_kthread+0x10/0x10 [ 23.647263] ? __pfx_kthread+0x10/0x10 [ 23.651045] ret_from_fork+0x131/0x190 [ 23.654837] ? __pfx_kthread+0x10/0x10 [ 23.658634] ret_from_fork_asm+0x1a/0x30 [ 23.662597] [ 23.664826] Modules linked in: [ 23.667914] CR2: 0000000000000000 [ 23.671271] ------------[ cut here ]------------ (cherry picked from commit daa199abc3d3d1740c9e3a2c3e9216ae5b447cad) The Linux kernel CVE team has assigned CVE-2026-31540 to this issue. Affected and fixed versions =========================== Issue introduced in 4.12 with commit ff44ad51ebf8e4693bd66ae41aa37a6bc88a134f and fixed in 5.15.203 with commit db8b1bebe81ffb410ddd746b6869f72e22420850 Issue introduced in 4.12 with commit ff44ad51ebf8e4693bd66ae41aa37a6bc88a134f and fixed in 6.1.167 with commit da6552d67012a1cf0585f2eb401d0c4abcf108c9 Issue introduced in 4.12 with commit ff44ad51ebf8e4693bd66ae41aa37a6bc88a134f and fixed in 6.6.130 with commit df1f4a7d9cf689b4e96c95255228896505f44c31 Issue introduced in 4.12 with commit ff44ad51ebf8e4693bd66ae41aa37a6bc88a134f and fixed in 6.12.78 with commit 2e20a886b443a71b573ceaed3ca7053d15380916 Issue introduced in 4.12 with commit ff44ad51ebf8e4693bd66ae41aa37a6bc88a134f and fixed in 6.18.20 with commit cf4b224ffb9a58181be32b64130fc36cf59c3192 Issue introduced in 4.12 with commit ff44ad51ebf8e4693bd66ae41aa37a6bc88a134f and fixed in 6.19.10 with commit 1a16150729db8d997e39519f9d58e6b435c4c087 Issue introduced in 4.12 with commit ff44ad51ebf8e4693bd66ae41aa37a6bc88a134f and fixed in 7.0 with commit 0162ab3220bac870e43e229e6e3024d1a21c3f26 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-31540 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/i915/gt/intel_engine_cs.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/db8b1bebe81ffb410ddd746b6869f72e22420850 https://git.kernel.org/stable/c/da6552d67012a1cf0585f2eb401d0c4abcf108c9 https://git.kernel.org/stable/c/df1f4a7d9cf689b4e96c95255228896505f44c31 https://git.kernel.org/stable/c/2e20a886b443a71b573ceaed3ca7053d15380916 https://git.kernel.org/stable/c/cf4b224ffb9a58181be32b64130fc36cf59c3192 https://git.kernel.org/stable/c/1a16150729db8d997e39519f9d58e6b435c4c087 https://git.kernel.org/stable/c/0162ab3220bac870e43e229e6e3024d1a21c3f26