一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年9月16日

CVE-2026-89906 – In the Linux kernel, the following vulnerability has been resolved: LoongArch: BPF: Refac

未分类
📑 文章目录

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.