← Database

CVE-2022-49748

MEDIUM CVSS: 5.5 Published: 2025-03-27 Modified: 2026-06-17

Description

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 Platforms

Linux Linux Kernel

Weakness Type

CWE-190, CWE-190

References