CVE-2026-68295 (GCVE-0-2026-68295)

Vulnerability from cvelistv5 – Published: 2026-08-10 12:02 – Updated: 2026-08-17 05:02
VLAI
Title
LoongArch: BPF: Zero-extend signed ALU32 div/mod results
Summary
In the Linux kernel, the following vulnerability has been resolved: LoongArch: BPF: Zero-extend signed ALU32 div/mod results ALU32 operations write a 32-bit result and leave the upper 32 bits of the BPF register zero. The LoongArch JIT sign-extends the result of signed ALU32 BPF_DIV and BPF_MOD (off=1), so a negative 32-bit quotient or remainder leaves bits 63:32 set in JITted code while the verifier and interpreter model those bits as zero. Keep sign-extension on the operands, which signed divide needs, and zero-extend the ALU32 result after the divide or modulo instruction, matching the unsigned ALU32 div/mod paths and every other ALU32 operation in this JIT.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 2425c9e002d2a1fdca34261b2fa6713eafef2163 , < 716cb29dbed4d62e9e108950a1a82bcba4cc2d45 (git)
Affected: 2425c9e002d2a1fdca34261b2fa6713eafef2163 , < dacd348b8a993373576fe2ee2d8b114740ba57a6 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.7
Unaffected: 0 , < 6.7 (semver)
Unaffected: 7.1.6 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "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": "716cb29dbed4d62e9e108950a1a82bcba4cc2d45",
              "status": "affected",
              "version": "2425c9e002d2a1fdca34261b2fa6713eafef2163",
              "versionType": "git"
            },
            {
              "lessThan": "dacd348b8a993373576fe2ee2d8b114740ba57a6",
              "status": "affected",
              "version": "2425c9e002d2a1fdca34261b2fa6713eafef2163",
              "versionType": "git"
            }
          ]
        },
        {
          "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.7"
            },
            {
              "lessThan": "6.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.6",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "6.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: BPF: Zero-extend signed ALU32 div/mod results\n\nALU32 operations write a 32-bit result and leave the upper 32 bits of\nthe BPF register zero. The LoongArch JIT sign-extends the result of\nsigned ALU32 BPF_DIV and BPF_MOD (off=1), so a negative 32-bit quotient\nor remainder leaves bits 63:32 set in JITted code while the verifier\nand interpreter model those bits as zero.\n\nKeep sign-extension on the operands, which signed divide needs, and\nzero-extend the ALU32 result after the divide or modulo instruction,\nmatching the unsigned ALU32 div/mod paths and every other ALU32\noperation in this JIT."
        }
      ],
      "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 flaw is in the LoongArch eBPF JIT and is reached by loading a BPF program via the bpf(BPF_PROG_LOAD) syscall, which requires local access to the system. No network-facing path emits JITted signed ALU32 div/mod on behalf of a remote peer.\nAC:L - The attacker fully controls the BPF instruction sequence and the divisor/dividend, so producing a negative signed ALU32 quotient or remainder is deterministic and repeatable with no race, timing, or memory-layout dependency.\nPR:L - Loading an eBPF program requires only an unprivileged local user where unprivileged BPF is permitted, or CAP_BPF/CAP_SYS_ADMIN which is reachable via user namespaces on many deployments; no real root in the init namespace is needed.\nUI:N - The attacker loads and runs its own BPF program; no action by any other user or administrator is required at any point.\nS:U - The verifier bypass and resulting memory corruption stay within the kernel\u0027s own security authority on the same host, giving kernel-level privilege escalation rather than crossing a VM, IOMMU, or hypervisor boundary.\nC:H - The verifier models bits 63:32 of the ALU32 result as zero while the JIT leaves them set, so a later ALU64 shift lets the verifier conclude a register is constant zero when it is really 0xFFFFFFFF; using it as a pointer offset yields an attacker-controlled out-of-bounds read of arbitrary kernel memory.\nI:H - The same verifier/JIT range mismatch produces an out-of-bounds pointer that passes verification for stores as well as loads, giving an arbitrary kernel write primitive usable for control-flow hijacking and full privilege escalation.\nA:H - Out-of-bounds accesses through the mis-tracked register readily fault on unmapped or protected kernel addresses, causing an oops or panic, and the corruption can be repeated at will to bring the system down."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:02:31.315Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/716cb29dbed4d62e9e108950a1a82bcba4cc2d45"
        },
        {
          "url": "https://git.kernel.org/stable/c/dacd348b8a993373576fe2ee2d8b114740ba57a6"
        }
      ],
      "title": "LoongArch: BPF: Zero-extend signed ALU32 div/mod results",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-68295",
    "datePublished": "2026-08-10T12:02:28.412Z",
    "dateReserved": "2026-07-30T09:28:09.380Z",
    "dateUpdated": "2026-08-17T05:02:31.315Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-68295",
      "date": "2026-08-20",
      "epss": "0.00154",
      "percentile": "0.05079"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-68295\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-10T13:20:18.940\",\"lastModified\":\"2026-08-17T05:18:32.220\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nLoongArch: BPF: Zero-extend signed ALU32 div/mod results\\n\\nALU32 operations write a 32-bit result and leave the upper 32 bits of\\nthe BPF register zero. The LoongArch JIT sign-extends the result of\\nsigned ALU32 BPF_DIV and BPF_MOD (off=1), so a negative 32-bit quotient\\nor remainder leaves bits 63:32 set in JITted code while the verifier\\nand interpreter model those bits as zero.\\n\\nKeep sign-extension on the operands, which signed divide needs, and\\nzero-extend the ALU32 result after the divide or modulo instruction,\\nmatching the unsigned ALU32 div/mod paths and every other ALU32\\noperation in this JIT.\"}],\"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\":\"2425c9e002d2a1fdca34261b2fa6713eafef2163\",\"lessThan\":\"716cb29dbed4d62e9e108950a1a82bcba4cc2d45\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"2425c9e002d2a1fdca34261b2fa6713eafef2163\",\"lessThan\":\"dacd348b8a993373576fe2ee2d8b114740ba57a6\",\"versionType\":\"git\",\"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.7\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.7\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.6\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"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/716cb29dbed4d62e9e108950a1a82bcba4cc2d45\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/dacd348b8a993373576fe2ee2d8b114740ba57a6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-13T23:15:16+00:00",
      "cve": "CVE-2026-68295",
      "id": "CVE-2026-68295",
      "initial_release_date": "2026-08-10T00:00:00+00:00",
      "product_status:known_affected": "1",
      "product_status:known_not_affected": "275",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: LoongArch: BPF: Zero-extend signed ALU32 div/mod results",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-68295.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-14T23:45:02Z",
      "cve": "CVE-2026-68295",
      "id": "CVE-2026-68295",
      "initial_release_date": "2026-08-14T17:14:33Z",
      "product_status:known_affected": "29",
      "product_status:known_not_affected": "267",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-68295",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-68295.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…