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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-09-16T10:32:05.157Z
- **Modified:** 2026-10-21T13:20:31.497Z

## Who should check

- Anyone running Linux \>= 17c010fe45def335fe03a0718935416b04c7f349, \< 50fbc294e4e96246d60cd66f98acf043a362e3a0; \>= f83d469e16bb1f75991ca67c56786fb2aaa42bea, \< 89819868cde78cb2f748533785a46a3430873f20; \>= cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3, \< 882b8912b7e92341fdb115ba0e2e5142a28684ff; \>= cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3, \< 96f44d493c280ea161569c43d7ed0f3b0815803a; \>= cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3, \< 37d545d12f21c4d50612ecaebd7ae1e5bf91b2d8; 1a782fa32e644aa9fbae6c8488f3e61221ac96e1; f2b5e50cc04d7a049b385bc1c93b9cbf5f10c94f; 9262e3e04621558e875eb5afb5e726b648cd5949; \>= 6.6.103, \< 6.6.160; \>= 6.12.43, \< 6.12.114; …
- Anyone running Linux 6.17

## 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 and fixed versions

- Linux: \>= 17c010fe45def335fe03a0718935416b04c7f349, \< 50fbc294e4e96246d60cd66f98acf043a362e3a0; \>= f83d469e16bb1f75991ca67c56786fb2aaa42bea, \< 89819868cde78cb2f748533785a46a3430873f20; \>= cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3, \< 882b8912b7e92341fdb115ba0e2e5142a28684ff; \>= cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3, \< 96f44d493c280ea161569c43d7ed0f3b0815803a; \>= cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3, \< 37d545d12f21c4d50612ecaebd7ae1e5bf91b2d8; 1a782fa32e644aa9fbae6c8488f3e61221ac96e1; f2b5e50cc04d7a049b385bc1c93b9cbf5f10c94f; 9262e3e04621558e875eb5afb5e726b648cd5949; \>= 6.6.103, \< 6.6.160; \>= 6.12.43, \< 6.12.114; … (cvelist)
- Linux: 6.17 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89906. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89906.md
Affected: Linux >= 17c010fe45def335fe03a0718935416b04c7f349, < 50fbc294e4e96246d60cd66f98acf043a362e3a0; >= f83d469e16bb1f75991ca67c56786fb2aaa42bea, < 89819868cde78cb2f748533785a46a3430873f20; >= cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3, < 882b8912b7e92341fdb115ba0e2e5142a28684ff; >= cd39d9e6b7e4c58fa77783e…
Fixed in: Linux 50fbc294e4e96246d60cd66f98acf043a362e3a0, Linux 89819868cde78cb2f748533785a46a3430873f20, Linux 882b8912b7e92341fdb115ba0e2e5142a28684ff, Linux 96f44d493c280ea161569c43d7ed0f3b0815803a, Linux 37d545d12f21c4d50612ecaebd7ae1e5bf91b2d8, Linux 6.6.160, Linux 6.12.114

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89906 being exploited?

There is no confirmed exploitation: CVE-2026-89906 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89906?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-89906?

Linux \>= 17c010fe45def335fe03a0718935416b04c7f349, \< 50fbc294e4e96246d60cd66f98acf043a362e3a0; \>= f83d469e16bb1f75991ca67c56786fb2aaa42bea, \< 89819868cde78cb2f748533785a46a3430873f20; \>= cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3, \< 882b8912b7e92341fdb115ba0e2e5142a28684ff; \>= cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3, \< 96f44d493c280ea161569c43d7ed0f3b0815803a; \>= cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3, \< 37d545d12f21c4d50612ecaebd7ae1e5bf91b2d8; 1a782fa32e644aa9fbae6c8488f3e61221ac96e1; f2b5e50cc04d7a049b385bc1c93b9cbf5f10c94f; 9262e3e04621558e875eb5afb5e726b648cd5949; \>= 6.6.103, \< 6.6.160; \>= 6.12.43, \< 6.12.114; …; Linux 6.17.

### Is there a fix for CVE-2026-89906?

Yes. Fixed in Linux 50fbc294e4e96246d60cd66f98acf043a362e3a0, Linux 89819868cde78cb2f748533785a46a3430873f20, Linux 882b8912b7e92341fdb115ba0e2e5142a28684ff, Linux 96f44d493c280ea161569c43d7ed0f3b0815803a, Linux 37d545d12f21c4d50612ecaebd7ae1e5bf91b2d8, Linux 6.6.160, Linux 6.12.114. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-89906?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/50fbc294e4e96246d60cd66f98acf043a362e3a0>
- other: <https://git.kernel.org/stable/c/89819868cde78cb2f748533785a46a3430873f20>
- other: <https://git.kernel.org/stable/c/882b8912b7e92341fdb115ba0e2e5142a28684ff>
- other: <https://git.kernel.org/stable/c/96f44d493c280ea161569c43d7ed0f3b0815803a>
- other: <https://git.kernel.org/stable/c/37d545d12f21c4d50612ecaebd7ae1e5bf91b2d8>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89906>

HTML: <https://flawdb.com/CVE-2026-89906> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89906>
