NetSight
medium5.5

CVE-2022-49748

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…

Impact

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.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 5.4.22 before 5.4.231
from 5.5.6 before 5.10.166
from 5.11 before 5.15.91
from 5.16 before 6.1.9
Version 6.2

Weakness classification

References