Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') Affecting torvalds/linux package, versions [5.4.24,5.4.294)[5.5.8,5.6)[5.6,5.10.238)[5.11,5.15.183)[5.16,6.1.139)[6.2,6.6.91)[6.7,6.12.29)[6.13,6.14.7)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.18% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-TORVALDSLINUX-20699488
  • published10 Oct 2026
  • disclosed29 May 2025
  • creditUnknown

Introduced: 29 May 2025

CVE-2025-37997  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 5.4.294, 5.6, 5.10.238, 5.15.183, 6.1.139, 6.6.91, 6.12.29, 6.14.7 or higher.

Overview

Affected versions of this package are vulnerable to Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') due to a race condition in the ahash_region process. An attacker can achieve arbitrary code execution, escalate privileges, or cause denial of service by exploiting a race between the garbage collector and the addition of new elements in hash-based sets with timeouts through the netfilter ipset control plane. This is only exploitable if the attacker has CAP_NET_ADMIN privileges within a user or network namespace and can configure hash sets with a hashsize of at least 2048 and short timeouts.

Note: The Linux kernel project assigns a CVE to every bug fix it ships, whether or not the bug has been shown to be exploitable. This advisory was generated from that process and has not been individually assessed for exploitability. See the kernel's CVE process documentation: https://github.com/torvalds/linux/blob/master/Documentation/process/cve.rst

CVSS Base Scores

version 4.0
version 3.1