VDB

CVE-2025-37997

CVE-2025-37997 PUBLISHED CVSS 7.8 HIGH

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.

PackageEcosystemFixed in
kernel-headersAmazon Linux6.1.140-154.222.amzn2023

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux5dd9488ae41070b69d2f4acb580f77db5705f9ca, f66ee0410b1c3481ee75e5db9b34547b4d582465, f66ee0410b1c3481ee75e5db9b34547b4d582465
LinuxLinux5.6, 0, 5.4.294
amazon:2023kernel-headers0
linuxlinux_kernel5.5.8, 5.6, 5.6
amazon:2023kernel-tools-devel0
amazon:2023python3-perf6.120
amazon:2023kernel0
amazon:2023bpftool0
amazon:2023perf0
amazon:2023kernel-livepatch-6.12.29-33.1020
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-devel0
amazon:2023python3-perf0
amazon:2023kernel-tools0
amazon:2023kernel6.120
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-modules-extra0
amazon:2023kernel-libbpf-static0
LinuxLinux5.5.8, *, *
amazon:2023kernel-livepatch-6.1.140-154.2220

…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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›