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 83C574968EE for ; Fri, 25 Sep 2026 10:36:21 +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=1790332582; cv=none; b=tDk5+dn86K0BI5b66Y837u3bMIdvssW7SB7Pw95j3+38tYsBuX4zZwv/6PF7ElvYcPNsW+zt50wVl3KzJKPIj3OHKNbLPuW2KX/WQEN5PjmKMejAQNS6+gkhbjtUj/RWCScNGxYbLXklgA2dCOJYDrhVzoyxBC6vDfWHkNYCrXk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332582; c=relaxed/simple; bh=/VB4YuW/MAt9aouD6+oDOPHLq+BF/KKOR3iB3nTZ+I8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hzXacYduhP0GsKseRleM9hLMRC5+EnH0ZBiHm8cw7HSv/b+BlPvklEo9c5TLuB1YHMJvLoi+cXCAOBmXp1whaJYUqpv2h4cI7GYn0aITTTe2GUfq8ViuByBBw3wJTq60eXxZGeD8QmvJ7/Pm9CLF0Jru9q9t4/vG6wR2UHb8DpM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wQp8qXZI; 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="wQp8qXZI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D14211F000FF; Fri, 25 Sep 2026 10:36:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332581; bh=DneL1ewQ47nVtHMA+gsDGJmFyquPpAZgX3oOtZst/tM=; h=From:To:Cc:Subject:Date:Reply-To; b=wQp8qXZIf+VQ8arpiIRfZ94wBPVVooC5BtmV6+ZdfZCiQWQkLSQxu+6S1+1Zmx7Wy Bu6YU4TVXw5IXNu7Gv8/DYgvfRnsBN4kpHllP5bRaveZNJyej9lOpLnYjVy8f/dppE LZx/3Gc+qzcHOQ7+bZgW2rGF7k91YkuM0YxNgP2g= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98085: bpf: backtrack_insn(): Handle ld_{abs,ind} subprog exit edge Date: Fri, 25 Sep 2026 12:26:27 +0200 Message-ID: <2026092539-CVE-2026-98085-118a@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=2966; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=g1Shl8dsfaYYKjHXGolWk/DXQa1bsGHUg/6MsvGYEcU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvPPrmJ31mxNNVAN0L6jZL+3Y8+j2wU8MJb+KxTMtw gIMbF51xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwEQ2JTAsaNogsODEWZ669lNB WUGz7h3/3xTbyzA/68QsqT1zjm05dydMbf3tM8dO7Z76DwA= 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: bpf: backtrack_insn(): Handle ld_{abs,ind} subprog exit edge Nicholas Carlini reported a bug in precision backtracking mechanism for BPF_LD | BPF_{IND,ABS} instructions. These instructions are modelled as two branches: - fallthrough; - implicit exit from current subprogram. The implicit exit case was not handled by the backtrack_insn() function. When backtracking such a path backtrack_insn() did not call bt_subprog_enter(), which meant that backtracking continued manipulating precision marks in a caller frame, while looking at instructions in a callee frame. This lead to segmentation faults during verification (see the selftest), or unsound state pruning. The Linux kernel CVE team has assigned CVE-2026-98085 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit ee861486e377edc55361c08dcbceab3f6b6577bd and fixed in 7.2.7 with commit 671b7b9a660ef15b25faa3df161205b9dc8d1eb2 Issue introduced in 7.1 with commit ee861486e377edc55361c08dcbceab3f6b6577bd and fixed in 7.3-rc2 with commit 387b1baefbb776e3f48dc2261e77a49213f470f7 Issue introduced in 5.10.265 with commit 928d354ae3557e8f755a227e67be88034eb3cd7f Issue introduced in 5.15.216 with commit 8a800497d9f6c2ec9c2c1ba7b71d0ac2ea7f7bbe Issue introduced in 6.1.183 with commit de1055e7f9e67af32b1f3376066272b04e5223c0 Issue introduced in 6.6.148 with commit 37ad2bb11e9de92cb7b94548705eeedd87f7d392 Issue introduced in 6.12.101 with commit 8674e2db06cff6b50f2216eed9a761d15425bb34 Issue introduced in 6.18.42 with commit ce01a4e5cfac7adbe0be565f90cd32ecbb2f8337 Issue introduced in 7.0.10 with commit d846d83bdacbd8f14fc45c63b8c1d22608452e1c 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-98085 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/bpf/backtrack.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/671b7b9a660ef15b25faa3df161205b9dc8d1eb2 https://git.kernel.org/stable/c/387b1baefbb776e3f48dc2261e77a49213f470f7