Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795154566; b=KRKJUGU72Q3gl8hymlG9fHV2OfmBiEj9sARWChSuZY+bFTgWqiup1TDsk5LPm1yzCvGK mc9jjbWdK+sCekvWxlqjv2aQkYPhAK4ulrlOXGO9CLMIp5CHjOzHL9qU8L/j6zTqL1i9l /tX5ZcqCFV583YJEzsnE3Qiu9mlXq8I5Cio2AWLN6ggM9I6gGr2YNGzqIiliBS3+XKR45 frpz9805mQcL/rZHuRsHyVu267rapMny2TRJ2c1OhntiNREl+2eZqv5dSjWSt2hTQt3tR vvEvEVxY0+B3ImF2gQN6RC+69sWoCmsg6o3JDX++Ux41G6A/rbSa2myFS+T4meh5zRw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154566; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=8AVSJM7clsVjzFZkiZ/8SQTSB27IynvhLCaVQVKMLWM=; b=uqncUKb8V/rXZ3up/zJTmwQslO9pEQPbsdqlMrQiJZHyTZzRUm/ax38iObDXzng/2Cxo 96za5OmEKWR3LSsdDEey4O7lho8bNuDjYvdl32E1etKNHf3GG//qdRG1Hf9q7m7qJP9V5 RxMlU5BU1IVT4NtQprugaAkovA6x0dL7iMYD5SGUDdhKz3ALKUQHaIZXI1o6YQx0DOk2q mpZ9DlAey9nfV8tb/N/REcaMU7JN7ZO/QdE7i8xsUOblpxggb0VTZ/8fR80OuktDDHixQ MdJ/3c+yrIf7R/q2Lxt1FR8KCXFJSY+k8T804rN3TTlectuUP+b99jujeXKVO/q5LdA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=JtSIzL+z; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9A041606A32C for ; Fri, 20 Nov 2026 06:02:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=JtSIzL+z Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9E6C41F000CA; Fri, 20 Nov 2026 06:02:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154566; bh=8AVSJM7clsVjzFZkiZ/8SQTSB27IynvhLCaVQVKMLWM=; h=From:To:Cc:Subject:Date:Reply-To; b=JtSIzL+zLHaMMBCoQCzGrACKIRyllEGbVeUiVBUnX1hLMzh64GCv9ZRnqBJIRxcxE sm8AUHMNmm4l3VT+il433cD7uQWCb6ByeIAGfdVxekHsYMa9kaqter4Kz0VD7YBaRk KjAA74ywYJBxOsgf/Tn3t0O4WfWnc7ZdbZ1Fq9nk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99787: cpufreq: CPPC: Select the frequency-invariance callback per CPU Date: Fri, 20 Nov 2026 06:52:53 +0100 Message-ID: <2026112034-CVE-2026-99787-23e6@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2681; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=jpIRv1+WjioSfqvuUi5L4UxGOQ5ievsFT1QwlOsFSDQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/76+K918Skyaj1bNSs10983i5V4/Z6cVpPZ+WbLxZF G1+uGFiRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzk0nWGOVxfklICQmYffDt1 6astqry8gTuMbjMsmHKRr0T30tM/ry96SKhKrOr51fglGQA= 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: CPPC: Select the frequency-invariance callback per CPU cppc_cpufreq_cpu_fie_init() initializes deferred work only for CPUs whose feedback counters use PCC. However, if any CPU in a shared policy uses PCC, it installs the PCC tick callback for the entire policy. With FIE enabled, a non-PCC CPU then queues an uninitialized irq_work and can call a NULL function pointer when that work runs. Choose the frequency-invariance callback separately for each CPU using the recorded work-initialization state. Processor removal can unpublish the CPC descriptor before callback registration, so querying its counter transport again can incorrectly select direct reads for a PCC CPU. Register the callbacks after all counter initialization has completed, so a failed initial read for an online CPU cannot leave a partially registered policy. PCC CPUs use their initialized deferred work, while non-PCC CPUs read their own counters directly from the tick. The Linux kernel CVE team has assigned CVE-2026-99787 to this issue. Affected and fixed versions =========================== Issue introduced in 7.0 with commit 997c021abc6eb9cf7df39fa77fa5e666ad55e3a3 and fixed in 7.3.5 with commit 309af21d334f970ad32175eefd1f33d154c1160d Issue introduced in 7.0 with commit 997c021abc6eb9cf7df39fa77fa5e666ad55e3a3 and fixed in 7.4-rc1 with commit 21e018235d99bc86249b034c06646df8757b2852 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-99787 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/cppc_cpufreq.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/309af21d334f970ad32175eefd1f33d154c1160d https://git.kernel.org/stable/c/21e018235d99bc86249b034c06646df8757b2852