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=1795154569; b=b6/t1KDxRjNQ+oIf9aP0mgOqWPJqCgnoyjeJnEFq4eTf2ijXVhYy/Yh93aylPe42qKQE s38V6y1vHk54jgi5I38nmtolBJNdYtl+8toWck2bsgS/vwmFYdcEvfXKDMP0Vqg9PogLZ ZusJm62x2ocDxlYLa0devLNHFGKdH1ZaW/BN1b0xS00nuN1i3kjHgekFSghPgdco6Gz0P qLURNtTECh8XDN4onSggQp/jQO+/C2ZRzBPQzCBJKHM9qMsPFEm39hMv8E5028Wdbm9D/ SZbTHm8rebKC/rZeDgxaf3HK6IZC0uH453HmHHasubIPkEt4OAU7cONwxA9bT4szs6w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154569; 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=vu3Hcb+RSHlMtZuULkJNl3UbLCWQuZanUBZBoOoDTIg=; b=GpOUCg7rC0R+2LxP/DQN8bnAkFJbNDnTrsouD7ac0Zw9MMZxBkatN8+l1A2v/pdvbOi6 oDVPya7u8IkWiXNFOOVQliw1y4ovdKQOsylUiV60tx9639KCPd9mO5mMK+e2GAi3KGyWG NaythAiG/2OmKFml+u/SZ88LvmmvIOId0nlP+kxS5LfAQzteENzvlb/0u7sEssphttpw2 P9McXLkIZAjQgIem4tJoi8Uvjysag0niBeUJG2rv/HdefXNrd2jB9gQ3mznZ4tBapUg7t DMLGwNzGRvkOjdlVPOSBsvNhe2M4BuWA21lhlzAJDTN1fmDttSVpergX8YJaxtW/9YA== 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=2jTJ4yMX; 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 74727606A524 for ; Fri, 20 Nov 2026 06:02:49 +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=2jTJ4yMX Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7CB831F000CA; Fri, 20 Nov 2026 06:02:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154569; bh=vu3Hcb+RSHlMtZuULkJNl3UbLCWQuZanUBZBoOoDTIg=; h=From:To:Cc:Subject:Date:Reply-To; b=2jTJ4yMXc+Et4teXHeX4AjNo5aoOvIIZVN4/VjRGZUSmtxbCzOLbnhRo8GlFErYFQ 1fJGviCrnxJC0i3Dxk/zvIOdGc7P8Dpks8+oQ5RRytU6tw9hrZ5qjyp+XmRbo9Ey7D 96sz2IBAZup5k9Bj7FfSWkhWsvZZh+Np/TWGnEj8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99788: ACPI: CPPC: Validate FFH register fields before hardware access Date: Fri, 20 Nov 2026 06:52:54 +0100 Message-ID: <2026112034-CVE-2026-99788-19a3@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=3484; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nWI5QKxWReJrvbwSc3eDrobJorZbx7SgWRXG6AXtg8c=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/76/KNH89JYXPWSflzbfmFt6jIh26J2+xN/54sfnxN c227a/rO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi19IY5kp/YpB2/mKWLq0Y zZjIGxOt7LN9McM8rY5ZM9aznnmUcurizdzFoTUsF5X0AA== 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: ACPI: CPPC: Validate FFH register fields before hardware access The x86 CPPC FFH accessors construct masks and shift values using the firmware's Bit Width and Bit Offset without checking that the field fits in an MSR. A zero-width field or a field extending beyond bit 63 can therefore cause an invalid shift. The safe MSR accessors only handle an access fault, not invalid field arithmetic after a successful read. Also, the 64-bit GAS address is implicitly narrowed to the 32-bit MSR number. A descriptor with nonzero upper address bits can access a different MSR from the one described by firmware. The arm64 AMU counter readers have the same unchecked field arithmetic. Validate the field bounds before reading a counter, including both descriptors in the paired counter path. Dispatch FFH accesses before decoding the GAS Access Size in the common read and write paths. Otherwise, a large access_width can trigger an invalid shift in GET_BIT_WIDTH() before the architecture validates its register. That field has architecture-specific FFH semantics and is not needed by the generic memory/port accessor on this path. Validate x86 MSR addresses and share the field-bounds checks between related accessors within each architecture. The Linux kernel CVE team has assigned CVE-2026-99788 to this issue. Affected and fixed versions =========================== Issue introduced in 4.9 with commit a6cbcdd5ab5f242d49f511127f0a601b71be2cc4 and fixed in 6.12.118 with commit dd2322d548cc1b424da6d07e69eeab7543020106 Issue introduced in 4.9 with commit a6cbcdd5ab5f242d49f511127f0a601b71be2cc4 and fixed in 6.18.64 with commit 353c0cb4375c57d282449cf87e8e405c2e8bc8ed Issue introduced in 4.9 with commit a6cbcdd5ab5f242d49f511127f0a601b71be2cc4 and fixed in 7.3.5 with commit 4f6a4864308b57cf7aa38ddd07cf4ddcecfbcc41 Issue introduced in 4.9 with commit a6cbcdd5ab5f242d49f511127f0a601b71be2cc4 and fixed in 7.4-rc1 with commit 6b016c5c96448c0a5f09328d37f66562d154a5e5 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-99788 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: arch/arm64/kernel/topology.c arch/x86/kernel/acpi/cppc.c drivers/acpi/cppc_acpi.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/dd2322d548cc1b424da6d07e69eeab7543020106 https://git.kernel.org/stable/c/353c0cb4375c57d282449cf87e8e405c2e8bc8ed https://git.kernel.org/stable/c/4f6a4864308b57cf7aa38ddd07cf4ddcecfbcc41 https://git.kernel.org/stable/c/6b016c5c96448c0a5f09328d37f66562d154a5e5