Buffer Overflow Affecting kernel-modules-extra package, versions <0:6.1.94-99.176.amzn2023


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (6th 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-KERNELMODULESEXTRA-8494980
  • published11 Dec 2024
  • disclosed19 Jun 2024

Introduced: 19 Jun 2024

CVE-2024-38577  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 kernel-modules-extra to version 0:6.1.94-99.176.amzn2023 or higher.
This issue was patched in ALAS2023-2024-683.

NVD Description

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

rcu-tasks: Fix show_rcu_tasks_trace_gp_kthread buffer overflow

There is a possibility of buffer overflow in show_rcu_tasks_trace_gp_kthread() if counters, passed to sprintf() are huge. Counter numbers, needed for this are unrealistically high, but buffer overflow is still possible.

Use snprintf() with buffer size instead of sprintf().

Found by Linux Verification Center (linuxtesting.org) with SVACE.

CVSS Scores

version 3.1