CVE-2025-37997

netfilter: ipset: fix region locking in hash types

MEDIUM
5.5
CVSS Score
Published: May 29, 2025 at 01:15 PM UTC
Updated: October 15, 2026 at 10:18 PM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.1835.16 ≤ v < 6.1.1395.4.24 ≤ v < 5.4.2945.5.8 ≤ v < 5.65.6.1 ≤ v < 5.10.2386.13 ≤ v < 6.14.76.2 ≤ v < 6.6.916.7 ≤ v < 6.12.295.4.245.5.85.65.6 rc45.6 rc55.6 rc65.6 rc75dd9488ae41070b69d2f4acb580f77db5705f9ca6.156.15 rc16.15 rc26.15 rc36.15 rc46.15 rc5a469bab3386aebff33c59506f3a95e35b91118fdf66ee0410b1c3481ee75e5db9b34547b4d582465
Vendor states this is fixed in 00cfc5fad1491796942a948808afb968a0a3f35b (fixed)
Vendor states this is fixed in 226ce0ec38316d9e3739e73a64b6b8304646c658 (fixed)
Vendor states this is fixed in 6e002ecc1c8cfdfc866b9104ab7888da54613e59 (fixed)
Vendor states this is fixed in 82c1eb32693bc48251d92532975e19160987e5b9 (fixed)
Vendor states this is fixed in 8478a729c0462273188263136880480729e9efca (fixed)
Vendor states this is fixed in a3dfec485401943e315c394c29afe2db8f9481d6 (fixed)
Vendor states this is fixed in aa77294b0f73bb8265987591460cd25b8722c3df (fixed)
Vendor states this is fixed in e2ab67672b2288521a6146034a971f9a82ffc5c5 (fixed)
Vendor states this is fixed in 5.10.238 (unaffected)
Vendor states this is fixed in 5.15.183 (unaffected)
Vendor states this is fixed in 5.4.294 (unaffected)
Vendor states this is fixed in 5.6 (unaffected)
Vendor states this is fixed in 6.1.139 (unaffected)
Vendor states this is fixed in 6.12.29 (unaffected)
Vendor states this is fixed in 6.14.7 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.91 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/00cfc5fad1491796942a948808afb968a0a3f35b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/226ce0ec38316d9e3739e73a64b6b8304646c658
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6e002ecc1c8cfdfc866b9104ab7888da54613e59
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/82c1eb32693bc48251d92532975e19160987e5b9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8478a729c0462273188263136880480729e9efca
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a3dfec485401943e315c394c29afe2db8f9481d6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/aa77294b0f73bb8265987591460cd25b8722c3df
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e2ab67672b2288521a6146034a971f9a82ffc5c5

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-667

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card