{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49748","id":"CVE-2022-49748","title":"perf/x86/amd: fix potential integer overflow on shift of a int","description":"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.","descriptionLong":"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.","published":"2025-03-27T16:42:57.784Z","updated":"2026-11-17T07:00:28.874504291Z","reserved":"2025-03-27T16:39:17.987Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d8a6a443ff0aea5893f0a7f2726973b496b76420","lessThan":"fbf7b0e4cef3b5470b610f14fb9faa5ee7f63954","status":"affected","versionType":"git"},{"version":"471af006a747f1c535c8a8c6c0973c320fe01b22","lessThan":"f84c9b72fb200633774704d8020f769c88a4b249","status":"affected","versionType":"git"},{"version":"471af006a747f1c535c8a8c6c0973c320fe01b22","lessThan":"14cc13e433e1067557435b1adbf05608d7d47a93","status":"affected","versionType":"git"},{"version":"471af006a747f1c535c8a8c6c0973c320fe01b22","lessThan":"a4d01fb87ece45d4164fd725890211ccf9a307a9","status":"affected","versionType":"git"},{"version":"471af006a747f1c535c8a8c6c0973c320fe01b22","lessThan":"08245672cdc6505550d1a5020603b0a8d4a6dcc7","status":"affected","versionType":"git"},{"version":"3512462036dbe44d88e93e75ee8a993781183ddb","status":"affected","versionType":"git"},{"version":"5.4.22","lessThan":"5.4.231","status":"affected","versionType":"semver"},{"version":"5.5.6","lessThan":"5.6","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.6","status":"affected"},{"version":"0","lessThan":"5.6","status":"unaffected","versionType":"semver"},{"version":"5.4.231","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.166","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.91","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.9","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-190"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/fbf7b0e4cef3b5470b610f14fb9faa5ee7f63954","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f84c9b72fb200633774704d8020f769c88a4b249","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/14cc13e433e1067557435b1adbf05608d7d47a93","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a4d01fb87ece45d4164fd725890211ccf9a307a9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/08245672cdc6505550d1a5020603b0a8d4a6dcc7","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49748.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49748","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00194,"epssPercentile":0.09183,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49748","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49748","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49748","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49748","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}