Memory Leak Affecting kernel-tools-debuginfo package, versions <0:4.14.301-224.520.amzn2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.01% (2nd 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 Learn

Learn about Memory Leak vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-KERNELTOOLSDEBUGINFO-10499994
  • published25 Jun 2025
  • disclosed1 May 2025

Introduced: 1 May 2025

CVE-2022-49874  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 kernel-tools-debuginfo to version 0:4.14.301-224.520.amzn2 or higher.
This issue was patched in ALAS2-2022-1903.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-tools-debuginfo package and not the kernel-tools-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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

HID: hyperv: fix possible memory leak in mousevsc_probe()

If hid_add_device() returns error, it should call hid_destroy_device() to free hid_dev which is allocated in hid_allocate_device().

CVSS Base Scores

version 3.1