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 33524310651 for ; Wed, 14 Jan 2026 15:06:49 +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=1768403210; cv=none; b=S6GQt5GHlHRhqNg18Xb46ScwzPLXSmUQXNII6faSb5+Ylt9d/iJah0H4gQhkFtDatgnqoXL6VaNEZxLmpuEs6MdlxJJhIqKjLb39JGO+7w7STdeSgK96ETlzetr1ySN6mNhEwL1gXzCif0DZYUqyeoZ2FSVU47e194klZLue4v8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768403210; c=relaxed/simple; bh=oOWD1FA4eBkM9m5Qd+ATYMMxaj4WEHVzF4AiVn2ea4g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TN9WEEYcNrAnxRogd9FWUn2xUHZ3kDNo9BTimU+18/lrtOUDUHNl76LJ79nA99KcP0x8suzbgaMSQqjpRpR18kQPcFLIs8NLqsV9phd5YUI/vcUulYo9sGujgsjK86eF/SHzihx3bbNK2+HtuGnyJawRXSCCVg4KMX1Ag7qC7Bs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HUTPru+T; 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="HUTPru+T" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 659ADC4CEF7; Wed, 14 Jan 2026 15:06:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768403209; bh=oOWD1FA4eBkM9m5Qd+ATYMMxaj4WEHVzF4AiVn2ea4g=; h=From:To:Cc:Subject:Date:Reply-To:From; b=HUTPru+Tbonhac5asCCNfhS67xWR6qxgAvB4LDjOttLQNyZIuMwltSeQzFP2kvVcA vfoZV82AxoJFWVhllV79BG5nmhGegzL2eBpr8VOGPUG2BawyydRa4Xizs5HazuPx/d S4bOBnip86MvULgWPeDRBM/oOHAv/GOna31mk/NI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71119: powerpc/kexec: Enable SMT before waking offline CPUs Date: Wed, 14 Jan 2026 16:06:24 +0100 Message-ID: <2026011415-CVE-2025-71119-287a@gregkh> X-Mailer: git-send-email 2.52.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=3480; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HKJnS5uHwSiZH4knF8D0D5vKqD/yLcf4xm/muHU0DPc=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnpG55/EpZSUdFrNXDZJ+9/wvlullQrd1VUZa1e1f1v1 as3vWHsiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgInEHWNYsDPA+5JFN1PR2lhF v41eKeJ+jb06DAuuicf7xnqvVC1+o319pbSO8jKh3dIA 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: powerpc/kexec: Enable SMT before waking offline CPUs If SMT is disabled or a partial SMT state is enabled, when a new kernel image is loaded for kexec, on reboot the following warning is observed: kexec: Waking offline cpu 228. WARNING: CPU: 0 PID: 9062 at arch/powerpc/kexec/core_64.c:223 kexec_prepare_cpus+0x1b0/0x1bc [snip] NIP kexec_prepare_cpus+0x1b0/0x1bc LR kexec_prepare_cpus+0x1a0/0x1bc Call Trace: kexec_prepare_cpus+0x1a0/0x1bc (unreliable) default_machine_kexec+0x160/0x19c machine_kexec+0x80/0x88 kernel_kexec+0xd0/0x118 __do_sys_reboot+0x210/0x2c4 system_call_exception+0x124/0x320 system_call_vectored_common+0x15c/0x2ec This occurs as add_cpu() fails due to cpu_bootable() returning false for CPUs that fail the cpu_smt_thread_allowed() check or non primary threads if SMT is disabled. Fix the issue by enabling SMT and resetting the number of SMT threads to the number of threads per core, before attempting to wake up all present CPUs. The Linux kernel CVE team has assigned CVE-2025-71119 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1.72 with commit 482fa21635c8832db022cd2d649db26b8e6170ac and fixed in 6.1.160 with commit 7cccd82a0e4aad192fd74fc60e61ed9aed5857a3 Issue introduced in 6.6 with commit 38253464bc821d6de6bba81bb1412ebb36f6cbd1 and fixed in 6.6.120 with commit d790ef0c4819424ee0c2f448c0a8154c5ca369d1 Issue introduced in 6.6 with commit 38253464bc821d6de6bba81bb1412ebb36f6cbd1 and fixed in 6.12.64 with commit f0c0a681ffb77b8c5290c88c02d968199663939b Issue introduced in 6.6 with commit 38253464bc821d6de6bba81bb1412ebb36f6cbd1 and fixed in 6.18.3 with commit 0d5c9e901ad40bd39b38e119c0454b52d7663930 Issue introduced in 6.6 with commit 38253464bc821d6de6bba81bb1412ebb36f6cbd1 and fixed in 6.19-rc3 with commit c2296a1e42418556efbeb5636c4fa6aa6106713a Issue introduced in 6.5.12 with commit 15141adf85b14a7cff7abba1cb983f0bf17e3b36 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-2025-71119 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/powerpc/kexec/core_64.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/7cccd82a0e4aad192fd74fc60e61ed9aed5857a3 https://git.kernel.org/stable/c/d790ef0c4819424ee0c2f448c0a8154c5ca369d1 https://git.kernel.org/stable/c/f0c0a681ffb77b8c5290c88c02d968199663939b https://git.kernel.org/stable/c/0d5c9e901ad40bd39b38e119c0454b52d7663930 https://git.kernel.org/stable/c/c2296a1e42418556efbeb5636c4fa6aa6106713a