CVE-2026-98085
bpf: backtrack_insn(): Handle ld_{abs,ind} subprog exit edge
- State
- Published
- Severity
- Not scored
- Published
- Sep 25, 2026
- Updated
- Oct 21, 2026
- Reserved
- Sep 25, 2026
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
- https://git.kernel.org/stable/c/19cca7c36055906b3cff3e297618ee8a50cde25d
- https://git.kernel.org/stable/c/12c064bcfa56e3631be9f5336ee113b7f849959a
- https://git.kernel.org/stable/c/a0cd9e22f8faed30a8da8be357c51bd8b3074ee9
- https://git.kernel.org/stable/c/671b7b9a660ef15b25faa3df161205b9dc8d1eb2
- https://git.kernel.org/stable/c/387b1baefbb776e3f48dc2261e77a49213f470f7
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.