Shellfeed logo Shellfeed

CVE-2026-98085 · UNKNOWN

Summary: bpf: backtrack_insn(): Handle ld_{abs,ind} subprog exit edge

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 10.0).

Details

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 packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [37ad2bb11e9de92cb7b94548705eeedd87f7d392 – 19cca7c36055906b3cff3e297618ee8a50cde25d] [8674e2db06cff6b50f2216eed9a761d15425bb34 – 12c064bcfa56e3631be9f5336ee113b7f849959a] [ce01a4e5cfac7adbe0be565f90cd32ecbb2f8337 – a0cd9e22f8faed30a8da8be357c51bd8b3074ee9] [ee861486e377edc55361c08dcbceab3f6b6577bd – 671b7b9a660ef15b25faa3df161205b9dc8d1eb2] [6.6.148 – 6.6.160] [6.12.101 – 6.12.114] [6.18.42 – 6.18.57] [5.10.265 – 5.11] [5.15.216 – 5.16] [6.1.183 – 6.2]
  • Linux Kernel [0 – 6.6.160] [6.7.0 – 6.12.114] [6.13.0 – 6.18.57] [6.19.0 – 7.2.7]

References