← Back to CVE Explorer

CVE-2026-89906

Full vulnerability record from the local CVENow database.

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.

Severity
HIGH
CVSS score
7.8 (v3.1)
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-16 11:16:59.590000
Last modified
2026-10-21 13:20:31.497000
View original CVE JSON
{
  "id": "CVE-2026-89906",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-16T11:16:59.590",
  "lastModified": "2026-10-21T13:20:31.497",
  "vulnStatus": "Received",
  "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->offset[insn + 1] - ctx->idx\".\n\nTo avoid a false 16-bit range check abort during size estimation, add\na \"ctx->image == NULL\" guard to inject a safe dummy offset."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "arch/loongarch/net/bpf_jit.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "17c010fe45def335fe03a0718935416b04c7f349",
              "lessThan": "50fbc294e4e96246d60cd66f98acf043a362e3a0",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "f83d469e16bb1f75991ca67c56786fb2aaa42bea",
              "lessThan": "89819868cde78cb2f748533785a46a3430873f20",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3",
              "lessThan": "882b8912b7e92341fdb115ba0e2e5142a28684ff",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3",
              "lessThan": "96f44d493c280ea161569c43d7ed0f3b0815803a",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3",
              "lessThan": "37d545d12f21c4d50612ecaebd7ae1e5bf91b2d8",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "1a782fa32e644aa9fbae6c8488f3e61221ac96e1",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "f2b5e50cc04d7a049b385bc1c93b9cbf5f10c94f",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "9262e3e04621558e875eb5afb5e726b648cd5949",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "6.6.103",
              "lessThan": "6.6.160",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "6.12.43",
              "lessThan": "6.12.114",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "6.1.149",
              "lessThan": "6.2",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "6.15.11",
              "lessThan": "6.16",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "6.16.2",
              "lessThan": "6.17",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "arch/loongarch/net/bpf_jit.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "6.17",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "6.17",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.160",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.114",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.51",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.5",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "baseScore": 7.8,
          "baseSeverity": "HIGH",
          "attackVector": "LOCAL",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 1.8,
        "impactScore": 5.9
      }
    ]
  },
  "references": [
    {
      "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",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}