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 D7DBB35B651 for ; Fri, 3 Apr 2026 15:26:15 +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=1775229975; cv=none; b=hgD0WT2buPNC9qHKBGcuWMCCLuNY6F6RDdhcSZRkmkzYU/ns5olC1BFIdYcT50W+yoRHg1snLX4jIfxifg+FkVFQvpoepMZ6MGTUv3V0NeWcr7TTeorDjfx5qLoG+vVBTtFHjXsU4BDq0xJoJCgsNhPqhkZugSsLnI5OUatL3AI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775229975; c=relaxed/simple; bh=ONlw/nJ9qb0tm9P94GdVW35+pUnl+JVm12aJh3pJaY8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bPtwDYsq6yY54+JP8cb4TWIFaCxx0oSTRznIUgmMy9h9d2k5QDFHYZezd4f3iP+ZUo0RJRhof6CRB3t0zknxHl/8LiAgxtVUjZnPDdC1KANANU5xKeay+qEBeMWR7SIF36qzM0Q8s0j6XlK81AsHznz6jK38aP7GH0BZ7BF35qM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=p+nZpH/P; 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="p+nZpH/P" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 350B9C4CEF7; Fri, 3 Apr 2026 15:26:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1775229975; bh=ONlw/nJ9qb0tm9P94GdVW35+pUnl+JVm12aJh3pJaY8=; h=From:To:Cc:Subject:Date:Reply-To:From; b=p+nZpH/PnVty5QOlU4s7nXZPYV/Kp2AUO04sR6mDru2D57lx8cZgpS540XG5wGl0j GAJOp0iKzJ+pB8GiWOMsa+GHLdnD06kytWFhunGpN6AsW2VI9fXO+NjlkdN9k5mFHp CyLWBmy6ggsML3B2C06GiXQJVIRr1OR0XIa3vEIQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23467: drm/i915/dmc: Fix an unlikely NULL pointer deference at probe Date: Fri, 3 Apr 2026 17:18:48 +0200 Message-ID: <2026040321-CVE-2026-23467-9cfe@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=3772; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fNGZjMDKGqAGGoa2PY7YQHsYeygPhy3FcL/VbdrCN84=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnnb9me7UkPCDBxaz5snGrkxcRbzpofuNJXMs/4pqDxs ZK8O7odsSwMgkwMsmKKLF+28RzdX3FI0cvQ9jTMHFYmkCEMXJwCMJFdzAzzKxmTVsdzXQo4M/dJ tcA6x/ePu3bNZ1gwJ8eKVeGuS+6i7H+M5Ysffb3p//sWAA== 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/dmc: Fix an unlikely NULL pointer deference at probe intel_dmc_update_dc6_allowed_count() oopses when DMC hasn't been initialized, and dmc is thus NULL. That would be the case when the call path is intel_power_domains_init_hw() -> {skl,bxt,icl}_display_core_init() -> gen9_set_dc_state() -> intel_dmc_update_dc6_allowed_count(), as intel_power_domains_init_hw() is called *before* intel_dmc_init(). However, gen9_set_dc_state() calls intel_dmc_update_dc6_allowed_count() conditionally, depending on the current and target DC states. At probe, the target is disabled, but if DC6 is enabled, the function is called, and an oops follows. Apparently it's quite unlikely that DC6 is enabled at probe, as we haven't seen this failure mode before. It is also strange to have DC6 enabled at boot, since that would require the DMC firmware (loaded by BIOS); the BIOS loading the DMC firmware and the driver stopping / reprogramming the firmware is a poorly specified sequence and as such unlikely an intentional BIOS behaviour. It's more likely that BIOS is leaving an unintentionally enabled DC6 HW state behind (without actually loading the required DMC firmware for this). The tracking of the DC6 allowed counter only works if starting / stopping the counter depends on the _SW_ DC6 state vs. the current _HW_ DC6 state (since stopping the counter requires the DC5 counter captured when the counter was started). Thus, using the HW DC6 state is incorrect and it also leads to the above oops. Fix both issues by using the SW DC6 state for the tracking. This is v2 of the fix originally sent by Jani, updated based on the first Link: discussion below. (cherry picked from commit 2344b93af8eb5da5d496b4e0529d35f0f559eaf0) The Linux kernel CVE team has assigned CVE-2026-23467 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 88c1f9a4d36de61f87cc52aac670020b13d1ccaa and fixed in 6.18.20 with commit 0b35d11fbbcfd1079c8489282a341944228835e3 Issue introduced in 6.16 with commit 88c1f9a4d36de61f87cc52aac670020b13d1ccaa and fixed in 6.19.10 with commit 631317825d44283abfe7a8374f13a76ce2032bb8 Issue introduced in 6.16 with commit 88c1f9a4d36de61f87cc52aac670020b13d1ccaa and fixed in 7.0-rc5 with commit ac57eb3b7d2ad649025b5a0fa207315f755ac4f6 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-23467 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/display/intel_display_power_well.c drivers/gpu/drm/i915/display/intel_dmc.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/0b35d11fbbcfd1079c8489282a341944228835e3 https://git.kernel.org/stable/c/631317825d44283abfe7a8374f13a76ce2032bb8 https://git.kernel.org/stable/c/ac57eb3b7d2ad649025b5a0fa207315f755ac4f6