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.
References
Configurations
Configuration 1 (hide)
|
History
14 Apr 2025, 20:27
Type | Values Removed | Values Added |
---|---|---|
First Time |
Linux linux Kernel
Linux |
|
CWE | CWE-190 | |
References | () https://git.kernel.org/stable/c/08245672cdc6505550d1a5020603b0a8d4a6dcc7 - Patch | |
References | () https://git.kernel.org/stable/c/14cc13e433e1067557435b1adbf05608d7d47a93 - Patch | |
References | () https://git.kernel.org/stable/c/a4d01fb87ece45d4164fd725890211ccf9a307a9 - Patch | |
References | () https://git.kernel.org/stable/c/f84c9b72fb200633774704d8020f769c88a4b249 - Patch | |
References | () https://git.kernel.org/stable/c/fbf7b0e4cef3b5470b610f14fb9faa5ee7f63954 - Patch | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.5 |
CPE | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.2:rc1:*:*:*:*:*:* |
|
Summary |
|
27 Mar 2025, 17:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-03-27 17:15
Updated : 2025-04-14 20:27
NVD link : CVE-2022-49748
Mitre link : CVE-2022-49748
CVE.ORG link : CVE-2022-49748
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-190
Integer Overflow or Wraparound