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=1792758277; b=pKBS7yAaNfzkh6dqi0kBEi0pgX+H/ux0IClEihFZ+EdWRbJK0srLLvBDLZSpibNT5PMi atxdHqqrVXEPtfMXY+Oilw6qKRhsG4j+APLPyCdQs73PVeaFUA0TfQyCfIC/mvVEUSNuV BwNBW1T2o8hoL9in7hfczD8DuzvKEBWSFB2ubhBDeXr2OSMVPxAyyfzT6DRbSk65JRES7 EIN+jTeC1Vw/bLRBd/v67DRIQwaMUoWP+gPnlMyvW9YjwnKvrcijcqYq5RHFAAHA0WHcQ 1vll7JMcCZvZuqdS+anIhaR+wySYyon1VgQbY94wpTAk3/nZdVQ52c8sdzE/84q54oA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792758277; 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=XbDyAx2oJF68tGT6h7EjJkrdOu9qjLLjssOxfrguzNk=; b=WE19a8aqBe/Vm3gmg77azdLcAyBW+aMrDnKdg5GDoX/0sYg6xk4b6CgliIVWGFfB4A42 iSFeFUgdcpwdEmbcsirxdGvnd2T2dv9+Iz3TEOlxjjccqQYlSq0jBiO0+VRXD7uD47u7y f7fuo3bybMBa2H7LIZIDY2EluS8pTbZ8nK3ILQ7rr0C8fyoCEaL6mgD+neiH95212FyKE C630gH1grLcJ9YWK1+3LA9iPmhXc2TkqzGcngX0+KRAr19UM257Zu2cV+83FCr4rAB+hM 9ZzYEjJa6j7mpNhZXgLrPoDIBj/0Rjf4+fx3Y+/wcNWv/3L9DJUdvnAbk1m9aP53Xdw== 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=vRWfVy7S; 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 33046606A31A for ; Fri, 23 Oct 2026 12:24:36 +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=vRWfVy7S Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F11C1F01825; Fri, 23 Oct 2026 12:24:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792758276; bh=XbDyAx2oJF68tGT6h7EjJkrdOu9qjLLjssOxfrguzNk=; h=From:To:Cc:Subject:Date:Reply-To; b=vRWfVy7S59yP+y0gq+JCPhtVa3jQ41Fi1bKOBJYwNY9hFxGjJNk13kzcvDmPBpCsY Ijnp3yU/yNMt9Q2EHP3pLE9KoSrZQBYOrDR5TkfxwyAatGKZ9ytBAv5XgEfpDDdSya FLssqgmEi2ixZSYXiDFxxXG5uz13SaPKUM0zVNnA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98937: perf/core: Check kernel access when kernel callchains are requested Date: Fri, 23 Oct 2026 14:11:44 +0200 Message-ID: <2026102338-CVE-2026-98937-7e1d@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=2477; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pWNXzbzucs3q3DEbPwYJr1IBHH+BNZLxigvkIfCClGk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3/X61aeyq8nv9xojnoLjlobUcfnbhG9Ljp7JIqyUJ6 WVvW/O2I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZiF8kwP82Yc65KindgoU6l Xez/J5UZf6+HMsx35UrTLpj/QtN+qg9DipnMlLTtzGwA 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: perf/core: Check kernel access when kernel callchains are requested perf_event_open() currently gates perf_allow_kernel() only on !attr.exclude_kernel. However, users can still request kernel callchain collection with attr.exclude_callchain_kernel == 0 even when attr.exclude_kernel == 1. That still requires kernel profiling privilege, but the existing check does not enforce it. Update the permission check to call perf_allow_kernel() when either kernel sampling is requested or kernel callchains are requested. This keeps permission checks aligned with requested data and prevents unprivileged use of kernel callchain capture. The Linux kernel CVE team has assigned CVE-2026-98937 to this issue. Affected and fixed versions =========================== Fixed in 6.12.113 with commit 132bee76097be421ab3012130b5b506324cf2be1 Fixed in 6.18.56 with commit 2581b43e162cfc43e6f5d8dd8d2b38f3441550de Fixed in 7.2.10 with commit 6e187281f978a2bff98ead6aa40f8ddc9a2c9afb Fixed in 7.3 with commit a4573a3838ae4fc73b70019cfa1dac9aaea7cc2f 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-98937 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/events/core.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/132bee76097be421ab3012130b5b506324cf2be1 https://git.kernel.org/stable/c/2581b43e162cfc43e6f5d8dd8d2b38f3441550de https://git.kernel.org/stable/c/6e187281f978a2bff98ead6aa40f8ddc9a2c9afb https://git.kernel.org/stable/c/a4573a3838ae4fc73b70019cfa1dac9aaea7cc2f