{"id":"CVE-2022-49748","summary":"perf/x86/amd: fix potential integer overflow on shift of a int","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf/x86/amd: fix potential integer overflow on shift of a int\n\nThe left shift of int 32 bit integer constant 1 is evaluated using 32 bit\narithmetic and then passed as a 64 bit function argument. In the case where\ni is 32 or more this can lead to an overflow.  Avoid this by shifting\nusing the BIT_ULL macro instead.","modified":"2026-04-02T08:27:53.193858Z","published":"2025-03-27T16:42:57.784Z","related":["SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1195-1","SUSE-SU-2025:1241-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49748.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/08245672cdc6505550d1a5020603b0a8d4a6dcc7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/14cc13e433e1067557435b1adbf05608d7d47a93"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a4d01fb87ece45d4164fd725890211ccf9a307a9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f84c9b72fb200633774704d8020f769c88a4b249"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fbf7b0e4cef3b5470b610f14fb9faa5ee7f63954"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49748.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49748"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d8a6a443ff0aea5893f0a7f2726973b496b76420"},{"fixed":"fbf7b0e4cef3b5470b610f14fb9faa5ee7f63954"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"471af006a747f1c535c8a8c6c0973c320fe01b22"},{"fixed":"f84c9b72fb200633774704d8020f769c88a4b249"},{"fixed":"14cc13e433e1067557435b1adbf05608d7d47a93"},{"fixed":"a4d01fb87ece45d4164fd725890211ccf9a307a9"},{"fixed":"08245672cdc6505550d1a5020603b0a8d4a6dcc7"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"3512462036dbe44d88e93e75ee8a993781183ddb"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49748.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}