Use of Uninitialized Variable Affecting kernel-tools-devel package, versions <0:4.14.350-266.564.amzn2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (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-AMZN2-KERNELTOOLSDEVEL-7725106
  • published21 Aug 2024
  • disclosed20 Jun 2024

Introduced: 20 Jun 2024

CVE-2024-38619  (opens in a new tab)
CWE-457  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 kernel-tools-devel to version 0:4.14.350-266.564.amzn2 or higher.
This issue was patched in ALAS2-2024-2622.

NVD Description

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

usb-storage: alauda: Check whether the media is initialized

The member "uzonesize" of struct alauda_info will remain 0 if alauda_init_media() fails, potentially causing divide errors in alauda_read_data() and alauda_write_lba().

  • Add a member "media_initialized" to struct alauda_info.
  • Change a condition in alauda_check_media() to ensure the first initialization.
  • Add an error check for the return value of alauda_init_media().

CVSS Scores

version 3.1