Skip to main content
← All vulnerabilities
CVE-2022-49748

perf/x86/amd: fix potential integer overflow on shift of a int

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.4.231, 5.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 5.4.22 · fixed in 5.4.231; From 5.5.6 · fixed in 5.6

  • Linux Linux

    5.6

References 5

git.kernel.org