CVE-2026-98793 (GCVE-0-2026-98793)
Vulnerability from cvelistv5
Published
2026-10-18 15:48
Modified
2026-10-21 12:57
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: netfilter: bpf: reject invalid NAT manipulation types As bpf_ct_set_nat_info() is not validating the NAT manipulation type a wrong value can be passed directly to nf_nat_setup_info(). This triggers the WARN_ON() at nf_nat_setup_info() and if panic_on_warn isn't set, then IPS_SRC_NAT_DONE is set without adding nat_bysource and conntrack cleanup tries to unlink an uninitialized hlist node. Fix this by checking that NAT manipulation type is correct before calling nf_nat_setup_info(). In addition, if the WARN_ON is hit, return NF_DROP instead of continuing with the processing to avoid similar situations in the future.
Impacted products
Vendor Product Version
Linux Linux Version: 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3
Version: 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3
Version: 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3
Version: 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3
Version: 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/netfilter/nf_nat_bpf.c",
            "net/netfilter/nf_nat_core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "752492947be3123ea6c689e2f93ae04ecd675d42",
              "status": "affected",
              "version": "0fabd2aa199faeb8754aee94658f2c48ccb2c8c3",
              "versionType": "git"
            },
            {
              "lessThan": "ea777dc90ab37e64fa4b92f6fcf3b5edcef5e058",
              "status": "affected",
              "version": "0fabd2aa199faeb8754aee94658f2c48ccb2c8c3",
              "versionType": "git"
            },
            {
              "lessThan": "f6143ae109df56d51d5536e813deb19eee7a6205",
              "status": "affected",
              "version": "0fabd2aa199faeb8754aee94658f2c48ccb2c8c3",
              "versionType": "git"
            },
            {
              "lessThan": "58108f05b0502448f6bb612ee2eccc63bd6449cb",
              "status": "affected",
              "version": "0fabd2aa199faeb8754aee94658f2c48ccb2c8c3",
              "versionType": "git"
            },
            {
              "lessThan": "16d464013ec2267b00a83f4bfbb97b3ecc63bfa7",
              "status": "affected",
              "version": "0fabd2aa199faeb8754aee94658f2c48ccb2c8c3",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/netfilter/nf_nat_bpf.c",
            "net/netfilter/nf_nat_core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.1"
            },
            {
              "lessThan": "6.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.113",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.56",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.10",
              "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": "6.6.160",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.113",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.56",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.10",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: bpf: reject invalid NAT manipulation types\n\nAs bpf_ct_set_nat_info() is not validating the NAT manipulation type a\nwrong value can be passed directly to nf_nat_setup_info(). This triggers\nthe WARN_ON() at nf_nat_setup_info() and if panic_on_warn isn\u0027t set,\nthen IPS_SRC_NAT_DONE is set without adding nat_bysource and conntrack\ncleanup tries to unlink an uninitialized hlist node.\n\nFix this by checking that NAT manipulation type is correct before\ncalling nf_nat_setup_info(). In addition, if the WARN_ON is hit, return\nNF_DROP instead of continuing with the processing to avoid similar\nsituations in the future."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-21T12:57:02.773Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/752492947be3123ea6c689e2f93ae04ecd675d42"
        },
        {
          "url": "https://git.kernel.org/stable/c/ea777dc90ab37e64fa4b92f6fcf3b5edcef5e058"
        },
        {
          "url": "https://git.kernel.org/stable/c/f6143ae109df56d51d5536e813deb19eee7a6205"
        },
        {
          "url": "https://git.kernel.org/stable/c/58108f05b0502448f6bb612ee2eccc63bd6449cb"
        },
        {
          "url": "https://git.kernel.org/stable/c/16d464013ec2267b00a83f4bfbb97b3ecc63bfa7"
        }
      ],
      "title": "netfilter: bpf: reject invalid NAT manipulation types",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98793",
    "datePublished": "2026-10-18T15:48:33.555Z",
    "dateReserved": "2026-09-25T10:25:14.370Z",
    "dateUpdated": "2026-10-21T12:57:02.773Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…