CVE-2026-98322 (GCVE-0-2026-98322)
Vulnerability from cvelistv5
Published
2026-10-06 08:46
Modified
2026-10-19 09:17
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_nat: fully initialise new_addr in netmap setup nft_nat_setup_netmap() builds the mapped address in an on-stack union nf_inet_addr. For an IPv4 mapping it writes only the 4-byte .ip member and the loop runs a single 32-bit iteration, but it then copies the whole 16-byte union into range->min_addr and range->max_addr, so the upper 12 bytes reach nf_nat_setup_info() uninitialised. KMSAN reports an uninit-value in nf_nat_setup_info() reached from nft_nat_eval(). The IPv6 path fills all 16 bytes and is not affected. Zero-initialise new_addr.
Impacted products
Vendor Product Version
Linux Linux Version: 3ff7ddb1353da9b535e65702704cbadea1da9a00
Version: 3ff7ddb1353da9b535e65702704cbadea1da9a00
Version: 3ff7ddb1353da9b535e65702704cbadea1da9a00
Version: 3ff7ddb1353da9b535e65702704cbadea1da9a00
Version: 3ff7ddb1353da9b535e65702704cbadea1da9a00
Version: 3ff7ddb1353da9b535e65702704cbadea1da9a00
Version: 3ff7ddb1353da9b535e65702704cbadea1da9a00
Version: 3ff7ddb1353da9b535e65702704cbadea1da9a00
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/netfilter/nft_nat.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "29365695842db0a97b701a43a09fad1b4f7ecf3e",
              "status": "affected",
              "version": "3ff7ddb1353da9b535e65702704cbadea1da9a00",
              "versionType": "git"
            },
            {
              "lessThan": "7b9380c38c2fd2189416fa602bdbc5c8523b84b2",
              "status": "affected",
              "version": "3ff7ddb1353da9b535e65702704cbadea1da9a00",
              "versionType": "git"
            },
            {
              "lessThan": "eb2030137dba3b59cbb5057a33af70488d6bc231",
              "status": "affected",
              "version": "3ff7ddb1353da9b535e65702704cbadea1da9a00",
              "versionType": "git"
            },
            {
              "lessThan": "e4982c489ee359162eee3ece1fb36082648464a5",
              "status": "affected",
              "version": "3ff7ddb1353da9b535e65702704cbadea1da9a00",
              "versionType": "git"
            },
            {
              "lessThan": "161f5860c92a8ec80b6bdff16e79d70dcd8afc5a",
              "status": "affected",
              "version": "3ff7ddb1353da9b535e65702704cbadea1da9a00",
              "versionType": "git"
            },
            {
              "lessThan": "0ce42c7b84032335abff9eac43762e4ca8224451",
              "status": "affected",
              "version": "3ff7ddb1353da9b535e65702704cbadea1da9a00",
              "versionType": "git"
            },
            {
              "lessThan": "1c43f5db482f74b41987c39c9c375a5e767556eb",
              "status": "affected",
              "version": "3ff7ddb1353da9b535e65702704cbadea1da9a00",
              "versionType": "git"
            },
            {
              "lessThan": "d313499df66159b4b7971d760d16729598ab7e5a",
              "status": "affected",
              "version": "3ff7ddb1353da9b535e65702704cbadea1da9a00",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/netfilter/nft_nat.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.8"
            },
            {
              "lessThan": "5.8",
              "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.54",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.8",
              "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.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.222",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.189",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.112",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.54",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.8",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_nat: fully initialise new_addr in netmap setup\n\nnft_nat_setup_netmap() builds the mapped address in an on-stack\nunion nf_inet_addr. For an IPv4 mapping it writes only the 4-byte .ip\nmember and the loop runs a single 32-bit iteration, but it then copies\nthe whole 16-byte union into range-\u003emin_addr and range-\u003emax_addr, so the\nupper 12 bytes reach nf_nat_setup_info() uninitialised.\n\nKMSAN reports an uninit-value in nf_nat_setup_info() reached from\nnft_nat_eval(). The IPv6 path fills all 16 bytes and is not affected.\n\nZero-initialise new_addr."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:17:32.745Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/29365695842db0a97b701a43a09fad1b4f7ecf3e"
        },
        {
          "url": "https://git.kernel.org/stable/c/7b9380c38c2fd2189416fa602bdbc5c8523b84b2"
        },
        {
          "url": "https://git.kernel.org/stable/c/eb2030137dba3b59cbb5057a33af70488d6bc231"
        },
        {
          "url": "https://git.kernel.org/stable/c/e4982c489ee359162eee3ece1fb36082648464a5"
        },
        {
          "url": "https://git.kernel.org/stable/c/161f5860c92a8ec80b6bdff16e79d70dcd8afc5a"
        },
        {
          "url": "https://git.kernel.org/stable/c/0ce42c7b84032335abff9eac43762e4ca8224451"
        },
        {
          "url": "https://git.kernel.org/stable/c/1c43f5db482f74b41987c39c9c375a5e767556eb"
        },
        {
          "url": "https://git.kernel.org/stable/c/d313499df66159b4b7971d760d16729598ab7e5a"
        }
      ],
      "title": "netfilter: nft_nat: fully initialise new_addr in netmap setup",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98322",
    "datePublished": "2026-10-06T08:46:16.346Z",
    "dateReserved": "2026-09-25T10:25:14.340Z",
    "dateUpdated": "2026-10-19T09:17:32.745Z",
    "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…