CVE-2026-52921 PUBLISHED

netfilter: ipset: stop hash:* range iteration at end

Assigner: Linux
Reserved: 09.06.2026 Published: 24.06.2026 Updated: 24.06.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc to be75218fadea22e59c8673db212f29c681bf45bb (excl.)
  • affected from 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc to 383418c20e69f5761b6ec5238f599423f4fb77fb (excl.)
  • affected from 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc to 0d7b33ace701fe397e6e4de145f32e098178d901 (excl.)
  • affected from 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc to c281e018af98df91827d65bec00f4956c00a1b02 (excl.)
  • affected from 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc to 02f75f041a93ea045834da89cd3234f4c1d749b4 (excl.)
  • affected from 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc to 952e988163c2ab9939c3db9f0f8e77af6a1bb436 (excl.)
  • affected from 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc to 0b530efb2cc9dbdddfd49d392e3a857f0d4ce8dc (excl.)
  • affected from 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc to 0d3a282ab5f165fc207ff49ea5b6ad8f54616bd6 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.14 is affected
  • unaffected from 0 to 4.14 (excl.)
  • unaffected from 5.10.258 to 5.10.* (incl.)
  • unaffected from 5.15.209 to 5.15.* (incl.)
  • unaffected from 6.1.175 to 6.1.* (incl.)
  • unaffected from 6.6.142 to 6.6.* (incl.)
  • unaffected from 6.12.92 to 6.12.* (incl.)
  • unaffected from 6.18.34 to 6.18.* (incl.)
  • unaffected from 7.0.11 to 7.0.* (incl.)
  • unaffected from 7.1 to * (incl.)

References