CVE-2025-37997
netfilter: ipset: fix region locking in hash types
Reported by linux · Published May 29, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-headers | Amazon Linux | 6.1.140-154.222.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 5dd9488ae41070b69d2f4acb580f77db5705f9ca, f66ee0410b1c3481ee75e5db9b34547b4d582465, f66ee0410b1c3481ee75e5db9b34547b4d582465 |
| Linux | Linux | 5.6, 0, 5.4.294 |
| amazon:2023 | kernel-headers | 0 |
| linux | linux_kernel | 5.5.8, 5.6, 5.6 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-livepatch-6.12.29-33.102 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| Linux | Linux | 5.5.8, *, * |
| amazon:2023 | kernel-livepatch-6.1.140-154.222 | 0 |
…and 3 more
Timeline
- May 29, 2025 CVE Published
- May 30, 2025 EPSS Score (30 in total, the first dated here)
- Oct 12, 2025 PoC Published (5 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (116 in total, the first dated here)
- Apr 29, 2026 Security Advisory (118 in total, the first dated here)
- Jun 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-37997
vulnetix vdb fixes CVE-2025-37997
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-37997/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart