{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "2425c9e002d2a1fdca34261b2fa6713eafef2163"
            },
            {
              "fixed": "716cb29dbed4d62e9e108950a1a82bcba4cc2d45"
            },
            {
              "fixed": "dacd348b8a993373576fe2ee2d8b114740ba57a6"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "7.1.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68295.json"
  },
  "details": "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.",
  "id": "CVE-2026-68295",
  "modified": "2026-08-12T03:51:13.857476912Z",
  "published": "2026-08-10T12:02:28.412Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/716cb29dbed4d62e9e108950a1a82bcba4cc2d45"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/dacd348b8a993373576fe2ee2d8b114740ba57a6"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68295.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-68295"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "LoongArch: BPF: Zero-extend signed ALU32 div/mod results"
}