Integer overflow in Linux

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 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.

Vulnerability class: Integer Overflow

EPSS: 0.002 (7.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-49748?
CVE-2022-49748 is a medium-severity vulnerability in Linux, classified under Integer Overflow or Wraparound. CVSS score: 5.5/10. Published 2025-03-27.
How severe is CVE-2022-49748?
Medium severity. CVSS v3 base score is 5.5 out of 10.