{"id":"CVE-2025-37997","summary":"netfilter: ipset: fix region locking in hash types","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: ipset: fix region locking in hash types\n\nRegion locking introduced in v5.6-rc4 contained three macros to handle\nthe region locks: ahash_bucket_start(), ahash_bucket_end() which gave\nback the start and end hash bucket values belonging to a given region\nlock and ahash_region() which should give back the region lock belonging\nto a given hash bucket. The latter was incorrect which can lead to a\nrace condition between the garbage collector and adding new elements\nwhen a hash type of set is defined with timeouts.","modified":"2026-04-03T13:14:38.434894Z","published":"2025-05-29T13:15:55.580Z","related":["SUSE-SU-2025:02249-1","SUSE-SU-2025:02254-1","SUSE-SU-2025:02264-1","SUSE-SU-2025:02307-1","SUSE-SU-2025:02308-1","SUSE-SU-2025:02320-1","SUSE-SU-2025:02321-1","SUSE-SU-2025:02322-1","SUSE-SU-2025:02333-1","SUSE-SU-2025:02335-1","SUSE-SU-2025:02537-1","SUSE-SU-2025:02538-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:20475-1","SUSE-SU-2025:20483-1","SUSE-SU-2025:20493-1","SUSE-SU-2025:20498-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37997.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/00cfc5fad1491796942a948808afb968a0a3f35b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/226ce0ec38316d9e3739e73a64b6b8304646c658"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6e002ecc1c8cfdfc866b9104ab7888da54613e59"},{"type":"WEB","url":"https://git.kernel.org/stable/c/82c1eb32693bc48251d92532975e19160987e5b9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8478a729c0462273188263136880480729e9efca"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a3dfec485401943e315c394c29afe2db8f9481d6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aa77294b0f73bb8265987591460cd25b8722c3df"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e2ab67672b2288521a6146034a971f9a82ffc5c5"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37997.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37997"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5dd9488ae41070b69d2f4acb580f77db5705f9ca"},{"fixed":"00cfc5fad1491796942a948808afb968a0a3f35b"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f66ee0410b1c3481ee75e5db9b34547b4d582465"},{"fixed":"226ce0ec38316d9e3739e73a64b6b8304646c658"},{"fixed":"82c1eb32693bc48251d92532975e19160987e5b9"},{"fixed":"aa77294b0f73bb8265987591460cd25b8722c3df"},{"fixed":"a3dfec485401943e315c394c29afe2db8f9481d6"},{"fixed":"e2ab67672b2288521a6146034a971f9a82ffc5c5"},{"fixed":"6e002ecc1c8cfdfc866b9104ab7888da54613e59"},{"fixed":"8478a729c0462273188263136880480729e9efca"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"a469bab3386aebff33c59506f3a95e35b91118fd"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37997.json"}}],"schema_version":"1.7.5"}