Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-37997

HIGH 7.8EPSS 10%

netfilter: ipset: fix region locking in hash types

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 5dd9488ae41070b69d2f4acb580f77db5705f9ca, < 00cfc5fad1491796942a948808afb968a0a3f35b; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < 226ce0ec38316d9e3739e73a64b6b8304646c658; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < 82c1eb32693bc48251d92532975e19160987e5b9; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < aa77294b0f73bb8265987591460cd25b8722c3df; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < a3dfec485401943e315c394c29afe2db8f9481d6; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < e2ab67672b2288521a6146034a971f9a82ffc5c5; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < 6e002ecc1c8cfdfc866b9104ab7888da54613e59; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < 8478a729c0462273188263136880480729e9efca; a469bab3386aebff33c59506f3a95e35b91118fd; >= 5.4.24, < 5.4.294; …
  • Anyone running Linux 5.6

Vulnerability facts

Affected
Linux >= 5dd9488ae41070b69d2f4acb580f77db5705f9ca, < 00cfc5fad1491796942a948808afb968a0a3f35b; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < 226ce0ec38316d9e3739e73a64b6b8304646c658; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < 82c1eb32693bc48251d92532975e19160987e5b9; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < aa77294b0f73bb8265987591460cd25b8722c3df; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < a3dfec485401943e315c394c29afe2db8f9481d6; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < e2ab67672b2288521a6146034a971f9a82ffc5c5; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < 6e002ecc1c8cfdfc866b9104ab7888da54613e59; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < 8478a729c0462273188263136880480729e9efca; a469bab3386aebff33c59506f3a95e35b91118fd; >= 5.4.24, < 5.4.294; …; Linux 5.6
Fixed in
Linux 00cfc5fad1491796942a948808afb968a0a3f35b, Linux 226ce0ec38316d9e3739e73a64b6b8304646c658, Linux 82c1eb32693bc48251d92532975e19160987e5b9, Linux 6e002ecc1c8cfdfc866b9104ab7888da54613e59, Linux 8478a729c0462273188263136880480729e9efca, Linux 5.4.294
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.25% chance of exploitation in 30 days (percentile 10, 2026-11-26)
CWE
CWE-667
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Linux>= 5dd9488ae41070b69d2f4acb580f77db5705f9ca, < 00cfc5fad1491796942a948808afb968a0a3f35b; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < 226ce0ec38316d9e3739e73a64b6b8304646c658; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < 82c1eb32693bc48251d92532975e19160987e5b9; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < aa77294b0f73bb8265987591460cd25b8722c3df; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < a3dfec485401943e315c394c29afe2db8f9481d6; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < e2ab67672b2288521a6146034a971f9a82ffc5c5; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < 6e002ecc1c8cfdfc866b9104ab7888da54613e59; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < 8478a729c0462273188263136880480729e9efca; a469bab3386aebff33c59506f3a95e35b91118fd; >= 5.4.24, < 5.4.294; …—cvelist
Linux5.6—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-37997. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-37997.md
Affected: Linux >= 5dd9488ae41070b69d2f4acb580f77db5705f9ca, < 00cfc5fad1491796942a948808afb968a0a3f35b; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < 226ce0ec38316d9e3739e73a64b6b8304646c658; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < 82c1eb32693bc48251d92532975e19160987e5b9; >= f66ee0410b1c3481ee75e5d…
Fixed in: Linux 00cfc5fad1491796942a948808afb968a0a3f35b, Linux 226ce0ec38316d9e3739e73a64b6b8304646c658, Linux 82c1eb32693bc48251d92532975e19160987e5b9, Linux 6e002ecc1c8cfdfc866b9104ab7888da54613e59, Linux 8478a729c0462273188263136880480729e9efca, Linux 5.4.294

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-37997 being exploited?

There is no confirmed exploitation: CVE-2025-37997 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-37997?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-37997?

Linux >= 5dd9488ae41070b69d2f4acb580f77db5705f9ca, < 00cfc5fad1491796942a948808afb968a0a3f35b; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < 226ce0ec38316d9e3739e73a64b6b8304646c658; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < 82c1eb32693bc48251d92532975e19160987e5b9; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < aa77294b0f73bb8265987591460cd25b8722c3df; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < a3dfec485401943e315c394c29afe2db8f9481d6; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < e2ab67672b2288521a6146034a971f9a82ffc5c5; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < 6e002ecc1c8cfdfc866b9104ab7888da54613e59; >= f66ee0410b1c3481ee75e5db9b34547b4d582465, < 8478a729c0462273188263136880480729e9efca; a469bab3386aebff33c59506f3a95e35b91118fd; >= 5.4.24, < 5.4.294; …; Linux 5.6.

Is there a fix for CVE-2025-37997?

Yes. Fixed in Linux 00cfc5fad1491796942a948808afb968a0a3f35b, Linux 226ce0ec38316d9e3739e73a64b6b8304646c658, Linux 82c1eb32693bc48251d92532975e19160987e5b9, Linux 6e002ecc1c8cfdfc866b9104ab7888da54613e59, Linux 8478a729c0462273188263136880480729e9efca, Linux 5.4.294. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-37997?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors