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=1793187450; b=Gvb/7qCLs8JJkrTTd8PPh933U1rjNsNMC0llWDHVePt84lWcOwuUInmZOFMM8mScleSm +aNTJYPIeEtD61AyBVtos9Z2ERIGCS1gBN2cZQjZupyhWuvZHge7hTri43c4ZW1Jsc1/8 9nHuySn9rnaODxyA5WXXe0EsplUBh5SXJEpqL4GikHRh3MgbvYV05rpU10tEmTqU1MyZw qc6i6TzZqINLnbZk50Eqe/nxFMD8T81kTYaWKA4xtcUJMGk19QQ1ANfBDyXp2qwdiwM2m N3HAKfPtgq3KLFFVJao3c9YE+89ovT8YqgrVraxIr9m+aEn9FeQuQxsNcRRQ00tc4RA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793187450; 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=sXpOJ8dk5vMOo86qfIgLpDQh/IXmqw6DhHjX299U5rg=; b=ZkOdkCZnRQPRW766+bA6sRAub7gUBLKnN1+pqjxhg/NKss+OD/rFhVvlR3RkW3ZaN/+W uoXxl59ny7LEDoIpEmF5DjOAlQ5ZXi+wgyvQVjPCpCR0ihm2hbBFcf15K0Cs7gF+Tb+fk 4+vYag1id+SIWLXOX2EunaBeHJHcI0b+1ZDdd9AAHLCyBgtD+NtByoiA2DUq3PipfxuI+ gIG9UXeMxwRtEhMm8ZptiW0Wsj8MPowtqmYVd2izEt4ZEAwK5S6D6rgR/6iUAtBJG1VNW XPMmxVZNmL9YO/TDPQaG3EtCeYwp5JvuHyb5R1j6fr0M3TSxkE9WDFQOOoUkooUDMHg== 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=SaMDOCzg; 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 60A77606A31A for ; Wed, 28 Oct 2026 11:37:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=SaMDOCzg Received: by smtp.kernel.org (Postfix) with ESMTPSA id 128151F01825; Wed, 28 Oct 2026 11:37:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793187449; bh=sXpOJ8dk5vMOo86qfIgLpDQh/IXmqw6DhHjX299U5rg=; h=From:To:Cc:Subject:Date:Reply-To; b=SaMDOCzgiDqxUCdDs4olz01Gi2MEdmdkOLD74xpleWfQur2NX4/J0PY/BeC+Z1kR4 zjvdA2YdYETNybE8TzbD8w+VAjqrNq+YIwIPrPc33elWUw+U1AUJqHiS7xUAgclkJd qGaa1vAec6axIjVfssKj3trOGY6t2NNKzCyeU8OQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99125: s390/pai: Handle multiple PMU stop callback invocations Date: Wed, 28 Oct 2026 11:35:12 +0100 Message-ID: <2026102857-CVE-2026-99125-3e27@gregkh> X-Mailer: git-send-email 2.56.0 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=2725; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=DlfTKW+8eMp2u7a7arvrUvIcFvYMWi+JKxTxBMIAUBw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkPz188co25a9LGg/oPBW4tm/T74rkFj3N3JxZne8r4y ax0vCOu2hHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATsWlkWLD48tM9Vu57/zJ1 SU6ec9VO5r3gpAUMC1ZlZOnNYHpi/fzt6o+i975x9dUJxAIA 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: s390/pai: Handle multiple PMU stop callback invocations Handle the following scenario: The kernel protects itself against a very high sampling load and throttles the sampling using: perf_event_throttle() --> PMU->stop() Shortly later the scheduler may terminate the task and removes it from the CPU. It again calls PMU->stop() which results in two invocations of PMU->stop() called back to back. Protect against this and check the PERF_HES_STOPPED bit on function entry. If it is already set return. Clear bit PERF_HES_STOPPED in PMU->start(). Prohibit ioctl(fd, PERF_EVENT_IOC_PERIOD, ...) call for this event. It sets perf_event::event_limit to a positive value and causes perf_event_overflow() to invoke pai_stop() call back function when perf_event::event_limit hits zero. This is not supported because the sample events CRYPTO_ALL and NNPA_ALL are only taken at schedule out of a task. Use list_for_each_entry_safe() for safe iteration over syswide_list in pai_have_samples(). The Linux kernel CVE team has assigned CVE-2026-99125 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit 9f66572f2889a5e72a9d7e17787e52f03b1f7bd8 and fixed in 7.2.13 with commit cf348ec613f75b9774291e47b804fd7010835a6c Issue introduced in 6.11 with commit 9f66572f2889a5e72a9d7e17787e52f03b1f7bd8 and fixed in 7.3 with commit f3110e969ad226ffbb2d9b4bf5387e68d0d9ef40 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-99125 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/s390/kernel/perf_pai.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/cf348ec613f75b9774291e47b804fd7010835a6c https://git.kernel.org/stable/c/f3110e969ad226ffbb2d9b4bf5387e68d0d9ef40