Skip to content
Heist/ feed
Unrated

netfilter: bpf: reject invalid NAT manipulation types

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-98793

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-98793

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "0fabd2aa199faeb8754aee94658f2c48ccb2c8c3",
        "lessThan": "752492947be3123ea6c689e2f93ae04ecd675d42",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0fabd2aa199faeb8754aee94658f2c48ccb2c8c3",
        "lessThan": "ea777dc90ab37e64fa4b92f6fcf3b5edcef5e058",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0fabd2aa199faeb8754aee94658f2c48ccb2c8c3",
        "lessThan": "f6143ae109df56d51d5536e813deb19eee7a6205",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0fabd2aa199faeb8754aee94658f2c48ccb2c8c3",
        "lessThan": "58108f05b0502448f6bb612ee2eccc63bd6449cb",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0fabd2aa199faeb8754aee94658f2c48ccb2c8c3",
        "lessThan": "16d464013ec2267b00a83f4bfbb97b3ecc63bfa7",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "net/netfilter/nf_nat_bpf.c",
      "net/netfilter/nf_nat_core.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.1"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.1",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.113",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.56",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.10",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "net/netfilter/nf_nat_bpf.c",
      "net/netfilter/nf_nat_core.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-98793

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#48980 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement