Vulnerability · Published May 29, 2025 · Assigned by Linux
CVE-2025-37997netfilter: ipset: fix region locking in hash types
High 7.8
In plain English
A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.139-1 | DEBIAN-CVE-2025-37997 |
| Debian:13 | linux | 6.12.29-1 | DEBIAN-CVE-2025-37997 |
| Debian:14 | linux | 6.12.29-1 | DEBIAN-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux | 5.15.0-143.153 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux | 5.15.0-143.153 | USN-7608-1 |
| Ubuntu:24.04:LTS | linux | 6.8.0-63.66 | USN-7609-1 |
| Ubuntu:24.04:LTS | linux | 6.8.0-63.66 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1087.94 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1087.94 | USN-7608-1 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1031.33 | USN-7609-1 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1031.33 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-aws-6.14 | 6.14.0-1009.9~24.04.1 | USN-7665-2 |
| Ubuntu:24.04:LTS | linux-aws-6.14 | 6.14.0-1009.9~24.04.1 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1031.33~22.04.1 | USN-7609-1 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1031.33~22.04.1 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1092.101 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1092.101 | USN-7608-7 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1031.36 | USN-7609-4 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1031.36 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | 6.11.0-1018.18~24.04.1 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1031.36~22.04.1 | USN-7609-5 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1031.36~22.04.1 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1092.101.1 | UBUNTU-CVE-2025-37997 |
| Ubuntu:25.10 | linux-azure-fde | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-azure-nvidia | 6.8.0-1019.20 | USN-7609-5 |
| Ubuntu:24.04:LTS | linux-azure-nvidia | 6.8.0-1019.20 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1086.95 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1086.95 | USN-7608-1 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1032.34 | USN-7609-1 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1032.34 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-gcp-6.11 | 6.11.0-1017.17~24.04.1 | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-gcp-6.11 | 6.11.0-1017.17~24.04.1 | USN-7610-1 |
| Ubuntu:24.04:LTS | linux-gcp-6.14 | 6.14.0-1011.11~24.04.1 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1032.34~22.04.1 | USN-7609-1 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1032.34~22.04.1 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1084.90 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1084.90 | USN-7608-1 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1027.31 | USN-7609-1 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1027.31 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1069.77 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1069.77 | USN-7608-1 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1014.16 | USN-7609-1 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1014.16 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | 6.11.0-29.29~24.04.1 | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | 6.11.0-29.29~24.04.1 | USN-7610-1 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-64.67~22.04.1 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1079.82 | USN-7608-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1079.82 | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1028.28 | USN-7609-3 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1028.28 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1028.28~22.04.1 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1082.88 | USN-7608-5 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1082.88 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1083.88 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1083.88 | USN-7608-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-143.153 | USN-7608-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-143.153 | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-63.66.1 | USN-7609-1 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-63.66.1 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | 6.11.0-1016.17~24.04.1 | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | 6.11.0-1016.17~24.04.1 | USN-7610-3 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-63.66.1~22.04.1 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-63.66.1~22.04.1 | USN-7609-1 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1081.82 | USN-7608-1 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1081.82 | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1030.33 | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1030.33 | USN-7609-1 |
| Ubuntu:24.04:LTS | linux-nvidia-6.11 | 6.11.0-1012.12 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1030.33~22.04.1 | USN-7609-1 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1030.33~22.04.1 | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1030.33.1 | USN-7609-1 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1030.33.1 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1040.40 | USN-7608-5 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1040.40 | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-nvidia-tegra | 6.8.0-1008.8 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1029.29 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1029.29 | USN-7608-5 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | 6.11.0-1025.25 | USN-7610-2 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | 6.11.0-1025.25 | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-oem-6.14 | 6.14.0-1006.6 | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-oem-6.14 | 6.14.0-1006.6 | USN-7618-1 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | 6.8.0-1030.30 | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | 6.8.0-1030.30 | USN-7609-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1084.90 | USN-7608-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1084.90 | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1028.29 | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1028.29 | USN-7609-1 |
| Ubuntu:24.04:LTS | linux-oracle-6.14 | 6.14.0-1009.9~24.04.1 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1028.29~22.04.1 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1028.29~22.04.1 | USN-7609-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1083.86 | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1030.34 | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1030.34 | USN-7609-1 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-riscv-6.14 | 6.14.0-23.23.1~24.04.1 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-riscv-6.8 | 6.8.0-63.66~22.04.1 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2025-37997 |
| Ubuntu:24.04:LTS | linux-xilinx | 6.8.0-1017.18 | UBUNTU-CVE-2025-37997 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1051.55 | USN-7608-6 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1051.55 | UBUNTU-CVE-2025-37997 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 5dd9488ae41070b69d2f4acb580f77db5705f9ca – before 00cfc5fad1491796942a948808afb968a0a3f35bf66ee0410b1c3481ee75e5db9b34547b4d582465 – before 226ce0ec38316d9e3739e73a64b6b8304646c658f66ee0410b1c3481ee75e5db9b34547b4d582465 – before 82c1eb32693bc48251d92532975e19160987e5b9f66ee0410b1c3481ee75e5db9b34547b4d582465 – before aa77294b0f73bb8265987591460cd25b8722c3dff66ee0410b1c3481ee75e5db9b34547b4d582465 – before a3dfec485401943e315c394c29afe2db8f9481d6f66ee0410b1c3481ee75e5db9b34547b4d582465 – before e2ab67672b2288521a6146034a971f9a82ffc5c5f66ee0410b1c3481ee75e5db9b34547b4d582465 – before 6e002ecc1c8cfdfc866b9104ab7888da54613e59f66ee0410b1c3481ee75e5db9b34547b4d582465 – before 8478a729c0462273188263136880480729e9efca |
| Linux | Linux | 5.6 |
References
- https://git.kernel.org/stable/c/00cfc5fad1491796942a948808afb968a0a3f35b
- https://git.kernel.org/stable/c/226ce0ec38316d9e3739e73a64b6b8304646c658
- https://git.kernel.org/stable/c/82c1eb32693bc48251d92532975e19160987e5b9
- https://git.kernel.org/stable/c/aa77294b0f73bb8265987591460cd25b8722c3df
- https://git.kernel.org/stable/c/a3dfec485401943e315c394c29afe2db8f9481d6
- https://git.kernel.org/stable/c/e2ab67672b2288521a6146034a971f9a82ffc5c5
- https://git.kernel.org/stable/c/6e002ecc1c8cfdfc866b9104ab7888da54613e59
- https://git.kernel.org/stable/c/8478a729c0462273188263136880480729e9efca
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html