CVE-2025-37997 json
netfilter: ipset: fix region locking in hash types
published 2025-05-29 17 mo ago modified 2026-10-15 24 d ago also EUVD-2025-16383
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 7%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.4.294, 5.6, 5.10.238, 5.15.183, 6.1.139, 6.6.91, 6.12.29, 6.14.7, 6.15
- linux Debian 12 6.1.139-1
- linux Debian 14, Debian 13 6.12.29-1
debian advisories DEBIAN-CVE-2025-37997
- linux Ubuntu 22.04 LTS 5.15.0-143.153
- linux Ubuntu 24.04 LTS 6.8.0-63.66
- linux-aws Ubuntu 22.04 LTS 5.15.0-1087.94
- linux-aws Ubuntu 24.04 LTS 6.8.0-1031.33
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1086.95
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1032.34
- linux-gke Ubuntu 22.04 LTS 5.15.0-1084.90
- linux-gke Ubuntu 24.04 LTS 6.8.0-1027.31
ubuntu advisories UBUNTU-CVE-2025-37997
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-coco SLE Module for Confidential Computing Technical Preview 15 SP6 6.4.0-15061.28.coco15sp6.1
- kernel-syms-coco SLE Module for Confidential Computing Technical Preview 15 SP6 6.4.0-15061.28.coco15sp6.1
- kernel-coco_debug SLE Module for Confidential Computing Technical Preview 15 SP6 6.4.0-15061.28.coco15sp6.1
- kernel-source-coco SLE Module for Confidential Computing Technical Preview 15 SP6 6.4.0-15061.28.coco15sp6.1
- dtb-aarch64 openSUSE Leap 15.6 6.4.0-150600.23.60.3
- kernel-64kb SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 6.4.0-150600.23.60.4
- kernel-syms SLE Module for Development Tools 15 SP6, openSUSE Leap 15.6 6.4.0-150600.23.60.4
- kernel-obs-qa openSUSE Leap 15.6 6.4.0-150600.23.60.2
suse advisories SUSE-SU-2025:02923-1SUSE-SU-2025:02538-1SUSE-SU-2025:02537-1SUSE-SU-2025:20498-1SUSE-SU-2025:20483-1SUSE-SU-2025:02335-1
- git.kernel.org/stable/c/00cfc5fad1491796942a948808afb968a0a3f35b commit
- git.kernel.org/stable/c/226ce0ec38316d9e3739e73a64b6b8304646c658 commit
- git.kernel.org/stable/c/82c1eb32693bc48251d92532975e19160987e5b9 commit
- git.kernel.org/stable/c/aa77294b0f73bb8265987591460cd25b8722c3df commit
- git.kernel.org/stable/c/a3dfec485401943e315c394c29afe2db8f9481d6 commit
- git.kernel.org/stable/c/e2ab67672b2288521a6146034a971f9a82ffc5c5 commit
- git.kernel.org/stable/c/6e002ecc1c8cfdfc866b9104ab7888da54613e59 commit
- git.kernel.org/stable/c/8478a729c0462273188263136880480729e9efca commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-37997 updated cvss 4.7
kernel: netfilter: ipset: fix region locking in hash types
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelaffected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 24 d ago
Exploit prediction
0.18% chance of exploitation in the next 30 days, higher than 7% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-667 Improper Locking
- Technology feeds
References
-
git.kernel.org
/stable/c/00cfc5fad1491796942a948808afb968a0a3f35b
patch
-
git.kernel.org
/stable/c/226ce0ec38316d9e3739e73a64b6b8304646c658
patch
-
git.kernel.org
/stable/c/82c1eb32693bc48251d92532975e19160987e5b9
patch
-
git.kernel.org
/stable/c/aa77294b0f73bb8265987591460cd25b8722c3df
patch
-
git.kernel.org
/stable/c/a3dfec485401943e315c394c29afe2db8f9481d6
patch
-
git.kernel.org
/stable/c/e2ab67672b2288521a6146034a971f9a82ffc5c5
patch
-
git.kernel.org
/stable/c/6e002ecc1c8cfdfc866b9104ab7888da54613e59
patch
-
git.kernel.org
/stable/c/8478a729c0462273188263136880480729e9efca
patch
-
lists.debian.org
/debian-lts-announce/2025/10/msg00007.html
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2025/08/msg00010.html
third-party-advisory
Sources
- CVE List CVE-2025-37997
- NVD CVE-2025-37997
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.