{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "4f3446bb809f20ad56cadf712e6006815ae7a8f9"
            },
            {
              "fixed": "443328237113ee0ea515e506497334d871dbc2aa"
            },
            {
              "fixed": "ad139384ecddb6f3e7e3c3c12765aafae0e39670"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.7.0"
            },
            {
              "fixed": "7.2.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98816.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix overflow of jump offset in constant blinding\n\nbpf_jit_blind_insn() rewrites 'if rX op imm goto off' into:\n\n  AX = imm ^ rnd\n  AX ^= rnd\n  if rX op AX goto off\n\nand subtracts 2 from off when the jump is backward. off is s16, so\n-32767 and -32768 wrap and the jump goes 32767 insns forward, past the\nend of the prog. The jump is inside the patch, hence bpf_adj_branches()\ndoesn't check it. The kernel crashes when such prog runs with\nbpf_jit_harden=2.\n\nReturn -ERANGE in such case. bpf_jit_blind_constants() fails the same\nway when blinding of other insns moves a jump out of range.",
  "id": "CVE-2026-98816",
  "modified": "2026-10-20T02:30:17.830145274Z",
  "published": "2026-10-18T15:49:05.616Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/443328237113ee0ea515e506497334d871dbc2aa"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ad139384ecddb6f3e7e3c3c12765aafae0e39670"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98816.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98816"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "bpf: Fix overflow of jump offset in constant blinding"
}