RDMA/hfi1: Fix potential integer multiplication overflow errors
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 7724105686e718ac476a6ad3304fea2fbcfcffde · < 3f09ec80f115d2875d747ed28adc1773037e0f8b| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
An integer multiplication overflow in the Linux kernel’s RDMA/hfi1 inter-packet delay calculation can produce an incorrect value. The input does not establish how an attacker could trigger it or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with RDMA/hfi1 should check their deployments; affected versions are not specified.