CVE-2022-49748

perf/x86/amd: fix potential integer overflow on shift of a int

MEDIUM
5.5
CVSS Score
Published: March 27, 2025 at 04:42 PM UTC
Updated: June 17, 2026 at 05:19 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 5.5.65.11 ≤ v < 5.15.915.16 ≤ v < 6.1.95.4.22 ≤ v < 5.4.2315.5.6 ≤ v < 5.10.1665.5.6 ≤ v < 5.65.6 ≤ v < 5.10.1665.6 ≤ v < 5.15.915.6 ≤ v < 6.1.95.6 ≤ v < 6.23512462036dbe44d88e93e75ee8a993781183ddb471af006a747f1c535c8a8c6c0973c320fe01b225.4.225.5.66.2 rc1d8a6a443ff0aea5893f0a7f2726973b496b76420
Vendor states this is fixed in 08245672cdc6505550d1a5020603b0a8d4a6dcc7 (fixed)
Vendor states this is fixed in 14cc13e433e1067557435b1adbf05608d7d47a93 (fixed)
Vendor states this is fixed in a4d01fb87ece45d4164fd725890211ccf9a307a9 (fixed)
Vendor states this is fixed in f84c9b72fb200633774704d8020f769c88a4b249 (fixed)
Vendor states this is fixed in fbf7b0e4cef3b5470b610f14fb9faa5ee7f63954 (fixed)
Vendor states this is fixed in 5.10.166 (unaffected)
Vendor states this is fixed in 5.15.91 (unaffected)
Vendor states this is fixed in 5.4.231 (unaffected)
Vendor states this is fixed in 5.6 (unaffected)
Vendor states this is fixed in 6.1.9 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/08245672cdc6505550d1a5020603b0a8d4a6dcc7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/14cc13e433e1067557435b1adbf05608d7d47a93
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a4d01fb87ece45d4164fd725890211ccf9a307a9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f84c9b72fb200633774704d8020f769c88a4b249
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fbf7b0e4cef3b5470b610f14fb9faa5ee7f63954

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-190

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card