CVE-2026-52921 (GCVE-0-2026-52921)

Vulnerability from cvelistv5 – Published: 2026-06-24 07:14 – Updated: 2026-06-24 07:14
VLAI
Title
netfilter: ipset: stop hash:* range iteration at end
Summary
In the Linux kernel, the following vulnerability has been resolved: netfilter: ipset: stop hash:* range iteration at end The following hash set variants: hash:ip,mark hash:ip,port hash:ip,port,ip hash:ip,port,net iterate IPv4 ranges with a 32-bit iterator. The iterator must stop once the last address in the requested range has been processed. Advancing it once more can move the traversal state past the end of the request, so a later retry may continue from an unintended position. Handle the iterator increment explicitly at the end of the loop and stop once the upper bound has been processed. This keeps the existing retry behaviour intact for valid ranges while preventing traversal from continuing past the original boundary.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc , < be75218fadea22e59c8673db212f29c681bf45bb (git)
Affected: 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc , < 383418c20e69f5761b6ec5238f599423f4fb77fb (git)
Affected: 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc , < 0d7b33ace701fe397e6e4de145f32e098178d901 (git)
Affected: 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc , < c281e018af98df91827d65bec00f4956c00a1b02 (git)
Affected: 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc , < 02f75f041a93ea045834da89cd3234f4c1d749b4 (git)
Affected: 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc , < 952e988163c2ab9939c3db9f0f8e77af6a1bb436 (git)
Affected: 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc , < 0b530efb2cc9dbdddfd49d392e3a857f0d4ce8dc (git)
Affected: 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc , < 0d3a282ab5f165fc207ff49ea5b6ad8f54616bd6 (git)
Create a notification for this product.
Linux Linux Affected: 4.14
Unaffected: 0 , < 4.14 (semver)
Unaffected: 5.10.258 , ≤ 5.10.* (semver)
Unaffected: 5.15.209 , ≤ 5.15.* (semver)
Unaffected: 6.1.175 , ≤ 6.1.* (semver)
Unaffected: 6.6.142 , ≤ 6.6.* (semver)
Unaffected: 6.12.92 , ≤ 6.12.* (semver)
Unaffected: 6.18.34 , ≤ 6.18.* (semver)
Unaffected: 7.0.11 , ≤ 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/ipset/ip_set_hash_ipmark.c",
            "net/netfilter/ipset/ip_set_hash_ipport.c",
            "net/netfilter/ipset/ip_set_hash_ipportip.c",
            "net/netfilter/ipset/ip_set_hash_ipportnet.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "be75218fadea22e59c8673db212f29c681bf45bb",
              "status": "affected",
              "version": "48596a8ddc46f96afb6a2cd72787cb15d6bb01fc",
              "versionType": "git"
            },
            {
              "lessThan": "383418c20e69f5761b6ec5238f599423f4fb77fb",
              "status": "affected",
              "version": "48596a8ddc46f96afb6a2cd72787cb15d6bb01fc",
              "versionType": "git"
            },
            {
              "lessThan": "0d7b33ace701fe397e6e4de145f32e098178d901",
              "status": "affected",
              "version": "48596a8ddc46f96afb6a2cd72787cb15d6bb01fc",
              "versionType": "git"
            },
            {
              "lessThan": "c281e018af98df91827d65bec00f4956c00a1b02",
              "status": "affected",
              "version": "48596a8ddc46f96afb6a2cd72787cb15d6bb01fc",
              "versionType": "git"
            },
            {
              "lessThan": "02f75f041a93ea045834da89cd3234f4c1d749b4",
              "status": "affected",
              "version": "48596a8ddc46f96afb6a2cd72787cb15d6bb01fc",
              "versionType": "git"
            },
            {
              "lessThan": "952e988163c2ab9939c3db9f0f8e77af6a1bb436",
              "status": "affected",
              "version": "48596a8ddc46f96afb6a2cd72787cb15d6bb01fc",
              "versionType": "git"
            },
            {
              "lessThan": "0b530efb2cc9dbdddfd49d392e3a857f0d4ce8dc",
              "status": "affected",
              "version": "48596a8ddc46f96afb6a2cd72787cb15d6bb01fc",
              "versionType": "git"
            },
            {
              "lessThan": "0d3a282ab5f165fc207ff49ea5b6ad8f54616bd6",
              "status": "affected",
              "version": "48596a8ddc46f96afb6a2cd72787cb15d6bb01fc",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/netfilter/ipset/ip_set_hash_ipmark.c",
            "net/netfilter/ipset/ip_set_hash_ipport.c",
            "net/netfilter/ipset/ip_set_hash_ipportip.c",
            "net/netfilter/ipset/ip_set_hash_ipportnet.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.14"
            },
            {
              "lessThan": "4.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.258",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.209",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.175",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.142",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.92",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.34",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.11",
              "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.258",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.209",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.175",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.142",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.92",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.34",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.11",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: ipset: stop hash:* range iteration at end\n\nThe following hash set variants:\n\nhash:ip,mark\nhash:ip,port\nhash:ip,port,ip\nhash:ip,port,net\n\niterate IPv4 ranges with a 32-bit iterator.\n\nThe iterator must stop once the last address in the requested range has\nbeen processed. Advancing it once more can move the traversal state past\nthe end of the request, so a later retry may continue from an unintended\nposition.\n\nHandle the iterator increment explicitly at the end of the loop and stop\nonce the upper bound has been processed. This keeps the existing retry\nbehaviour intact for valid ranges while preventing traversal from\ncontinuing past the original boundary."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-06-24T07:14:16.533Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/be75218fadea22e59c8673db212f29c681bf45bb"
        },
        {
          "url": "https://git.kernel.org/stable/c/383418c20e69f5761b6ec5238f599423f4fb77fb"
        },
        {
          "url": "https://git.kernel.org/stable/c/0d7b33ace701fe397e6e4de145f32e098178d901"
        },
        {
          "url": "https://git.kernel.org/stable/c/c281e018af98df91827d65bec00f4956c00a1b02"
        },
        {
          "url": "https://git.kernel.org/stable/c/02f75f041a93ea045834da89cd3234f4c1d749b4"
        },
        {
          "url": "https://git.kernel.org/stable/c/952e988163c2ab9939c3db9f0f8e77af6a1bb436"
        },
        {
          "url": "https://git.kernel.org/stable/c/0b530efb2cc9dbdddfd49d392e3a857f0d4ce8dc"
        },
        {
          "url": "https://git.kernel.org/stable/c/0d3a282ab5f165fc207ff49ea5b6ad8f54616bd6"
        }
      ],
      "title": "netfilter: ipset: stop hash:* range iteration at end",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-52921",
    "datePublished": "2026-06-24T07:14:16.533Z",
    "dateReserved": "2026-06-09T07:44:35.367Z",
    "dateUpdated": "2026-06-24T07:14:16.533Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-52921",
      "date": "2026-06-29",
      "epss": "0.00164",
      "percentile": "0.0601"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-52921\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-06-24T08:16:22.067\",\"lastModified\":\"2026-06-24T08:16:22.067\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnetfilter: ipset: stop hash:* range iteration at end\\n\\nThe following hash set variants:\\n\\nhash:ip,mark\\nhash:ip,port\\nhash:ip,port,ip\\nhash:ip,port,net\\n\\niterate IPv4 ranges with a 32-bit iterator.\\n\\nThe iterator must stop once the last address in the requested range has\\nbeen processed. Advancing it once more can move the traversal state past\\nthe end of the request, so a later retry may continue from an unintended\\nposition.\\n\\nHandle the iterator increment explicitly at the end of the loop and stop\\nonce the upper bound has been processed. This keeps the existing retry\\nbehaviour intact for valid ranges while preventing traversal from\\ncontinuing past the original boundary.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"net/netfilter/ipset/ip_set_hash_ipmark.c\",\"net/netfilter/ipset/ip_set_hash_ipport.c\",\"net/netfilter/ipset/ip_set_hash_ipportip.c\",\"net/netfilter/ipset/ip_set_hash_ipportnet.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"48596a8ddc46f96afb6a2cd72787cb15d6bb01fc\",\"lessThan\":\"be75218fadea22e59c8673db212f29c681bf45bb\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"48596a8ddc46f96afb6a2cd72787cb15d6bb01fc\",\"lessThan\":\"383418c20e69f5761b6ec5238f599423f4fb77fb\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"48596a8ddc46f96afb6a2cd72787cb15d6bb01fc\",\"lessThan\":\"0d7b33ace701fe397e6e4de145f32e098178d901\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"48596a8ddc46f96afb6a2cd72787cb15d6bb01fc\",\"lessThan\":\"c281e018af98df91827d65bec00f4956c00a1b02\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"48596a8ddc46f96afb6a2cd72787cb15d6bb01fc\",\"lessThan\":\"02f75f041a93ea045834da89cd3234f4c1d749b4\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"48596a8ddc46f96afb6a2cd72787cb15d6bb01fc\",\"lessThan\":\"952e988163c2ab9939c3db9f0f8e77af6a1bb436\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"48596a8ddc46f96afb6a2cd72787cb15d6bb01fc\",\"lessThan\":\"0b530efb2cc9dbdddfd49d392e3a857f0d4ce8dc\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"48596a8ddc46f96afb6a2cd72787cb15d6bb01fc\",\"lessThan\":\"0d3a282ab5f165fc207ff49ea5b6ad8f54616bd6\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"net/netfilter/ipset/ip_set_hash_ipmark.c\",\"net/netfilter/ipset/ip_set_hash_ipport.c\",\"net/netfilter/ipset/ip_set_hash_ipportip.c\",\"net/netfilter/ipset/ip_set_hash_ipportnet.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4.14\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"4.14\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.258\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.209\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.175\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.142\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.92\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.34\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.11\",\"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/02f75f041a93ea045834da89cd3234f4c1d749b4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/0b530efb2cc9dbdddfd49d392e3a857f0d4ce8dc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/0d3a282ab5f165fc207ff49ea5b6ad8f54616bd6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/0d7b33ace701fe397e6e4de145f32e098178d901\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/383418c20e69f5761b6ec5238f599423f4fb77fb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/952e988163c2ab9939c3db9f0f8e77af6a1bb436\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/be75218fadea22e59c8673db212f29c681bf45bb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c281e018af98df91827d65bec00f4956c00a1b02\",\"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…