CVE-2026-52921
Received Received - Intake
Netfilter Hash Set Range Iteration Boundary Fix

Publication date: 2026-06-24

Last updated on: 2026-06-24

Assigner: kernel.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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-24
Last Modified
2026-06-24
Generated
2026-06-24
AI Q&A
2026-06-24
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
netfilter ipset *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in the Linux kernel's netfilter ipset feature, specifically in certain hash set variants that iterate over IPv4 address ranges using a 32-bit iterator.

The problem occurs because the iterator does not stop correctly after processing the last address in the requested range. If the iterator advances once more beyond the end, it can cause the traversal state to move past the intended boundary.

As a result, a later retry of the iteration may continue from an unintended position, potentially causing unexpected behavior.

The fix involves explicitly handling the iterator increment at the end of the loop and stopping once the upper bound has been processed, preventing traversal beyond the original boundary while maintaining valid retry behavior.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-52921. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart