Incorrect Check of Function Return Value Affecting perf6.12-debuginfo package, versions <1:6.12.58-82.121.amzn2023


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.18% (8th 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-PERF612DEBUGINFO-15920978
  • published7 Apr 2026
  • disclosed16 Dec 2025

Introduced: 16 Dec 2025

CVE-2025-68186  (opens in a new tab)
CWE-253  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 perf6.12-debuginfo to version 1:6.12.58-82.121.amzn2023 or higher.
This issue was patched in ALAS2023-2026-1495.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perf6.12-debuginfo package and not the perf6.12-debuginfo 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:

ring-buffer: Do not warn in ring_buffer_map_get_reader() when reader catches up

The function ring_buffer_map_get_reader() is a bit more strict than the other get reader functions, and except for certain situations the rb_get_reader_page() should not return NULL. If it does, it triggers a warning.

This warning was triggering but after looking at why, it was because another acceptable situation was happening and it wasn't checked for.

If the reader catches up to the writer and there's still data to be read on the reader page, then the rb_get_reader_page() will return NULL as there's no new page to get.

In this situation, the reader page should not be updated and no warning should trigger.

CVSS Base Scores

version 3.1