CVE-2025-37997

netfilter: ipset: fix region locking in hash types

State
Published
Severity
7.8 High
Published
May 29, 2025
Updated
Oct 15, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5dd9488ae41070b69d2f4acb580f77db5705f9ca to before 00cfc5fad1491796942a948808afb968a0a3f35bAffected
  • f66ee0410b1c3481ee75e5db9b34547b4d582465 to before 226ce0ec38316d9e3739e73a64b6b8304646c658Affected
  • f66ee0410b1c3481ee75e5db9b34547b4d582465 to before 82c1eb32693bc48251d92532975e19160987e5b9Affected
  • f66ee0410b1c3481ee75e5db9b34547b4d582465 to before aa77294b0f73bb8265987591460cd25b8722c3dfAffected
  • f66ee0410b1c3481ee75e5db9b34547b4d582465 to before a3dfec485401943e315c394c29afe2db8f9481d6Affected
  • f66ee0410b1c3481ee75e5db9b34547b4d582465 to before e2ab67672b2288521a6146034a971f9a82ffc5c5Affected
  • f66ee0410b1c3481ee75e5db9b34547b4d582465 to before 6e002ecc1c8cfdfc866b9104ab7888da54613e59Affected
  • f66ee0410b1c3481ee75e5db9b34547b4d582465 to before 8478a729c0462273188263136880480729e9efcaAffected
  • a469bab3386aebff33c59506f3a95e35b91118fdAffected
  • 5.4.24 to before 5.4.294Affected
  • 5.5.8 to before 5.6Affected
LinuxLinux
  • 5.6Affected
  • before 5.6Not affected
  • 5.4.294 through 5.4.*Not affected
  • 5.10.238 through 5.10.*Not affected
  • 5.15.183 through 5.15.*Not affected
  • 6.1.139 through 6.1.*Not affected
  • 6.6.91 through 6.6.*Not affected
  • 6.12.29 through 6.12.*Not affected
  • 6.14.7 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.