CVE-2026-98631 (GCVE-0-2026-98631)

Vulnerability from cvelistv5 – Published: 2026-10-18 15:19 – Updated: 2026-10-19 09:22
VLAI
Title
xsk: Use a 32-bit compare in xsk_map_gen_lookup
Summary
In the Linux kernel, the following vulnerability has been resolved: xsk: Use a 32-bit compare in xsk_map_gen_lookup xsk_map_gen_lookup() loads a u32 key and compares it with max_entries using BPF_JMP_IMM. BPF immediates are sign-extended to 64 bits, so a max_entries value of 0x80000000 or higher becomes a threshold larger than every zero-extended 32-bit key. An out-of-range index then skips the bounds check and the generated lookup reads past xsk_map[]. Compare with BPF_JMP32_IMM so the check stays in 32-bit unsigned range.
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: e65650f291ee72fc578d6346080fc4699204ef2c , < c6d5c582d55a8f229d75e98d62eaa065b0deb18d (git)
Affected: e65650f291ee72fc578d6346080fc4699204ef2c , < 227ec890559e922e235eb543646e3bf0bd8269b0 (git)
Affected: e65650f291ee72fc578d6346080fc4699204ef2c , < 11d9be35c1f4233798e99be98bc474f83a254c6c (git)
Affected: e65650f291ee72fc578d6346080fc4699204ef2c , < 123f90f394ca404ab8796a7c8072ff7fa5b65a9c (git)
Affected: e65650f291ee72fc578d6346080fc4699204ef2c , < 36461e58f88a1b723f86693f437ac12e60ff4363 (git)
Affected: e65650f291ee72fc578d6346080fc4699204ef2c , < b5c0cff0c5331582ab01c4c423731453a8381acc (git)
Affected: e65650f291ee72fc578d6346080fc4699204ef2c , < 3c1e0a4bc156b8d5c5772dbc76b9ea74dce5ca24 (git)
Affected: e65650f291ee72fc578d6346080fc4699204ef2c , < 70504de0bb627848667207bec7ccfd647deb8814 (git)
Create a notification for this product.
Linux Linux Affected: 5.5
Unaffected: 0 , < 5.5 (semver)
Unaffected: 5.10.271 , ≤ 5.10.* (semver)
Unaffected: 5.15.222 , ≤ 5.15.* (semver)
Unaffected: 6.1.189 , ≤ 6.1.* (semver)
Unaffected: 6.6.158 , ≤ 6.6.* (semver)
Unaffected: 6.12.112 , ≤ 6.12.* (semver)
Unaffected: 6.18.55 , ≤ 6.18.* (semver)
Unaffected: 7.2.9 , ≤ 7.2.* (semver)
Unaffected: 7.3 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/xdp/xskmap.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c6d5c582d55a8f229d75e98d62eaa065b0deb18d",
              "status": "affected",
              "version": "e65650f291ee72fc578d6346080fc4699204ef2c",
              "versionType": "git"
            },
            {
              "lessThan": "227ec890559e922e235eb543646e3bf0bd8269b0",
              "status": "affected",
              "version": "e65650f291ee72fc578d6346080fc4699204ef2c",
              "versionType": "git"
            },
            {
              "lessThan": "11d9be35c1f4233798e99be98bc474f83a254c6c",
              "status": "affected",
              "version": "e65650f291ee72fc578d6346080fc4699204ef2c",
              "versionType": "git"
            },
            {
              "lessThan": "123f90f394ca404ab8796a7c8072ff7fa5b65a9c",
              "status": "affected",
              "version": "e65650f291ee72fc578d6346080fc4699204ef2c",
              "versionType": "git"
            },
            {
              "lessThan": "36461e58f88a1b723f86693f437ac12e60ff4363",
              "status": "affected",
              "version": "e65650f291ee72fc578d6346080fc4699204ef2c",
              "versionType": "git"
            },
            {
              "lessThan": "b5c0cff0c5331582ab01c4c423731453a8381acc",
              "status": "affected",
              "version": "e65650f291ee72fc578d6346080fc4699204ef2c",
              "versionType": "git"
            },
            {
              "lessThan": "3c1e0a4bc156b8d5c5772dbc76b9ea74dce5ca24",
              "status": "affected",
              "version": "e65650f291ee72fc578d6346080fc4699204ef2c",
              "versionType": "git"
            },
            {
              "lessThan": "70504de0bb627848667207bec7ccfd647deb8814",
              "status": "affected",
              "version": "e65650f291ee72fc578d6346080fc4699204ef2c",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/xdp/xskmap.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.5"
            },
            {
              "lessThan": "5.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.271",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.222",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.112",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.55",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.271",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.222",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.189",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.112",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.55",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.9",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:22:59.147Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c6d5c582d55a8f229d75e98d62eaa065b0deb18d"
        },
        {
          "url": "https://git.kernel.org/stable/c/227ec890559e922e235eb543646e3bf0bd8269b0"
        },
        {
          "url": "https://git.kernel.org/stable/c/11d9be35c1f4233798e99be98bc474f83a254c6c"
        },
        {
          "url": "https://git.kernel.org/stable/c/123f90f394ca404ab8796a7c8072ff7fa5b65a9c"
        },
        {
          "url": "https://git.kernel.org/stable/c/36461e58f88a1b723f86693f437ac12e60ff4363"
        },
        {
          "url": "https://git.kernel.org/stable/c/b5c0cff0c5331582ab01c4c423731453a8381acc"
        },
        {
          "url": "https://git.kernel.org/stable/c/3c1e0a4bc156b8d5c5772dbc76b9ea74dce5ca24"
        },
        {
          "url": "https://git.kernel.org/stable/c/70504de0bb627848667207bec7ccfd647deb8814"
        }
      ],
      "title": "xsk: Use a 32-bit compare in xsk_map_gen_lookup",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98631",
    "datePublished": "2026-10-18T15:19:53.529Z",
    "dateReserved": "2026-09-25T10:25:14.361Z",
    "dateUpdated": "2026-10-19T09:22:59.147Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-98631",
      "date": "2026-11-17",
      "epss": "0.0021",
      "percentile": "0.11304"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-12T17:46:59.000Z",
      "cve": "CVE-2026-98631",
      "id": "msrc_CVE-2026-98631",
      "initial_release_date": "2026-10-20T01:07:13.000Z",
      "product_status:fixed": "2",
      "product_status:known_affected": "2",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "xsk: Use a 32-bit compare in xsk_map_gen_lookup",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-98631.json",
      "version": "6"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "net/xdp/xskmap.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "c6d5c582d55a8f229d75e98d62eaa065b0deb18d",
                    "status": "affected",
                    "version": "e65650f291ee72fc578d6346080fc4699204ef2c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "227ec890559e922e235eb543646e3bf0bd8269b0",
                    "status": "affected",
                    "version": "e65650f291ee72fc578d6346080fc4699204ef2c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "11d9be35c1f4233798e99be98bc474f83a254c6c",
                    "status": "affected",
                    "version": "e65650f291ee72fc578d6346080fc4699204ef2c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "123f90f394ca404ab8796a7c8072ff7fa5b65a9c",
                    "status": "affected",
                    "version": "e65650f291ee72fc578d6346080fc4699204ef2c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "36461e58f88a1b723f86693f437ac12e60ff4363",
                    "status": "affected",
                    "version": "e65650f291ee72fc578d6346080fc4699204ef2c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "b5c0cff0c5331582ab01c4c423731453a8381acc",
                    "status": "affected",
                    "version": "e65650f291ee72fc578d6346080fc4699204ef2c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "3c1e0a4bc156b8d5c5772dbc76b9ea74dce5ca24",
                    "status": "affected",
                    "version": "e65650f291ee72fc578d6346080fc4699204ef2c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "70504de0bb627848667207bec7ccfd647deb8814",
                    "status": "affected",
                    "version": "e65650f291ee72fc578d6346080fc4699204ef2c",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "net/xdp/xskmap.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.5"
                  },
                  {
                    "lessThan": "5.5",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.271",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.222",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.189",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.158",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.112",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.55",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.9",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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."
          }
        ],
        "id": "CVE-2026-98631",
        "lastModified": "2026-10-19T10:19:27.347",
        "metrics": {},
        "published": "2026-10-18T16:17:16.180",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/11d9be35c1f4233798e99be98bc474f83a254c6c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/123f90f394ca404ab8796a7c8072ff7fa5b65a9c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/227ec890559e922e235eb543646e3bf0bd8269b0"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/36461e58f88a1b723f86693f437ac12e60ff4363"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/3c1e0a4bc156b8d5c5772dbc76b9ea74dce5ca24"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/70504de0bb627848667207bec7ccfd647deb8814"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/b5c0cff0c5331582ab01c4c423731453a8381acc"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/c6d5c582d55a8f229d75e98d62eaa065b0deb18d"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-07T11:31:11+00:00",
      "cve": "CVE-2026-98631",
      "id": "CVE-2026-98631",
      "initial_release_date": "2026-10-18T00:00:00+00:00",
      "product_status:known_affected": "161",
      "product_status:known_not_affected": "42",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: xsk: Use a 32-bit compare in xsk_map_gen_lookup",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98631.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-11-14T00:54:42Z",
      "cve": "CVE-2026-98631",
      "id": "CVE-2026-98631",
      "initial_release_date": "2026-10-20T23:48:27Z",
      "product_status:known_affected": "642",
      "product_status:known_not_affected": "93",
      "product_status:recommended": "248",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-98631",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-98631.json",
      "version": "8"
    }
  }
}



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…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…