{"id":"CVE-2025-37997","aliases":["CVE-2025-37997"],"related":[],"kind":"vulnerability","state":"published","title":"netfilter: ipset: fix region locking in hash types","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: netfilter: ipset: corrección del bloqueo de región en tipos hash. El bloqueo de región introducido en la versión v5.6-rc4 contenía tres macros para gestionar los bloqueos de región: ahash_bucket_start(), ahash_bucket_end(), que devolvía los valores de inicio y fin del depósito hash correspondientes a un bloqueo de región determinado, y ahash_region(), que debería devolver el bloqueo de región correspondiente a un depósito hash determinado. Esta última era incorrecta, lo que puede generar una condición de ejecución entre el recolector de elementos no utilizados y la adición de nuevos elementos cuando se define un tipo hash de conjunto con tiempos de espera.","source":"nvd"}],"published":"2025-05-29T13:15:55.580Z","modified":"2026-10-15T22:18:23.573Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-667"],"affected":[{"ranges":[{"type":"git","introduced":"5dd9488ae41070b69d2f4acb580f77db5705f9ca","fixed":"00cfc5fad1491796942a948808afb968a0a3f35b","status":"affected"},{"type":"git","introduced":"f66ee0410b1c3481ee75e5db9b34547b4d582465","fixed":"226ce0ec38316d9e3739e73a64b6b8304646c658","status":"affected"},{"type":"git","introduced":"f66ee0410b1c3481ee75e5db9b34547b4d582465","fixed":"82c1eb32693bc48251d92532975e19160987e5b9","status":"affected"},{"type":"git","introduced":"f66ee0410b1c3481ee75e5db9b34547b4d582465","fixed":"aa77294b0f73bb8265987591460cd25b8722c3df","status":"affected"},{"type":"git","introduced":"f66ee0410b1c3481ee75e5db9b34547b4d582465","fixed":"a3dfec485401943e315c394c29afe2db8f9481d6","status":"affected"},{"type":"git","introduced":"f66ee0410b1c3481ee75e5db9b34547b4d582465","fixed":"e2ab67672b2288521a6146034a971f9a82ffc5c5","status":"affected"},{"type":"git","introduced":"f66ee0410b1c3481ee75e5db9b34547b4d582465","fixed":"6e002ecc1c8cfdfc866b9104ab7888da54613e59","status":"affected"},{"type":"git","introduced":"f66ee0410b1c3481ee75e5db9b34547b4d582465","fixed":"8478a729c0462273188263136880480729e9efca","status":"affected"},{"type":"git","version":"a469bab3386aebff33c59506f3a95e35b91118fd","status":"affected"},{"type":"semver","introduced":"5.4.24","fixed":"5.4.294","status":"affected"},{"type":"semver","introduced":"5.5.8","fixed":"5.6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.6","status":"unaffected"},{"type":"semver","introduced":"5.4.294","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.238","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.183","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.139","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.91","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.29","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.14.7","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.4.24","fixed":"5.4.294"},{"status":"affected","introduced":"5.5.8","fixed":"5.6"},{"status":"affected","introduced":"5.6.1","fixed":"5.10.238"},{"status":"affected","introduced":"5.11","fixed":"5.15.183"},{"status":"affected","introduced":"5.16","fixed":"6.1.139"},{"status":"affected","introduced":"6.2","fixed":"6.6.91"},{"status":"affected","introduced":"6.7","fixed":"6.12.29"},{"status":"affected","introduced":"6.13","fixed":"6.14.7"},{"status":"affected","version":"5.6"},{"status":"affected","version":"5.6"},{"status":"affected","version":"5.6"},{"status":"affected","version":"5.6"},{"status":"affected","version":"5.6"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/00cfc5fad1491796942a948808afb968a0a3f35b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/226ce0ec38316d9e3739e73a64b6b8304646c658","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/82c1eb32693bc48251d92532975e19160987e5b9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aa77294b0f73bb8265987591460cd25b8722c3df","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a3dfec485401943e315c394c29afe2db8f9481d6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e2ab67672b2288521a6146034a971f9a82ffc5c5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6e002ecc1c8cfdfc866b9104ab7888da54613e59","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8478a729c0462273188263136880480729e9efca","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:46:37.316Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-37997","url":"https://www.cve.org/CVERecord?id=CVE-2025-37997","licence":"CVE Terms of Use","modified":"2026-10-15T21:52:05.816Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-37997","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37997","licence":"Public domain","modified":"2026-10-15T22:18:23.573Z"}],"updatedAt":"2026-11-25T22:58:58.554Z","epss":{"score":0.00181,"percentile":0.08023,"date":"2026-12-01T12:00:22.000Z"}}