Incorrect Bitwise Shift of Integer Affecting perf package, versions <0:4.18.0-372.9.1.el8


Severity

Recommended
high

Based on CentOS security rating.

Threat Intelligence

EPSS
0.01% (3rd 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-CENTOS8-PERF-13247397
  • published4 Oct 2025
  • disclosed1 Oct 2025

Introduced: 1 Oct 2025

CVE-2021-4460  (opens in a new tab)
CWE-1335  (opens in a new tab)

How to fix?

Upgrade Centos:8 perf to version 0:4.18.0-372.9.1.el8 or higher.

NVD Description

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

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

drm/amdkfd: Fix UBSAN shift-out-of-bounds warning

If get_num_sdma_queues or get_num_xgmi_sdma_queues is 0, we end up doing a shift operation where the number of bits shifted equals number of bits in the operand. This behaviour is undefined.

Set num_sdma_queues or num_xgmi_sdma_queues to ULLONG_MAX, if the count is >= number of bits in the operand.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1472

CVSS Base Scores

version 3.1