{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-98631",
  "modified": "2026-10-19T04:30:01Z",
  "upstream": [
    "CVE-2026-98631"
  ],
  "published": "2026-10-18T15:22:13Z",
  "summary": "xsk: Use a 32-bit compare in xsk_map_gen_lookup",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nxsk: Use a 32-bit compare in xsk_map_gen_lookup\n\nxsk_map_gen_lookup() loads a u32 key and compares it with max_entries\nusing BPF_JMP_IMM. BPF immediates are sign-extended to 64 bits, so a\nmax_entries value of 0x80000000 or higher becomes a threshold larger\nthan every zero-extended 32-bit key. An out-of-range index then skips\nthe bounds check and the generated lookup reads past xsk_map[].\n\nCompare with BPF_JMP32_IMM so the check stays in 32-bit unsigned range.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.189",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-98631"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c6d5c582d55a8f229d75e98d62eaa065b0deb18d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/227ec890559e922e235eb543646e3bf0bd8269b0"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/11d9be35c1f4233798e99be98bc474f83a254c6c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/123f90f394ca404ab8796a7c8072ff7fa5b65a9c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/36461e58f88a1b723f86693f437ac12e60ff4363"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/b5c0cff0c5331582ab01c4c423731453a8381acc"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/3c1e0a4bc156b8d5c5772dbc76b9ea74dce5ca24"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/70504de0bb627848667207bec7ccfd647deb8814"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-10-18T15:22:13Z"
  }
}
