netfilter: ipset: stop hash:* range iteration at end
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.1%
exploitation probability
0.1%top 98% of all CVEs
observed exploitation
nono source reports it
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 · LinuxReferences
https://git.kernel.org/stable/c/02f75f041a93ea045834da89cd3234f4c1d749b4https://git.kernel.org/stable/c/0b530efb2cc9dbdddfd49d392e3a857f0d4ce8dchttps://git.kernel.org/stable/c/0d3a282ab5f165fc207ff49ea5b6ad8f54616bd6https://git.kernel.org/stable/c/0d7b33ace701fe397e6e4de145f32e098178d901https://git.kernel.org/stable/c/383418c20e69f5761b6ec5238f599423f4fb77fbhttps://git.kernel.org/stable/c/952e988163c2ab9939c3db9f0f8e77af6a1bb436https://git.kernel.org/stable/c/be75218fadea22e59c8673db212f29c681bf45bbhttps://git.kernel.org/stable/c/c281e018af98df91827d65bec00f4956c00a1b02