CVE-2026-52921

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

State
Published
Severity
Not scored
Published
Jun 24, 2026
Updated
Jun 24, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc to before be75218fadea22e59c8673db212f29c681bf45bbAffected
  • 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc to before 383418c20e69f5761b6ec5238f599423f4fb77fbAffected
  • 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc to before 0d7b33ace701fe397e6e4de145f32e098178d901Affected
  • 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc to before c281e018af98df91827d65bec00f4956c00a1b02Affected
  • 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc to before 02f75f041a93ea045834da89cd3234f4c1d749b4Affected
  • 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc to before 952e988163c2ab9939c3db9f0f8e77af6a1bb436Affected
  • 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc to before 0b530efb2cc9dbdddfd49d392e3a857f0d4ce8dcAffected
  • 48596a8ddc46f96afb6a2cd72787cb15d6bb01fc to before 0d3a282ab5f165fc207ff49ea5b6ad8f54616bd6Affected
LinuxLinux
  • 4.14Affected
  • before 4.14Not affected
  • 5.10.258 through 5.10.*Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.142 through 6.6.*Not affected
  • 6.12.92 through 6.12.*Not affected
  • 6.18.34 through 6.18.*Not affected
  • 7.0.11 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.