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

Published · last modified .

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.

EPSS exploit prediction

EPSS 0.002, 9.1th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 3512462036dbe44d88e93e75ee8a993781183ddb, 5.4.231, 5.6
  • Linux Kernel — versions 6.2

Weakness classification (CWE)

References