CVE-2026-98085
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.16% (higher than 3% of CVEs)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 37ad2bb11e9de92cb7b94548705eeedd87f7d392 before 19cca7c36055906b3cff3e297618ee8a50cde25d, from 8674e2db06cff6b50f2216eed9a761d15425bb34 before 12c064bcfa56e3631be9f5336ee113b7f849959a, from ce01a4e5cfac7adbe0be565f90cd32ecbb2f8337 before a0cd9e22f8faed30a8da8be357c51bd8b3074ee9, from ee861486e377edc55361c08dcbceab3f6b6577bd before 671b7b9a660ef15b25faa3df161205b9dc8d1eb2, from ee861486e377edc55361c08dcbceab3f6b6577bd before 387b1baefbb776e3f48dc2261e77a49213f470f7, 928d354ae3557e8f755a227e67be88034eb3cd7f, 8a800497d9f6c2ec9c2c1ba7b71d0ac2ea7f7bbe, de1055e7f9e67af32b1f3376066272b04e5223c0 and 9 more
Not affected: before 7.1, from 6.6.160 up to 6.6.*, from 6.12.114 up to 6.12.*, from 6.18.57 up to 6.18.*, from 7.2.7 up to 7.2.*, from 7.3 up to *
CVE List
linux linux_kernelfrom 5.10.265 before 5.11, from 5.15.216 before 5.16, from 6.1.183 before 6.2, from 6.6.148 before 6.6.160, from 6.12.101 before 6.12.114, from 6.18.42 before 6.18.57, from 7.0.10 before 7.2.7, 7.3NVD

References

Sources

SourceRecordLicence
CVE ListCVE-2026-98085 changed 2026-10-21CVE Terms of Use
NVDCVE-2026-98085 changed 2026-11-17Public domain