What’s Vulnerable › Vulnerabilities

CVE-2022-49748: perf/x86/amd: fix potential integer overflow on shift of a int

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.166, 5.15.91, 5.4.231, 6.1.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49748 or the next vulnerability affects your stack