CVE-2022-49748

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49748
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49748.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49748
Downstream
Related
Published
2025-03-27T16:42:57.784Z
Modified
2025-11-28T02:35:37.233714Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
perf/x86/amd: fix potential integer overflow on shift of a int
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49748.json"
}
References

Affected packages

Git / 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 Unknown introduced commit / All previous commits are affected
Last affected
3512462036dbe44d88e93e75ee8a993781183ddb

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.4.231
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.166
Type
ECOSYSTEM
Events
Introduced
5.6.0
Fixed
5.15.91
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
6.1.9