CVEvulnerability
CVE-2026-89906
7.8 HIGH
Official page ↗
- Status
- Received
- Published
- 2026-09-16
- Last modified
- 2026-10-21
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
References
- https://git.kernel.org/stable/c/37d545d12f21c4d50612ecaebd7ae1e5bf91b2d8 git.kernel.org
- https://git.kernel.org/stable/c/50fbc294e4e96246d60cd66f98acf043a362e3a0 git.kernel.org
- https://git.kernel.org/stable/c/882b8912b7e92341fdb115ba0e2e5142a28684ff git.kernel.org
- https://git.kernel.org/stable/c/89819868cde78cb2f748533785a46a3430873f20 git.kernel.org
- https://git.kernel.org/stable/c/96f44d493c280ea161569c43d7ed0f3b0815803a git.kernel.org