Bug 2355486 (CVE-2022-49748) - CVE-2022-49748 kernel: perf/x86/amd: fix potential integer overflow on shift of a int
Summary: CVE-2022-49748 kernel: perf/x86/amd: fix potential integer overflow on shift ...
Keywords:
Status: NEW
Alias: CVE-2022-49748
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-27 17:03 UTC by OSIDB Bzimport
Modified: 2025-05-09 15:28 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-03-27 17:03:52 UTC
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.

Comment 5 Avinash Hanwate 2025-03-28 05:06:19 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025032759-CVE-2022-49748-4658@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.