# CVE-2022-49404: RDMA/hfi1: Fix potential integer multiplication overflow errors

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-02)
- Published: 2025-02-26T02:12:30.123Z
- Modified: 2026-06-17T05:17:57.147Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7724105686e718ac476a6ad3304fea2fbcfcffde before 252f4afd4557a2e7075f793a5c80fe6dd9e9ee4a; from 7724105686e718ac476a6ad3304fea2fbcfcffde before a89cb7ddf6a89bab6012e19da38b7cdb26175c19; from 7724105686e718ac476a6ad3304fea2fbcfcffde before 79c164e61f818054cd6012e9035701840d895c51; from 7724105686e718ac476a6ad3304fea2fbcfcffde before 8858284dd74906fa00f04f0252c75df4893a7959; from 7724105686e718ac476a6ad3304fea2fbcfcffde before 31dca00d0cc9f4133320d72eb7e3720badc6d6e6; from 7724105686e718ac476a6ad3304fea2fbcfcffde before 3f09ec80f115d2875d747ed28adc1773037e0f8b; from 7724105686e718ac476a6ad3304fea2fbcfcffde before 06039d8afefdbac05bcea5f397188407eba2996d; from 7724105686e718ac476a6ad3304fea2fbcfcffde before ef5ab2e48a5f9960e2352332b7cdb7064bb49032; from 7724105686e718ac476a6ad3304fea2fbcfcffde before f93e91a0372c922c20d5bee260b0f43b4b8a1bee; 4.3 (not affected: before 4.3; from 4.9.318 up to 4.9.*; from 4.14.283 up to 4.14.*; from 4.19.247 up to 4.19.*; from 5.4.198 up to 5.4.*; from 5.10.121 up to 5.10.*; from 5.15.46 up to 5.15.*; from 5.17.14 up to 5.17.*; from 5.18.3 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 4.3 before 4.9.318; from 4.10 before 4.14.283; from 4.15 before 4.19.247; from 4.20 before 5.4.198; from 5.5 before 5.10.121; from 5.11 before 5.15.46; from 5.16 before 5.17.14; from 5.18 before 5.18.3

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/252f4afd4557a2e7075f793a5c80fe6dd9e9ee4a> (patch)
- <https://git.kernel.org/stable/c/a89cb7ddf6a89bab6012e19da38b7cdb26175c19> (patch)
- <https://git.kernel.org/stable/c/79c164e61f818054cd6012e9035701840d895c51> (patch)
- <https://git.kernel.org/stable/c/8858284dd74906fa00f04f0252c75df4893a7959> (patch)
- <https://git.kernel.org/stable/c/31dca00d0cc9f4133320d72eb7e3720badc6d6e6> (patch)
- <https://git.kernel.org/stable/c/3f09ec80f115d2875d747ed28adc1773037e0f8b> (patch)
- <https://git.kernel.org/stable/c/06039d8afefdbac05bcea5f397188407eba2996d> (patch)
- <https://git.kernel.org/stable/c/ef5ab2e48a5f9960e2352332b7cdb7064bb49032> (patch)
- <https://git.kernel.org/stable/c/f93e91a0372c922c20d5bee260b0f43b4b8a1bee> (patch)

## Sources

- CVE List: [CVE-2022-49404](https://www.cve.org/CVERecord?id=CVE-2022-49404), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49404](https://nvd.nist.gov/vuln/detail/CVE-2022-49404), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49404 · Whole record: https://cve.day/CVE-2022-49404.json · Rebuilt by cve.day 2026-11-25T22:58:20.504Z
