netfilter: ipset: fix region locking in hash types
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 5 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-667 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.4.24 to before 5.4.294; 5.5.8 to before 5.6 | 5.4.294, 5.6 | Patch available | CNA |
| Linux | Linux | 5.6 and later | 5.4.294, 5.10.238, 5.15.183, 6.1.139, 6.6.91, 6.12.29, 6.14.7, 6.15 | Patch available | CNA |
- Linux VendorLinux Affected 5.4.24 to before 5.4.294; 5.5.8 to before 5.6 Fixed in 5.4.294, 5.6 Patch available CNA
- Linux VendorLinux Affected 5.6 and later 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 Patch available CNA
CPE configurations NVD · 12
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.4.24 to before 5.4.294; 5.5.8 to before 5.6; 5.6.1 to before 5.10.238; 5.11 to before 5.15.183; 5.16 to before 6.1.139; 6.2 to before 6.6.91; 6.7 to before 6.12.29; 6.13 to before 6.14.7 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.6:-:*:*:*:*:*:* | 5.6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.6:rc4:*:*:*:*:*:* | 5.6 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.6:rc5:*:*:*:*:*:* | 5.6 rc5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.6:rc6:*:*:*:*:*:* | 5.6 rc6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.6:rc7:*:*:*:*:*:* | 5.6 rc7 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:* | 6.15 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:* | 6.15 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:* | 6.15 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:* | 6.15 rc4 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.4.24 to before 5.4.294; 5.5.8 to before 5.6; 5.6.1 to before 5.10.238; 5.11 to before 5.15.183; 5.16 to before 6.1.139; 6.2 to before 6.6.91; 6.7 to before 6.12.29; 6.13 to before 6.14.7 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.6:-:*:*:*:*:*:* Versions 5.6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.6:rc4:*:*:*:*:*:* Versions 5.6 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.6:rc5:*:*:*:*:*:* Versions 5.6 rc5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.6:rc6:*:*:*:*:*:* Versions 5.6 rc6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.6:rc7:*:*:*:*:*:* Versions 5.6 rc7 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:* Versions 6.15 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:* Versions 6.15 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:* Versions 6.15 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:* Versions 6.15 rc4 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.4.294, 5.6
- Fix · CNA Linux (Linux) 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
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2025-37997
- 2026-10-03 Alias added: GHSA-jgxp-fpw7-p364
- 2026-10-16 CISA SSVC decision points changed
References
Patch 8
- 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
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2025-37997 · CVE Program
- CVE-2025-37997 · NVD
- FIRST EPSS
- GHSA-jgxp-fpw7-p364 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-37997 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences