CVE-2026-89906 (GCVE-0-2026-89906)
Vulnerability from cvelistv5 – Published: 2026-09-16 10:32 – Updated: 2026-10-21 12:49
VLAI
EPSS
VEX
Title
LoongArch: BPF: Refactor jump offset calculation in tail call
Summary
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.
Severity
7.8 (High)
Assigner
References
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Linux | Linux |
Affected:
17c010fe45def335fe03a0718935416b04c7f349 , < 50fbc294e4e96246d60cd66f98acf043a362e3a0
(git)
Affected: f83d469e16bb1f75991ca67c56786fb2aaa42bea , < 89819868cde78cb2f748533785a46a3430873f20 (git) Affected: cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3 , < 882b8912b7e92341fdb115ba0e2e5142a28684ff (git) Affected: cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3 , < 96f44d493c280ea161569c43d7ed0f3b0815803a (git) Affected: cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3 , < 37d545d12f21c4d50612ecaebd7ae1e5bf91b2d8 (git) Affected: 1a782fa32e644aa9fbae6c8488f3e61221ac96e1 (git) Affected: f2b5e50cc04d7a049b385bc1c93b9cbf5f10c94f (git) Affected: 9262e3e04621558e875eb5afb5e726b648cd5949 (git) Affected: 6.6.103 , < 6.6.160 (semver) Affected: 6.12.43 , < 6.12.114 (semver) Affected: 6.1.149 , < 6.2 (semver) Affected: 6.15.11 , < 6.16 (semver) Affected: 6.16.2 , < 6.17 (semver) |
|
| Linux | Linux |
Affected:
6.17
Unaffected: 0 , < 6.17 (semver) Unaffected: 6.6.160 , ≤ 6.6.* (semver) Unaffected: 6.12.114 , ≤ 6.12.* (semver) Unaffected: 6.18.51 , ≤ 6.18.* (semver) Unaffected: 7.2.5 , ≤ 7.2.* (semver) Unaffected: 7.3 , ≤ * (original_commit_for_fix) |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"arch/loongarch/net/bpf_jit.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "50fbc294e4e96246d60cd66f98acf043a362e3a0",
"status": "affected",
"version": "17c010fe45def335fe03a0718935416b04c7f349",
"versionType": "git"
},
{
"lessThan": "89819868cde78cb2f748533785a46a3430873f20",
"status": "affected",
"version": "f83d469e16bb1f75991ca67c56786fb2aaa42bea",
"versionType": "git"
},
{
"lessThan": "882b8912b7e92341fdb115ba0e2e5142a28684ff",
"status": "affected",
"version": "cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3",
"versionType": "git"
},
{
"lessThan": "96f44d493c280ea161569c43d7ed0f3b0815803a",
"status": "affected",
"version": "cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3",
"versionType": "git"
},
{
"lessThan": "37d545d12f21c4d50612ecaebd7ae1e5bf91b2d8",
"status": "affected",
"version": "cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3",
"versionType": "git"
},
{
"status": "affected",
"version": "1a782fa32e644aa9fbae6c8488f3e61221ac96e1",
"versionType": "git"
},
{
"status": "affected",
"version": "f2b5e50cc04d7a049b385bc1c93b9cbf5f10c94f",
"versionType": "git"
},
{
"status": "affected",
"version": "9262e3e04621558e875eb5afb5e726b648cd5949",
"versionType": "git"
},
{
"lessThan": "6.6.160",
"status": "affected",
"version": "6.6.103",
"versionType": "semver"
},
{
"lessThan": "6.12.114",
"status": "affected",
"version": "6.12.43",
"versionType": "semver"
},
{
"lessThan": "6.2",
"status": "affected",
"version": "6.1.149",
"versionType": "semver"
},
{
"lessThan": "6.16",
"status": "affected",
"version": "6.15.11",
"versionType": "semver"
},
{
"lessThan": "6.17",
"status": "affected",
"version": "6.16.2",
"versionType": "semver"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"arch/loongarch/net/bpf_jit.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.17"
},
{
"lessThan": "6.17",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.114",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.51",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.2.*",
"status": "unaffected",
"version": "7.2.5",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.160",
"versionStartIncluding": "6.6.103",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.114",
"versionStartIncluding": "6.12.43",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.51",
"versionStartIncluding": "6.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2.5",
"versionStartIncluding": "6.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.3",
"versionStartIncluding": "6.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.1.149",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.15.11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.16.2",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: BPF: Refactor jump offset calculation in tail call\n\nThe old macro-based jmp_offset calculation derives the jump distance\nfrom a stale prior-pass code stride, which can lead to wrong branch\noffsets and soft lockups under extra JIT passes.\n\nFix this by calculating the offset directly on the absolute target:\n\"ctx-\u003eoffset[insn + 1] - ctx-\u003eidx\".\n\nTo avoid a false 16-bit range check abort during size estimation, add\na \"ctx-\u003eimage == NULL\" guard to inject a safe dummy offset."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 7.8,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - The bug is in the LoongArch eBPF JIT emit_bpf_tail_call() and is reached only by loading a program that uses bpf_tail_call via bpf(BPF_PROG_LOAD) on the local host. Kernel CNA guidance classifies BPF as a local attack vector.\nAC:L - The attacker fully controls the BPF bytecode, including bpf2bpf subprograms that force the extra JIT pass where the stale prior-pass stride is used. Wrong jmp_offset encodings are deterministic for a given program (the in-tree tailcall_bpf2bpf_1 case), with no race or layout outside attacker control.\nPR:L - BPF_MAP_TYPE_PROG_ARRAY is an unprivileged map type, bpf_tail_call_proto is returned before the CAP_BPF gate, and SOCKET_FILTER programs load without CAP_BPF where unprivileged BPF is enabled. Otherwise only CAP_BPF or a delegated BPF token in a user namespace is required, not init-namespace root.\nUI:N - The attacker loads the crafted program, attaches it to a socket they own or runs it with BPF_PROG_TEST_RUN, and triggers the miscompiled tail call themselves. No separate victim action is required.\nS:U - The wrong branches execute inside the host kernel\u0027s own JIT image and corrupt in-kernel control flow. That is standard kernel privilege-escalation impact, not a VM, IOMMU, or hypervisor boundary crossing.\nC:H - Miscomputed tail-call \"goto out\" branches can land inside the remaining sequence after the max_entries check, so an out-of-range index performs an OOB load of array-\u003eptrs[] and treats the result as a function pointer, disclosing kernel memory. Mid-image jumps likewise execute attacker-shaped JIT loads at kernel privilege.\nI:H - The same OOB ptrs[] load is followed by an indirect jump through prog-\u003ebpf_func, hijacking kernel control flow. Branches that skip the NULL or tail-call-count checks, or that land mid-instruction, likewise yield a kernel-mode write and control-flow primitive.\nA:H - The fix and the prior incomplete tail-call offset patch document watchdog soft lockups from wrong, including backward, branches looping in kernel context. Any such hang, oops, or panic is Availability High."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-21T12:49:06.262Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/50fbc294e4e96246d60cd66f98acf043a362e3a0"
},
{
"url": "https://git.kernel.org/stable/c/89819868cde78cb2f748533785a46a3430873f20"
},
{
"url": "https://git.kernel.org/stable/c/882b8912b7e92341fdb115ba0e2e5142a28684ff"
},
{
"url": "https://git.kernel.org/stable/c/96f44d493c280ea161569c43d7ed0f3b0815803a"
},
{
"url": "https://git.kernel.org/stable/c/37d545d12f21c4d50612ecaebd7ae1e5bf91b2d8"
}
],
"title": "LoongArch: BPF: Refactor jump offset calculation in tail call",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-89906",
"datePublished": "2026-09-16T10:32:05.157Z",
"dateReserved": "2026-09-11T19:38:34.774Z",
"dateUpdated": "2026-10-21T12:49:06.262Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-89906",
"date": "2026-11-16",
"epss": "0.00175",
"percentile": "0.07081"
},
"microsoft_vex": {
"current_release_date": "2026-10-24T14:44:24.000Z",
"cve": "CVE-2026-89906",
"id": "msrc_CVE-2026-89906",
"initial_release_date": "2026-09-17T01:09:41.000Z",
"product_status:fixed": "1",
"product_status:known_affected": "3",
"product_status:under_investigation": "1",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "LoongArch: BPF: Refactor jump offset calculation in tail call",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-89906.json",
"version": "6"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"arch/loongarch/net/bpf_jit.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "50fbc294e4e96246d60cd66f98acf043a362e3a0",
"status": "affected",
"version": "17c010fe45def335fe03a0718935416b04c7f349",
"versionType": "git"
},
{
"lessThan": "89819868cde78cb2f748533785a46a3430873f20",
"status": "affected",
"version": "f83d469e16bb1f75991ca67c56786fb2aaa42bea",
"versionType": "git"
},
{
"lessThan": "882b8912b7e92341fdb115ba0e2e5142a28684ff",
"status": "affected",
"version": "cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3",
"versionType": "git"
},
{
"lessThan": "96f44d493c280ea161569c43d7ed0f3b0815803a",
"status": "affected",
"version": "cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3",
"versionType": "git"
},
{
"lessThan": "37d545d12f21c4d50612ecaebd7ae1e5bf91b2d8",
"status": "affected",
"version": "cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3",
"versionType": "git"
},
{
"status": "affected",
"version": "1a782fa32e644aa9fbae6c8488f3e61221ac96e1",
"versionType": "git"
},
{
"status": "affected",
"version": "f2b5e50cc04d7a049b385bc1c93b9cbf5f10c94f",
"versionType": "git"
},
{
"status": "affected",
"version": "9262e3e04621558e875eb5afb5e726b648cd5949",
"versionType": "git"
},
{
"lessThan": "6.6.160",
"status": "affected",
"version": "6.6.103",
"versionType": "semver"
},
{
"lessThan": "6.12.114",
"status": "affected",
"version": "6.12.43",
"versionType": "semver"
},
{
"lessThan": "6.2",
"status": "affected",
"version": "6.1.149",
"versionType": "semver"
},
{
"lessThan": "6.16",
"status": "affected",
"version": "6.15.11",
"versionType": "semver"
},
{
"lessThan": "6.17",
"status": "affected",
"version": "6.16.2",
"versionType": "semver"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"arch/loongarch/net/bpf_jit.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.17"
},
{
"lessThan": "6.17",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.114",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.51",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.2.*",
"status": "unaffected",
"version": "7.2.5",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: BPF: Refactor jump offset calculation in tail call\n\nThe old macro-based jmp_offset calculation derives the jump distance\nfrom a stale prior-pass code stride, which can lead to wrong branch\noffsets and soft lockups under extra JIT passes.\n\nFix this by calculating the offset directly on the absolute target:\n\"ctx-\u003eoffset[insn + 1] - ctx-\u003eidx\".\n\nTo avoid a false 16-bit range check abort during size estimation, add\na \"ctx-\u003eimage == NULL\" guard to inject a safe dummy offset."
}
],
"id": "CVE-2026-89906",
"lastModified": "2026-10-21T13:20:31.497",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 1.8,
"impactScore": 5.9,
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"type": "Secondary"
}
]
},
"published": "2026-09-16T11:16:59.590",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/37d545d12f21c4d50612ecaebd7ae1e5bf91b2d8"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/50fbc294e4e96246d60cd66f98acf043a362e3a0"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/882b8912b7e92341fdb115ba0e2e5142a28684ff"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/89819868cde78cb2f748533785a46a3430873f20"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/96f44d493c280ea161569c43d7ed0f3b0815803a"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
},
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-11-07T11:26:53+00:00",
"cve": "CVE-2026-89906",
"id": "CVE-2026-89906",
"initial_release_date": "2026-09-16T00:00:00+00:00",
"product_status:known_not_affected": "203",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: LoongArch: BPF: Refactor jump offset calculation in tail call",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89906.json",
"version": "3"
},
"suse_vex": {
"aggregate_severity": "moderate",
"current_release_date": "2026-10-10T00:58:06Z",
"cve": "CVE-2026-89906",
"id": "CVE-2026-89906",
"initial_release_date": "2026-09-19T01:43:10Z",
"product_status:known_affected": "12",
"product_status:known_not_affected": "335",
"product_status:recommended": "4",
"source": "SUSE CSAF VEX",
"status": "interim",
"title": "SUSE CVE CVE-2026-89906",
"url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-89906.json",
"version": "3"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…