What’s Vulnerable › Vulnerabilities

CVE-2026-89906: LoongArch: BPF: Refactor jump offset calculation in tail call

Description

In the Linux kernel, the following vulnerability has been resolved: LoongArch: BPF: Refactor jump offset calculation in tail call The old macro-based jmp_offset calculation derives the jump distance from a stale prior-pass code stride, which can lead to wrong branch offsets and soft lockups under extra JIT passes. Fix this by calculating the offset directly on the absolute target: "ctx->offset[insn + 1] - ctx->idx". To avoid a false 16-bit range check abort during size estimation, add a "ctx->image == NULL" guard to inject a safe dummy offset.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.114, 6.16, 6.17, 6.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-89906 or the next vulnerability affects your stack