CVE-2025-37997
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2025-37997) was discovered in the Linux kernel's netfilter ipset component, specifically related to region locking in hash types. The issue was introduced in version 5.6-rc4 and involves incorrect implementation of region locking macros. The vulnerability was disclosed on May 29, 2025 (NVD).

Technical details

The vulnerability stems from three macros handling region locks: ahashbucketstart(), ahashbucketend(), and ahashregion(). While the first two macros correctly handled start and end hash bucket values for region locks, the ahashregion() macro contained an implementation error. This flaw specifically affects hash type sets configured with timeouts. The vulnerability has been assigned a CVSS v3.1 Base Score of 7.0, indicating moderate severity (Wiz).

Impact

The incorrect implementation of the ahash_region() macro can lead to race conditions between the garbage collector and the process of adding new elements when a hash type set is defined with timeouts (NVD).

Mitigation and workarounds

Red Hat has indicated that fixes are deferred for Red Hat Enterprise Linux 10 and Red Hat Enterprise Linux 9, including the kernel-rt variant. Earlier versions (RHEL 6, 7, and 8) are out of support scope. Debian 12 has a fix available, while Debian 11 and 13 currently have no fix. Ubuntu versions 16.04 through 25.04 are affected with medium severity and currently have no fix (Wiz).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40205HIGH7.8
  • Linux KernelLinux Kernel
  • linux-hwe-6.14
NoYesNov 12, 2025
CVE-2025-40211HIGH7.1
  • Linux KernelLinux Kernel
  • linux-azure-fde-6.14
NoYesNov 21, 2025
CVE-2025-40206MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoYesNov 12, 2025
CVE-2025-40210MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-tools-libs-devel
NoYesNov 21, 2025
CVE-2025-40212N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k
NoYesNov 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management