CVE Catalog

CVE-2025-37997

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.14%

4th percentile - higher than 4% of all known CVEs

Summary

In the Linux kernel, the netfilter/ipset module has a bug in the macros handling region locks for hash types. The incorrect ahash_region() macro can cause a race condition between the garbage collector and adding new elements when a set has a timeout defined.

Risk Assessment

An attacker could exploit this race to compromise the integrity of IP sets, potentially bypassing firewall rules or causing unexpected packet filtering behavior.

Recommendation

Immediately update the Linux kernel to a version containing the fix for CVE-2025-37997.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS