CVE-2025-37997
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-667CVE-2025-37997 is a Improper Locking vulnerability
What is Improper Locking?
The product does not properly acquire or release a lock, which can lead to unexpected behaviour. Learn more on MITRE CWE
Affected versions
Linux kernel versions
5.4.24,
5.5.8,
5.6
and later are affected. Fixed in
5.4.294,
5.10.238,
5.15.183,
6.1.139,
6.6.91,
6.12.29,
6.14.7,
6.15
and their respective stable series.
References
The following references provide additional information about CVE-2025-37997 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
Third Party Advisory
-
Third Party Advisory
-
PatchKernel patch commithttps://git.kernel.org/stable/c/00cfc5fad1491796942a948808afb968a0a3f35b
-
PatchKernel patch commithttps://git.kernel.org/stable/c/226ce0ec38316d9e3739e73a64b6b8304646c658
-
PatchKernel patch commithttps://git.kernel.org/stable/c/6e002ecc1c8cfdfc866b9104ab7888da54613e59
Frequently asked questions
-
What is CVE-2025-37997?
CVE-2025-37997 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as an Improper Locking flaw (CWE-667) . It affects Linux kernel versions from 5.4.24 onward and has been patched in 5.4.294, 5.10.238, 5.15.183 and others. CVE-2025-37997 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-37997?
CVE-2025-37997 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-37997?
Yes — CVE-2025-37997 has been patched. Fixed versions include 5.4.294, 5.10.238, 5.15.183 and others. If you are running Linux kernel 5.4.24 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-37997 actively exploited?
No — CVE-2025-37997 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Improper Locking (CWE-667)?
The product does not properly acquire or release a lock, which can lead to unexpected behaviour. View CWE-667 on MITRE CWE →