What’s Vulnerable › Vulnerabilities
CVE-2026-52921: netfilter: ipset: stop hash:* range iteration at end
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-24 · updated 2026-07-08
- Weakness: CWE-835
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.
Affected products
- Linux kernel: from 4.14.1 before 5.10.258; from 5.11 before 5.15.209; from 5.16 before 6.1.175; from 6.2 before 6.6.142; from 6.7 before 6.12.92; from 6.13 before 6.18.34 — fixed in 5.10.258, 5.15.209, 6.1.175, 6.12.92, 6.18.34, 6.6.142
How to fix
Upgrade to a fixed version: Linux kernel 5.10.258, 5.15.209, 6.1.175, 6.12.92. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/02f75f041a93ea045834da89cd3234f4c1d749b4
- https://git.kernel.org/stable/c/0b530efb2cc9dbdddfd49d392e3a857f0d4ce8dc
- https://git.kernel.org/stable/c/0d3a282ab5f165fc207ff49ea5b6ad8f54616bd6
- https://git.kernel.org/stable/c/0d7b33ace701fe397e6e4de145f32e098178d901
- https://git.kernel.org/stable/c/383418c20e69f5761b6ec5238f599423f4fb77fb
- https://git.kernel.org/stable/c/952e988163c2ab9939c3db9f0f8e77af6a1bb436
- https://git.kernel.org/stable/c/be75218fadea22e59c8673db212f29c681bf45bb
- https://git.kernel.org/stable/c/c281e018af98df91827d65bec00f4956c00a1b02
Get alerted when CVE-2026-52921 or the next vulnerability affects your stack