CVE-2025-37997

published 29 May 2025 · updated 17 Nov 2026

netfilter: ipset: fix region locking in hash types

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e2ab67672b2288521a6146034a971f9a82ffc5c5, Kernel 5.6, Kernel 00cfc5fad1491796942a948808afb968a0a3f35b and 13 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=f66ee0410b1c3481ee75e5db9b34547b4d582465 <e2ab67672b2288521a6146034a971f9a82ffc5c5, >=5.5.8 <5.6, >=5dd9488ae41070b69d2f4acb580f77db5705f9ca <00cfc5fad1491796942a948808afb968a0a3f35b, >=f66ee0410b1c3481ee75e5db9b34547b4d582465 <226ce0ec38316d9e3739e73a64b6b8304646c658, >=f66ee0410b1c3481ee75e5db9b34547b4d582465 <6e002ecc1c8cfdfc866b9104ab7888da54613e59, >=f66ee0410b1c3481ee75e5db9b34547b4d582465 <82c1eb32693bc48251d92532975e19160987e5b9, >=f66ee0410b1c3481ee75e5db9b34547b4d582465 <8478a729c0462273188263136880480729e9efca, >=f66ee0410b1c3481ee75e5db9b34547b4d582465 <a3dfec485401943e315c394c29afe2db8f9481d6, >=f66ee0410b1c3481ee75e5db9b34547b4d582465 <aa77294b0f73bb8265987591460cd25b8722c3df, =5.6, =a469bab3386aebff33c59506f3a95e35b91118fd, >=5.4.24 <5.4.294e2ab67672b2288521a6146034a971f9a82ffc5c5, 5.6, 00cfc5fad1491796942a948808afb968a0a3f35b, 226ce0ec38316d9e3739e73a64b6b8304646c658, 6e002ecc1c8cfdfc866b9104ab7888da54613e59, 82c1eb32693bc48251d92532975e19160987e5b9, 8478a729c0462273188263136880480729e9efca, a3dfec485401943e315c394c29afe2db8f9481d6, aa77294b0f73bb8265987591460cd25b8722c3df, 5.4.294
linux-kernel: Kernel>=5.16.0 <6.1.139, >=5.4.24 <5.4.294, >=5.5.8 <5.6, >=5.6.0 <5.10.238, >=6.13.0 <6.14.7, >=6.2.0 <6.6.91, >=6.7.0 <6.12.29, >=5.11.0 <5.15.1836.1.139, 5.4.294, 5.6, 5.10.238, 6.14.7, 6.6.91, 6.12.29, 5.15.183

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-37997 severity on Zeptric[![CVE-2025-37997](https://zeptric.io/badge/cve/CVE-2025-37997.svg)](https://zeptric.io/cve/CVE-2025-37997)