CVE-2022-49404

RDMA/hfi1: Fix potential integer multiplication overflow errors

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 02:12 AM UTC
Updated: June 17, 2026 at 05:17 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.3%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/hfi1: Fix potential integer multiplication overflow errors When multiplying of different types, an overflow is possible even when storing the result in a larger type. This is because the conversion is done after the multiplication. So arithmetic overflow and thus in incorrect value is possible. Correct an instance of this in the inter packet delay calculation. Fix by ensuring one of the operands is u64 which will promote the other to u64 as well ensuring no overflow.

Affected

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

4.10 ≤ v < 4.14.2834.15 ≤ v < 4.19.2474.20 ≤ v < 5.4.1984.3 ≤ v < 4.14.2834.3 ≤ v < 4.19.2474.3 ≤ v < 4.9.3184.3 ≤ v < 5.10.1214.3 ≤ v < 5.15.464.3 ≤ v < 5.17.144.3 ≤ v < 5.18.34.3 ≤ v < 5.194.3 ≤ v < 5.4.1985.11 ≤ v < 5.15.465.16 ≤ v < 5.17.145.18 ≤ v < 5.18.35.5 ≤ v < 5.10.1214.37724105686e718ac476a6ad3304fea2fbcfcffde
Vendor states this is fixed in 06039d8afefdbac05bcea5f397188407eba2996d (fixed)
Vendor states this is fixed in 252f4afd4557a2e7075f793a5c80fe6dd9e9ee4a (fixed)
Vendor states this is fixed in 31dca00d0cc9f4133320d72eb7e3720badc6d6e6 (fixed)
Vendor states this is fixed in 3f09ec80f115d2875d747ed28adc1773037e0f8b (fixed)
Vendor states this is fixed in 79c164e61f818054cd6012e9035701840d895c51 (fixed)
Vendor states this is fixed in 8858284dd74906fa00f04f0252c75df4893a7959 (fixed)
Vendor states this is fixed in a89cb7ddf6a89bab6012e19da38b7cdb26175c19 (fixed)
Vendor states this is fixed in ef5ab2e48a5f9960e2352332b7cdb7064bb49032 (fixed)
Vendor states this is fixed in f93e91a0372c922c20d5bee260b0f43b4b8a1bee (fixed)
Vendor states this is fixed in 4.14.283 (unaffected)
Vendor states this is fixed in 4.19.247 (unaffected)
Vendor states this is fixed in 4.3 (unaffected)
Vendor states this is fixed in 4.9.318 (unaffected)
Vendor states this is fixed in 5.10.121 (unaffected)
Vendor states this is fixed in 5.15.46 (unaffected)
Vendor states this is fixed in 5.17.14 (unaffected)
Vendor states this is fixed in 5.18.3 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.4.198 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/06039d8afefdbac05bcea5f397188407eba2996d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/252f4afd4557a2e7075f793a5c80fe6dd9e9ee4a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/31dca00d0cc9f4133320d72eb7e3720badc6d6e6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3f09ec80f115d2875d747ed28adc1773037e0f8b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/79c164e61f818054cd6012e9035701840d895c51
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8858284dd74906fa00f04f0252c75df4893a7959
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a89cb7ddf6a89bab6012e19da38b7cdb26175c19
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ef5ab2e48a5f9960e2352332b7cdb7064bb49032

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