CVE-2025-37940 Affecting kernel6.12-debuginfo-common-x86_64 package, versions <0:6.12.25-32.101.amzn2023


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (15th 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-AMZN2023-KERNEL612DEBUGINFOCOMMONX8664-10692571
  • published11 Jul 2025
  • disclosed20 May 2025

Introduced: 20 May 2025

CVE-2025-37940  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 kernel6.12-debuginfo-common-x86_64 to version 0:6.12.25-32.101.amzn2023 or higher.
This issue was patched in ALAS2023-2025-995.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel6.12-debuginfo-common-x86_64 package and not the kernel6.12-debuginfo-common-x86_64 package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

In the Linux kernel, the following vulnerability has been resolved:

ftrace: Add cond_resched() to ftrace_graph_set_hash()

When the kernel contains a large number of functions that can be traced, the loop in ftrace_graph_set_hash() may take a lot of time to execute. This may trigger the softlockup watchdog.

Add cond_resched() within the loop to allow the kernel to remain responsive even when processing a large number of functions.

This matches the cond_resched() that is used in other locations of the code that iterates over all functions that can be traced.

CVSS Base Scores

version 3.1