Use After Free Affecting libperf-debuginfo package, versions <0:6.12.0-124.39.1.el10_1


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.03% (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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS10-LIBPERFDEBUGINFO-15340574
  • published25 Feb 2026
  • disclosed12 Nov 2025

Introduced: 12 Nov 2025

CVE-2025-40168  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Centos:10 libperf-debuginfo to version 0:6.12.0-124.39.1.el10_1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libperf-debuginfo package and not the libperf-debuginfo package as distributed by Centos. See How to fix? for Centos:10 relevant fixed versions and status.

In the Linux kernel, the following vulnerability has been resolved:

smc: Use __sk_dst_get() and dst_dev_rcu() in smc_clc_prfx_match().

smc_clc_prfx_match() is called from smc_listen_work() and not under RCU nor RTNL.

Using sk_dst_get(sk)->dev could trigger UAF.

Let's use __sk_dst_get() and dst_dev_rcu().

Note that the returned value of smc_clc_prfx_match() is not used in the caller.

CVSS Base Scores

version 3.1