CVE-2022-49748

perf/x86/amd: fix potential integer overflow on shift of a int

Medium · published March 27, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
8.6
In the wild
Unconfirmed
What it is

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

perf/x86/amd: fix potential integer overflow on shift of a int

The left shift of int 32 bit integer constant 1 is evaluated using 32 bit

arithmetic and then passed as a 64 bit function argument. In the case where

i is 32 or more this can lead to an overflow. Avoid this by shifting

using the BIT_ULL macro instead.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00194 · 8.6th percentile
Published
2025-03-27T16:42Z
EPSS history
Timeline
  • 27 MAR 16:42Z
    perf/x86/amd: fix potential integer overflow on shift of a int
    cvelistv5