Buffer Overflow Affecting kernel-livepatch-6.1.115-126.197 package, versions <0:1.0-0.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-KERNELLIVEPATCH61115126197-8662089
  • published25 Jan 2025
  • disclosed5 Nov 2024

Introduced: 5 Nov 2024

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

How to fix?

Upgrade Amazon-Linux:2023 kernel-livepatch-6.1.115-126.197 to version 0:1.0-0.amzn2023 or higher.
This issue was patched in ALAS2023-2025-794.

NVD Description

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

tracing: Consider the NULL character when validating the event length

strlen() returns a string length excluding the null byte. If the string length equals to the maximum buffer length, the buffer will have no space for the NULL terminating character.

This commit checks this condition and returns failure for it.

CVSS Scores

version 3.1