NetSight
high7.8

CVE-2025-37997

In the Linux kernel, the following vulnerability has been resolved: netfilter: ipset: fix region locking in hash types Region locking introduced in v5.6-rc4 co…

Impact

In the Linux kernel, the following vulnerability has been resolved: netfilter: ipset: fix region locking in hash types Region locking introduced in v5.6-rc4 contained three macros to handle the region locks: ahash_bucket_start(), ahash_bucket_end() which gave back the start and end hash bucket values belonging to a given region lock and ahash_region() which should give back the region lock belonging to a given hash bucket. The latter was incorrect which can lead to a race condition between the garbage collector and adding new elements when a hash type of set is defined with timeouts.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 5.4.24 before 5.4.294
from 5.5.8 before 5.6
from 5.6.1 before 5.10.238
from 5.11 before 5.15.183
from 5.16 before 6.1.139
from 6.2 before 6.6.91
DebianDebian Linux
Version 11.0

Weakness classification

References