Incorrect Calculation of Buffer Size Affecting kernel6.18-libbpf package, versions <1:6.18.16-18.222.amzn2023


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.02% (4th 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-KERNEL618LIBBPF-16740586
  • published18 May 2026
  • disclosed6 May 2026

Introduced: 6 May 2026

NewCVE-2026-43150  (opens in a new tab)
CWE-131  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 kernel6.18-libbpf to version 1:6.18.16-18.222.amzn2023 or higher.
This issue was patched in ALAS2023-2026-1711.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel6.18-libbpf package and not the kernel6.18-libbpf 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:

perf/arm-cmn: Reject unsupported hardware configurations

So far we've been fairly lax about accepting both unknown CMN models (at least with a warning), and unknown revisions of those which we do know, as although things do frequently change between releases, typically enough remains the same to be somewhat useful for at least some basic bringup checks. However, we also make assumptions of the maximum supported sizes and numbers of things in various places, and there's no guarantee that something new might not be bigger and lead to nasty array overflows. Make sure we only try to run on things that actually match our assumptions and so will not risk memory corruption.

We have at least always failed on completely unknown node types, so update that error message for clarity and consistency too.

CVSS Base Scores

version 3.1