Bug 2492111 (CVE-2026-52921) - CVE-2026-52921 kernel: netfilter: ipset: stop hash:* range iteration at end
Summary: CVE-2026-52921 kernel: netfilter: ipset: stop hash:* range iteration at end
Keywords:
Status: NEW
Alias: CVE-2026-52921
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-24 08:02 UTC by OSIDB Bzimport
Modified: 2026-06-24 10:07 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-24 08:02:27 UTC
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.

Comment 1 Mauro Matteo Cascella 2026-06-24 10:03:29 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026062430-CVE-2026-52921-0628@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.