Race Condition Affecting python3-perf-debuginfo package, versions <1:6.1.148-173.267.amzn2023


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (13th 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-PYTHON3PERFDEBUGINFO-12763987
  • published16 Sept 2025
  • disclosed22 Aug 2025

Introduced: 22 Aug 2025

NewCVE-2025-38617  (opens in a new tab)
CWE-366  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 python3-perf-debuginfo to version 1:6.1.148-173.267.amzn2023 or higher.
This issue was patched in ALAS2023-2025-1169.

NVD Description

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

net/packet: fix a race in packet_set_ring() and packet_notifier()

When packet_set_ring() releases po->bind_lock, another thread can run packet_notifier() and process an NETDEV_UP event.

This race and the fix are both similar to that of commit 15fe076edea7 ("net/packet: fix a race in packet_bind() and packet_notifier()").

There too the packet_notifier NETDEV_UP event managed to run while a po->bind_lock critical section had to be temporarily released. And the fix was similarly to temporarily set po->num to zero to keep the socket unhooked until the lock is retaken.

The po->bind_lock in packet_set_ring and packet_notifier precede the introduction of git history.

CVSS Base Scores

version 3.1