CVE-2026-53218 (GCVE-0-2026-53218)

Vulnerability from cvelistv5 – Published: 2026-06-25 08:39 – Updated: 2026-06-25 08:39
VLAI
Title
netfilter: nft_exthdr: fix register tracking for F_PRESENT flag
Summary
In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_exthdr: fix register tracking for F_PRESENT flag nft_exthdr_init() passes user-controlled priv->len to nft_parse_register_store(), which marks that many bytes in the register bitmap as initialized. However, when NFT_EXTHDR_F_PRESENT is set, the eval paths write only 1 byte (nft_reg_store8) or 4 bytes (*dest = 0 on TCP/DCCP error path). When len > 4, registers beyond the first are never written, retaining uninitialized stack data from nft_regs. Bail out if userspace requests too much data when F_PRESENT is set.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 , < 8738b1b6d0e639ca1fc0f61516afd3557ac4ecc6 (git)
Affected: c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 , < 19748967d59c31d24d21d40b728570788310b237 (git)
Affected: c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 , < 46fc15a044e9938e7ea77786fb37edd2cd74f031 (git)
Affected: c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 , < cd513e43b4b2bd1de39e2367bc4261c699a8652f (git)
Affected: c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 , < 67b27434c43b68a97becda98c9f0c8cf6cba2134 (git)
Affected: c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 , < 78069a6d8bc86c9e036eb82c2af4a19cc1871a53 (git)
Affected: c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 , < f08fb3d42fd3aad0b7a263da3ac3ebaf0845e265 (git)
Affected: c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 , < 772cecf198da732faebb5dcfc46d66a505be8495 (git)
Create a notification for this product.
Linux Linux Affected: 4.11
Unaffected: 0 , < 4.11 (semver)
Unaffected: 5.10.259 , ≤ 5.10.* (semver)
Unaffected: 5.15.210 , ≤ 5.15.* (semver)
Unaffected: 6.1.176 , ≤ 6.1.* (semver)
Unaffected: 6.6.143 , ≤ 6.6.* (semver)
Unaffected: 6.12.94 , ≤ 6.12.* (semver)
Unaffected: 6.18.36 , ≤ 6.18.* (semver)
Unaffected: 7.0.13 , ≤ 7.0.* (semver)
Unaffected: 7.1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/netfilter/nft_exthdr.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "8738b1b6d0e639ca1fc0f61516afd3557ac4ecc6",
              "status": "affected",
              "version": "c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783",
              "versionType": "git"
            },
            {
              "lessThan": "19748967d59c31d24d21d40b728570788310b237",
              "status": "affected",
              "version": "c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783",
              "versionType": "git"
            },
            {
              "lessThan": "46fc15a044e9938e7ea77786fb37edd2cd74f031",
              "status": "affected",
              "version": "c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783",
              "versionType": "git"
            },
            {
              "lessThan": "cd513e43b4b2bd1de39e2367bc4261c699a8652f",
              "status": "affected",
              "version": "c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783",
              "versionType": "git"
            },
            {
              "lessThan": "67b27434c43b68a97becda98c9f0c8cf6cba2134",
              "status": "affected",
              "version": "c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783",
              "versionType": "git"
            },
            {
              "lessThan": "78069a6d8bc86c9e036eb82c2af4a19cc1871a53",
              "status": "affected",
              "version": "c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783",
              "versionType": "git"
            },
            {
              "lessThan": "f08fb3d42fd3aad0b7a263da3ac3ebaf0845e265",
              "status": "affected",
              "version": "c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783",
              "versionType": "git"
            },
            {
              "lessThan": "772cecf198da732faebb5dcfc46d66a505be8495",
              "status": "affected",
              "version": "c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/netfilter/nft_exthdr.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.11"
            },
            {
              "lessThan": "4.11",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.259",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.210",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.176",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.143",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.94",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.36",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.13",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.259",
                  "versionStartIncluding": "4.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.210",
                  "versionStartIncluding": "4.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.176",
                  "versionStartIncluding": "4.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.143",
                  "versionStartIncluding": "4.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.94",
                  "versionStartIncluding": "4.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.36",
                  "versionStartIncluding": "4.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.13",
                  "versionStartIncluding": "4.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "4.11",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_exthdr: fix register tracking for F_PRESENT flag\n\nnft_exthdr_init() passes user-controlled priv-\u003elen to\nnft_parse_register_store(), which marks that many bytes in the\nregister bitmap as initialized.  However, when NFT_EXTHDR_F_PRESENT\nis set, the eval paths write only 1 byte (nft_reg_store8) or\n4 bytes (*dest = 0 on TCP/DCCP error path).  When len \u003e 4,\nregisters beyond the first are never written, retaining\nuninitialized stack data from nft_regs.\n\nBail out if userspace requests too much data when F_PRESENT is set."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-06-25T08:39:21.069Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/8738b1b6d0e639ca1fc0f61516afd3557ac4ecc6"
        },
        {
          "url": "https://git.kernel.org/stable/c/19748967d59c31d24d21d40b728570788310b237"
        },
        {
          "url": "https://git.kernel.org/stable/c/46fc15a044e9938e7ea77786fb37edd2cd74f031"
        },
        {
          "url": "https://git.kernel.org/stable/c/cd513e43b4b2bd1de39e2367bc4261c699a8652f"
        },
        {
          "url": "https://git.kernel.org/stable/c/67b27434c43b68a97becda98c9f0c8cf6cba2134"
        },
        {
          "url": "https://git.kernel.org/stable/c/78069a6d8bc86c9e036eb82c2af4a19cc1871a53"
        },
        {
          "url": "https://git.kernel.org/stable/c/f08fb3d42fd3aad0b7a263da3ac3ebaf0845e265"
        },
        {
          "url": "https://git.kernel.org/stable/c/772cecf198da732faebb5dcfc46d66a505be8495"
        }
      ],
      "title": "netfilter: nft_exthdr: fix register tracking for F_PRESENT flag",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-53218",
    "datePublished": "2026-06-25T08:39:21.069Z",
    "dateReserved": "2026-06-09T07:44:35.392Z",
    "dateUpdated": "2026-06-25T08:39:21.069Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-53218",
      "date": "2026-07-01",
      "epss": "0.00184",
      "percentile": "0.08214"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-53218\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-06-25T09:16:39.500\",\"lastModified\":\"2026-06-30T14:44:27.313\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnetfilter: nft_exthdr: fix register tracking for F_PRESENT flag\\n\\nnft_exthdr_init() passes user-controlled priv-\u003elen to\\nnft_parse_register_store(), which marks that many bytes in the\\nregister bitmap as initialized.  However, when NFT_EXTHDR_F_PRESENT\\nis set, the eval paths write only 1 byte (nft_reg_store8) or\\n4 bytes (*dest = 0 on TCP/DCCP error path).  When len \u003e 4,\\nregisters beyond the first are never written, retaining\\nuninitialized stack data from nft_regs.\\n\\nBail out if userspace requests too much data when F_PRESENT is set.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"net/netfilter/nft_exthdr.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783\",\"lessThan\":\"8738b1b6d0e639ca1fc0f61516afd3557ac4ecc6\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783\",\"lessThan\":\"19748967d59c31d24d21d40b728570788310b237\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783\",\"lessThan\":\"46fc15a044e9938e7ea77786fb37edd2cd74f031\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783\",\"lessThan\":\"cd513e43b4b2bd1de39e2367bc4261c699a8652f\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783\",\"lessThan\":\"67b27434c43b68a97becda98c9f0c8cf6cba2134\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783\",\"lessThan\":\"78069a6d8bc86c9e036eb82c2af4a19cc1871a53\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783\",\"lessThan\":\"f08fb3d42fd3aad0b7a263da3ac3ebaf0845e265\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783\",\"lessThan\":\"772cecf198da732faebb5dcfc46d66a505be8495\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"net/netfilter/nft_exthdr.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4.11\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"4.11\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.259\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.210\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.176\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.143\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.94\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.36\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.13\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/19748967d59c31d24d21d40b728570788310b237\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/46fc15a044e9938e7ea77786fb37edd2cd74f031\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/67b27434c43b68a97becda98c9f0c8cf6cba2134\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/772cecf198da732faebb5dcfc46d66a505be8495\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/78069a6d8bc86c9e036eb82c2af4a19cc1871a53\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8738b1b6d0e639ca1fc0f61516afd3557ac4ecc6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cd513e43b4b2bd1de39e2367bc4261c699a8652f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f08fb3d42fd3aad0b7a263da3ac3ebaf0845e265\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…