CVE-2025-37997: Linux kernel · netfilter: ipset: fix region locking in hash types
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 5.4.0-1148.158~18.04.1 : patch Linux kernel soon.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 7% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.4.0-1148.158~18.04.1, 5.4.0-1153.160~18.04.1, 5.4.0-1151.160~18.04.1 +89
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 29 May 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-7608-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7608-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7608-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7609-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7609-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7610-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7611-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7608-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7609-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7618-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7608-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-7609-4 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-aws-6.14pkg:deb/ubuntu/linux-aws-6.14?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2025-37997 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-37997 (opens in a new tab)
- git.kernel.org/linus/8478a729c0462273188263136880480729e9efca (opens in a new tab)
- git.kernel.org/stable/c/6e002ecc1c8cfdfc866b9104ab7888da54613e59 (opens in a new tab)
- git.kernel.org/stable/c/82c1eb32693bc48251d92532975e19160987e5b9 (opens in a new tab)
- git.kernel.org/stable/c/8478a729c0462273188263136880480729e9efca (opens in a new tab)
- git.kernel.org/stable/c/a3dfec485401943e315c394c29afe2db8f9481d6 (opens in a new tab)
- git.kernel.org/stable/c/aa77294b0f73bb8265987591460cd25b8722c3df (opens in a new tab)
- git.kernel.org/stable/c/e2ab67672b2288521a6146034a971f9a82ffc5c5 (opens in a new tab)
- ubuntu.com/security/notices/USN-7608-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7608-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7608-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7609-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7609-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7610-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7611-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7608-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7609-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7618-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7608-5 (opens in a new tab)