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=1793635471; b=FcuImW2fDiDCK5ZtaUfJc4rLjsXUlxA4gUondQwz8CBlRrKAiTB0sic+XTiu3VYjUOwL R7/fPBp7Cygqv/TgDv26539bZm1xNB6XFqJlT7Wh+DNrGjRPGL62dnUyqVryZ6fy8c14/ HtMueQj3pxTiwOkHaaSJJvHxfTjnEOIjuPtFwr+DtpQKFV5XysaRKp9cDghaSM/G5LbL2 zonAhHYRvlxbdXRREELoltHQvsn986NpXwuJvwd+yQCU/m/lz85yXusIJQOJZLvAzkTEZ 3PxQjdXZODDL5EhoXgx5MoZbGNY9yoTIZIMSvc95805g1EubDVg/hMURWa3M/W51znA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793635471; 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=u1jxrdNpO8ub88OcWqyK8YrCDlX6ytSW+/vrjjkQH4c=; b=aJRpokPY/MMX/W19xvleDa/iWJ+zsWfnGMg0V/Y5lqXqCPbQrg1lPOXo2hZVqlD/BZyK 24h3U395kFqtq9LNpLQbzEU5PujeAvydASGEjC8OtXovsIxnJPwKzpz67zivMrNxPRI4b kVFp6S5pJfNH7RV2O08W1w1RpP5GX+dLRTajsf/E5H+eTqxLufHxQw8J21a2G25ybf68Y LHU9lqnF9IH6PoNUISlHIv02laE0UW7c37wrPMrFQVxlwXw5CfatLlQFE6/16V4yhEuzx fTcapFHsCDdC+yZSHe813c91xhZpkKm8f+BqvX6cJLXDmZSIBaUKo1MyPF5WqeU/E4Q== 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=xooNh6ew; 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 00343607038B for ; Mon, 2 Nov 2026 16:04:30 +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=xooNh6ew Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E4291F00A18; Mon, 2 Nov 2026 16:04:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793635470; bh=u1jxrdNpO8ub88OcWqyK8YrCDlX6ytSW+/vrjjkQH4c=; h=From:To:Cc:Subject:Date:Reply-To; b=xooNh6ewfSmLR2Gsbk592xR9o770R0345YqQg+ArmjQ48cACAzqHssOTJDwoN5cjr mjxvxVCKYtAmCAhK5RGLPMDeYvOLD63t0M+tj77V95oSmWUTEO+V5c20cJurt+120J +BoMJ5YbhO6CBEgNP+GGE+I4mOJUc44GKQrVV59Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99236: tracing: Reject incomplete event filter expressions Date: Mon, 2 Nov 2026 17:04:19 +0100 Message-ID: <2026110206-CVE-2026-99236-3685@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=4457; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=o/ZS8D7EOhj/FW1bY5v7BXmB7HmphcMKNYw74XEa0rY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkvtpR5NYQ++K4yMWuFxLlPW+vXvmDY8y7lj4/59wbDD YL1T3bc64hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJuOsyLJi5bVvRC+uafRUT Hm1Y5dArtuXC4k6G+WEivVoOH9p3WpVxTa/70NN13nHvIgA= 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: tracing: Reject incomplete event filter expressions A non-empty expression normally finishes in predicate_parse()'s inner loop, which resolves the pending logical operators before jumping to finalization. If the input ends after an operator, possibly followed by unary '!' tokens, the outer loop instead falls through with unresolved operator state. For example, "common_pid == 1 || common_pid == 2 &&" leaves prog[0].target equal to -1. The second pass then reads prog[-1] before the forward-jump check can reject it. Depending on adjacent slab contents, it can also copy an out-of-bounds word into a branch target that passes the forward-only check. A self-targeted perf tracepoint counting event can reach this path through PERF_EVENT_IOC_SET_FILTER. Reject the outer-loop fallthrough when a predicate has already been parsed. This ensures that non-empty expressions only reach finalization after the inner loop has resolved their operators. Keep the existing no-filter error for input that has no predicates. Add a regression test for trailing logical operators and unary negations. The Linux kernel CVE team has assigned CVE-2026-99236 to this issue. Severity ======== CVSS v3.1: 7.8 HIGH Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Affected and fixed versions =========================== Issue introduced in 4.17 with commit 80765597bc587feae8dbc8ce97a0f32e12a6e625 and fixed in 5.10.273 with commit 4a1a6d35359991c5d47f4bf101cfbe1475c94093 Issue introduced in 4.17 with commit 80765597bc587feae8dbc8ce97a0f32e12a6e625 and fixed in 5.15.224 with commit 2a98f5d4913ec081e08e1075512cb7ec313d9f72 Issue introduced in 4.17 with commit 80765597bc587feae8dbc8ce97a0f32e12a6e625 and fixed in 6.1.191 with commit 15ff3cc7f2beecc3f95d66358f20ad7b057466aa Issue introduced in 4.17 with commit 80765597bc587feae8dbc8ce97a0f32e12a6e625 and fixed in 6.6.161 with commit b205ff58e02922ac324f931cf9eb238a3acdb048 Issue introduced in 4.17 with commit 80765597bc587feae8dbc8ce97a0f32e12a6e625 and fixed in 6.12.115 with commit 5a999b5a16530898f0dbe5f8c50fd45ea72e110b Issue introduced in 4.17 with commit 80765597bc587feae8dbc8ce97a0f32e12a6e625 and fixed in 6.18.60 with commit 1008e9e0b8280d47f1ab5e9c113f666a023a9697 Issue introduced in 4.17 with commit 80765597bc587feae8dbc8ce97a0f32e12a6e625 and fixed in 7.2.14 with commit 64993d970dde2a2da353e9e99595a4fa88ec27d9 Issue introduced in 4.17 with commit 80765597bc587feae8dbc8ce97a0f32e12a6e625 and fixed in 7.3.1 with commit 5bcdf3c18c3471122ee9652b0e2f5cdb718d9a46 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-99236 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/trace/trace_events_filter.c tools/testing/selftests/ftrace/test.d/filter/event-filter-incomplete.tc 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/4a1a6d35359991c5d47f4bf101cfbe1475c94093 https://git.kernel.org/stable/c/2a98f5d4913ec081e08e1075512cb7ec313d9f72 https://git.kernel.org/stable/c/15ff3cc7f2beecc3f95d66358f20ad7b057466aa https://git.kernel.org/stable/c/b205ff58e02922ac324f931cf9eb238a3acdb048 https://git.kernel.org/stable/c/5a999b5a16530898f0dbe5f8c50fd45ea72e110b https://git.kernel.org/stable/c/1008e9e0b8280d47f1ab5e9c113f666a023a9697 https://git.kernel.org/stable/c/64993d970dde2a2da353e9e99595a4fa88ec27d9 https://git.kernel.org/stable/c/5bcdf3c18c3471122ee9652b0e2f5cdb718d9a46 https://git.kernel.org/stable/c/1fdc4164e488916402badddbb1f51e9380dabb91