netfilter: ipset: stop hash:* range iteration at end (Linux Linux)

CVE-2026-52921
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.11 % · percentile 1 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

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.

Weaknesses (CWE)

  • CWE-835 — Loop with Unreachable Exit Condition

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc < be75218fadea22e59c8673db212f29c681bf45bb ; affected 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc < 383418c20e69f5761b6ec5238f599423f4fb77fb ; affected 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc < 0d7b33ace701fe397e6e4de145f32e098178d901 ; affected 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc < c281e018af98df91827d65bec00f4956c00a1b02 ; affected 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc < 02f75f041a93ea045834da89cd3234f4c1d749b4 ; affected 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc < 952e988163c2ab9939c3db9f0f8e77af6a1bb436
Linux · Linuxaffected 4.14 ; unaffected 0 < 4.14 ; unaffected 5.10.258 ≤ 5.10.* ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.142 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD