Resource Injection Affecting kernel-debuginfo package, versions <0:6.1.129-138.220.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-KERNELDEBUGINFO-10338423
  • published11 Jun 2025
  • disclosed27 Feb 2025

Introduced: 27 Feb 2025

CVE-2025-21795  (opens in a new tab)
CWE-99  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 kernel-debuginfo to version 0:6.1.129-138.220.amzn2023 or higher.
This issue was patched in ALAS2023-2025-876.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-debuginfo package and not the kernel-debuginfo 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:

NFSD: fix hang in nfsd4_shutdown_callback

If nfs4_client is in courtesy state then there is no point to send the callback. This causes nfsd4_shutdown_callback to hang since cl_cb_inflight is not 0. This hang lasts about 15 minutes until TCP notifies NFSD that the connection was dropped.

This patch modifies nfsd4_run_cb_work to skip the RPC call if nfs4_client is in courtesy state.

CVSS Base Scores

version 3.1