CVE-2022-49748
MEDIUM 5.5CVSS 3.1In 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.
- Published
- 27 Mar 2025
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Modified
- Weakness
- CWE-190
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.4.22, < 5.4.231 | 5.4.231 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.5.6, < 5.10.166 | 5.10.166 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.11, < 5.15.91 | 5.15.91 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.16, < 6.1.9 | 6.1.9 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.2:rc1:*:*:*:*:*:* |
= 6.2 |
References
- https://git.kernel.org/stable/c/08245672cdc6505550d1a5020603b0a8d4a6dcc7 · Patch
- https://git.kernel.org/stable/c/14cc13e433e1067557435b1adbf05608d7d47a93 · Patch
- https://git.kernel.org/stable/c/a4d01fb87ece45d4164fd725890211ccf9a307a9 · Patch
- https://git.kernel.org/stable/c/f84c9b72fb200633774704d8020f769c88a4b249 · Patch
- https://git.kernel.org/stable/c/fbf7b0e4cef3b5470b610f14fb9faa5ee7f63954 · Patch
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 27 Mar 2025)