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

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-03-27T16:42:57.784Z
- Modified: 2026-06-17T05:19:02.220Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from d8a6a443ff0aea5893f0a7f2726973b496b76420 before fbf7b0e4cef3b5470b610f14fb9faa5ee7f63954; from 471af006a747f1c535c8a8c6c0973c320fe01b22 before f84c9b72fb200633774704d8020f769c88a4b249; from 471af006a747f1c535c8a8c6c0973c320fe01b22 before 14cc13e433e1067557435b1adbf05608d7d47a93; from 471af006a747f1c535c8a8c6c0973c320fe01b22 before a4d01fb87ece45d4164fd725890211ccf9a307a9; from 471af006a747f1c535c8a8c6c0973c320fe01b22 before 08245672cdc6505550d1a5020603b0a8d4a6dcc7; 3512462036dbe44d88e93e75ee8a993781183ddb; from 5.4.22 before 5.4.231; from 5.5.6 before 5.6; 5.6 (not affected: before 5.6; from 5.4.231 up to 5.4.*; from 5.10.166 up to 5.10.*; from 5.15.91 up to 5.15.*; from 6.1.9 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 5.4.22 before 5.4.231; from 5.5.6 before 5.10.166; from 5.11 before 5.15.91; from 5.16 before 6.1.9; 6.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/fbf7b0e4cef3b5470b610f14fb9faa5ee7f63954> (patch)
- <https://git.kernel.org/stable/c/f84c9b72fb200633774704d8020f769c88a4b249> (patch)
- <https://git.kernel.org/stable/c/14cc13e433e1067557435b1adbf05608d7d47a93> (patch)
- <https://git.kernel.org/stable/c/a4d01fb87ece45d4164fd725890211ccf9a307a9> (patch)
- <https://git.kernel.org/stable/c/08245672cdc6505550d1a5020603b0a8d4a6dcc7> (patch)

## Sources

- CVE List: [CVE-2022-49748](https://www.cve.org/CVERecord?id=CVE-2022-49748), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2022-49748](https://nvd.nist.gov/vuln/detail/CVE-2022-49748), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49748 · Whole record: https://cve.day/CVE-2022-49748.json · Rebuilt by cve.day 2026-11-25T22:58:20.843Z
