CVE-2025-37997: netfilter: ipset: fix region locking in hash types

Published May 29, 2025
·
Updated

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: ahashbucketstart(), ahashbucketend() which gave back the start and end hash bucket values belonging to a given region lock and ahashregion() 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 Software

22 affected componentsFixes available
Linux Linux kernel>5.6-rc4
Linux Linux kernel>=5.4.24<5.4.294
Linux Linux kernel>=5.5.8<5.6
Linux Linux kernel>=5.6.1<5.10.238
Linux Linux kernel>=5.11<5.15.183
Linux Linux kernel>=5.16<6.1.139
Linux Linux kernel>=6.2<6.6.91
Linux Linux kernel>=6.7<6.12.29
Linux Linux kernel>=6.13<6.14.7
Linux Linux kernel=5.6
Linux Linux kernel=5.6-rc4
Linux Linux kernel=5.6-rc5
Linux Linux kernel=5.6-rc6
Linux Linux kernel=5.6-rc7
Linux Linux kernel=6.15-rc1
Linux Linux kernel=6.15-rc2
Linux Linux kernel=6.15-rc3
Linux Linux kernel=6.15-rc4
Linux Linux kernel=6.15-rc5
Debian Debian Linux=11.0
Microsoft azl3 kernel 6.6.85.1-4
Microsoft azl3 kernel 6.6.92.2-1

Event History

May 29, 2025
CVE Published
via MITRE·01:15 PM
Data Sourced
via MITRE·01:15 PM
Description
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 11, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-37997?

CVE-2025-37997 has been classified as a moderate severity vulnerability in the Linux kernel.

2

What versions of the Linux kernel are affected by CVE-2025-37997?

CVE-2025-37997 affects Linux kernel versions starting from 5.6-rc4.

3

How do I fix CVE-2025-37997?

To fix CVE-2025-37997, you should update to a patched version of the Linux kernel that addresses this vulnerability.

4

What is the nature of the vulnerability described in CVE-2025-37997?

CVE-2025-37997 involves a flaw in region locking within the ipset component of the Linux kernel's netfilter.

5

Is there any known exploitation of CVE-2025-37997 in the wild?

As of now, there are no public reports of active exploitation of CVE-2025-37997.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203