Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 94586492E20 for ; Fri, 25 Sep 2026 10:28:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332120; cv=none; b=Hl1iGx0hBItZ6wnX5I6YEVyp/q3tLrJRgM4qMQ0PmudsNWyNGwsKY+YpaFR3qP6o/9O7Zp0/WAtsdylcuJCha+sVPS2A/SCDCIKvEGQQ4POUvSxbawVlEQHrlsIL8gr0t3jj1cArlajMjayeeKKBEVnnbhBRo0IABGmNyh/EKVo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332120; c=relaxed/simple; bh=9gqntKo+dd8F8fvrbAR54jrBFTdIkdFrCCHfm9BnSOI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=gzWdL5dZ2Q+xRTbE1qBkb+7RlbDx8Djnv1/QsfJMYD1Ewlm5r7+kDWSenl7KMIjptm+zDwPyg9rrnrQdwyRToHNRKN+ns0ClH0R3FltGL6yleyXgj3gvVjuSGgdsNXPQFzonuDR1+WHx9AWR3eVGDYNc2XsoJdf9g6lP8nW3ykk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kEFkop+l; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="kEFkop+l" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB59E1F00893; Fri, 25 Sep 2026 10:28:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332119; bh=t6lYS8Hb2zzB4V5CYNy0FZ81JQ1qtXL5Iv8MMLQX5m0=; h=From:To:Cc:Subject:Date:Reply-To; b=kEFkop+lMjDRsqpO7MX6ZMKtXwKYkGl41JOpyIPkO8zVpCOqDwyd5TE3RtIYv3pwC 5UGzr8KAWEiONHMQ0+EiPM+G8U/HpXCNAwvfTcUdAKLj4fO6qym9jrzcKnItCYqMm9 lIJPdUWeV+a13S5ixxKSE78G3BOa7xWAeCRjcxps= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97925: tick/broadcast: Plug clockevents replacement race Date: Fri, 25 Sep 2026 12:23:48 +0200 Message-ID: <2026092509-CVE-2026-97925-2a0d@gregkh> X-Mailer: git-send-email 2.55.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=3782; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=I+BKg6/PUaNEed3boFH0yVNBYgfN0pgQWHjH3qRC6ww=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvAM3BIZu57xhtndx36za6cea28WiZ6sLNF7lXLWVZ 1+x9G7vjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjISVmG+fnvNrMLr68PXn36 vEl7nuyE1yybihjm5wZ+4TsbbfiYLWDrNKsOjm9rzXbpAgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: tick/broadcast: Plug clockevents replacement race 朱恺乾 reported and decoded the following race condition when a broadcast device is replaced: CPUA CPUB __tick_broadcast_oneshot_control() bc = tick_broadcast_device.evtdev; tick_install_broadcast_device(dev) clockevents_exchange_device(cur, dev) shutdown(cur); detach(cur); cur->handler = noop; tick_broadcast_device.evtdev = dev; tick_broadcast_set_event(bc, next_event); <- FAIL: arms a detached device. If the original broadcast device has a restricted interrupt affinity mask and the last CPU in that mask goes offline then the BUG() in tick_cleanup_dead_cpu() triggers because the clockevent device is not in detached state. The reason for this is that tick_install_broadcast_device() is not serialized vs. tick broadcast operations. The obvious cure is to serialize tick_install_broadcast_device() with tick_broadcast_lock against a concurrent tick broadcast operation. That requires to split clockevents_exchange_device() into two parts, one which does the exchange, shutdown and detach operation and the other which drops the module reference count. This is required because the module reference cannot be dropped while holding tick_broadcast_lock. Let clockevents_exchange_device() do both operations as before, but let the broadcast device code take the two step approach and do the device exchange under tick_broadcast_lock and drop the module reference count after releasing it. The Linux kernel CVE team has assigned CVE-2026-97925 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.21 with commit f8381cba04ba8173fd5a2b8e5cd8b3290ee13a98 and fixed in 6.12.111 with commit 3da55616db2b6b7d9caa3b7ff1e8983224e0ed52 Issue introduced in 2.6.21 with commit f8381cba04ba8173fd5a2b8e5cd8b3290ee13a98 and fixed in 6.18.53 with commit 3525b94b2f258e0b99d1ee5a82a80b51bc1cc818 Issue introduced in 2.6.21 with commit f8381cba04ba8173fd5a2b8e5cd8b3290ee13a98 and fixed in 7.2.7 with commit 292b7a8ed84032cfdfc9076a690360f7d3f640d4 Issue introduced in 2.6.21 with commit f8381cba04ba8173fd5a2b8e5cd8b3290ee13a98 and fixed in 7.3-rc3 with commit 113a9796effe3376d2ec5aabcca1fef4fef4cd62 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-97925 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: kernel/time/clockevents.c kernel/time/tick-broadcast.c kernel/time/tick-internal.h 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/3da55616db2b6b7d9caa3b7ff1e8983224e0ed52 https://git.kernel.org/stable/c/3525b94b2f258e0b99d1ee5a82a80b51bc1cc818 https://git.kernel.org/stable/c/292b7a8ed84032cfdfc9076a690360f7d3f640d4 https://git.kernel.org/stable/c/113a9796effe3376d2ec5aabcca1fef4fef4cd62