CVE-2026-89906
LoongArch: BPF: Refactor jump offset calculation in tail call
- State
- Published
- Severity
- 7.8 High
- Published
- Sep 16, 2026
- Updated
- Oct 21, 2026
- Reserved
- Sep 11, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
- https://git.kernel.org/stable/c/50fbc294e4e96246d60cd66f98acf043a362e3a0
- https://git.kernel.org/stable/c/89819868cde78cb2f748533785a46a3430873f20
- https://git.kernel.org/stable/c/882b8912b7e92341fdb115ba0e2e5142a28684ff
- https://git.kernel.org/stable/c/96f44d493c280ea161569c43d7ed0f3b0815803a
- https://git.kernel.org/stable/c/37d545d12f21c4d50612ecaebd7ae1e5bf91b2d8
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.