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 7810B3AA4F1 for ; Wed, 25 Mar 2026 10:29:41 +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=1774434581; cv=none; b=BbzZT5kfaIhJs60BJyn39ig2prHp38DJ15ptZtZQMWvWOjFosGiTmWa1QqgY+jITy9ShAL9Nh6pW/K1OKlstY17jEXypL0FFZeyOQW33JnclCLV0QBLPeqjLP51RRfKdpgmWoMqksRAxuJLkPyzjW1Zs9k5bCxmuC6Levrhl46A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434581; c=relaxed/simple; bh=eAfpsvkJipj5MMOBNwhGdEkpfd1NbER4OFBX+1SdXo4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Gg70hfunBuuPg0PHwrN4J6k/QV1+HbcUkEVxCoG/ea57eWEI0SjP4utUWT2nAZhCA5lHz1aWoK01yqdEI0ozjdREjkAk74RDvWdP+4ILLveYPvMuQb15Hp0OAXF5CeZ6QY5r1KygWiaUcmEsinZN700sfn9sX26pzO52ID2XRbk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pcop0QIj; 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="pcop0QIj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C85D5C2BC9E; Wed, 25 Mar 2026 10:29:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434581; bh=eAfpsvkJipj5MMOBNwhGdEkpfd1NbER4OFBX+1SdXo4=; h=From:To:Cc:Subject:Date:Reply-To:From; b=pcop0QIjaRVWRSvL2ZTkCvGOnTnRq+GiEVWQrR3FU5xUSNXTB7qi9ryZKnyK720ih z1iD46KC6+3Sk0NOf+MDGuqOymAAWPwILYRlfEAMq+WvmSUafqy+jRGNv6F9m4PIdS W9db6dp5RkMGUBhcBem9zXps6Z/kMLmV4DNhpLHo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23332: cpufreq: intel_pstate: Fix crash during turbo disable Date: Wed, 25 Mar 2026 11:27:16 +0100 Message-ID: <2026032533-CVE-2026-23332-50e0@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=2890; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=PsA7g1QKPDz+m35utOo/oL5pfsL/ZR3mi/1GZz2rtDE=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmHd0SuSXD7xRtS1nosL4htSrzGPhaOn+bCR2t19W87L D629eaJjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhImwLD/LiKQ1evqThuu9B8 u1X3Yn1NZVXwD4b5oTOsDPfLzptxg3ervtbEded3+3wWAwA= 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: cpufreq: intel_pstate: Fix crash during turbo disable When the system is booted with kernel command line argument "nosmt" or "maxcpus" to limit the number of CPUs, disabling turbo via: echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo results in a crash: PF: supervisor read access in kernel mode PF: error_code(0x0000) - not-present page PGD 0 P4D 0 Oops: Oops: 0000 [#1] SMP PTI ... RIP: 0010:store_no_turbo+0x100/0x1f0 ... This occurs because for_each_possible_cpu() returns CPUs even if they are not online. For those CPUs, all_cpu_data[] will be NULL. Since commit 973207ae3d7c ("cpufreq: intel_pstate: Rearrange max frequency updates handling code"), all_cpu_data[] is dereferenced even for CPUs which are not online, causing the NULL pointer dereference. To fix that, pass CPU number to intel_pstate_update_max_freq() and use all_cpu_data[] for those CPUs for which there is a valid cpufreq policy. The Linux kernel CVE team has assigned CVE-2026-23332 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 973207ae3d7c3c92df4a382df5d7bd695deaa904 and fixed in 6.18.17 with commit a1850e2aef4d15405e7ff53fd51c4b3124d46182 Issue introduced in 6.16 with commit 973207ae3d7c3c92df4a382df5d7bd695deaa904 and fixed in 6.19.7 with commit d20d48916ce8531b157c2edeba76d69af2974270 Issue introduced in 6.16 with commit 973207ae3d7c3c92df4a382df5d7bd695deaa904 and fixed in 7.0-rc2 with commit 6b050482ec40569429d963ac52afa878691b04c9 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-23332 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/cpufreq/intel_pstate.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/a1850e2aef4d15405e7ff53fd51c4b3124d46182 https://git.kernel.org/stable/c/d20d48916ce8531b157c2edeba76d69af2974270 https://git.kernel.org/stable/c/6b050482ec40569429d963ac52afa878691b04c9