CVE-2026-98085
N/A
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | ee861486e377edc55361c08dcbceab3f6b6577bd < 671b7b9a660ef15b25faa3df161205b9dc8d1eb2 | affected |
| Linux | Linux | ee861486e377edc55361c08dcbceab3f6b6577bd < 387b1baefbb776e3f48dc2261e77a49213f470f7 | affected |
| Linux | Linux | 928d354ae3557e8f755a227e67be88034eb3cd7f | affected |
| Linux | Linux | 8a800497d9f6c2ec9c2c1ba7b71d0ac2ea7f7bbe | affected |
| Linux | Linux | de1055e7f9e67af32b1f3376066272b04e5223c0 | affected |
| Linux | Linux | 37ad2bb11e9de92cb7b94548705eeedd87f7d392 | affected |
| Linux | Linux | 8674e2db06cff6b50f2216eed9a761d15425bb34 | affected |
| Linux | Linux | ce01a4e5cfac7adbe0be565f90cd32ecbb2f8337 | affected |
| Linux | Linux | d846d83bdacbd8f14fc45c63b8c1d22608452e1c | affected |
| Linux | Linux | 5.10.265 < 5.11 | affected |
| Linux | Linux | 5.15.216 < 5.16 | affected |
| Linux | Linux | 6.1.183 < 6.2 | affected |
| Linux | Linux | 6.6.148 < 6.7 | affected |
| Linux | Linux | 6.12.101 < 6.13 | affected |
| Linux | Linux | 6.18.42 < 6.19 | affected |
| Linux | Linux | 7.0.10 < 7.1 | affected |
| Linux | Linux | 7.1 | affected |
| Linux | Linux | 0 < 7.1 | unaffected |
| Linux | Linux | 7.2.7 <= 7.2.* | unaffected |
| Linux | Linux | 7.3-rc2 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/671b7b9a660ef15b25faa3df161205b9dc8d1eb2
- https://git.kernel.org/stable/c/387b1baefbb776e3f48dc2261e77a49213f470f7
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.