Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2022-49404

RDMA/hfi1: Fix potential integer multiplication overflow errors

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 7724105686e718ac476a6ad3304fea2fbcfcffde to < 252f4afd4557a2e7075f793a5c80fe6dd9e9ee4aaffected
  • 7724105686e718ac476a6ad3304fea2fbcfcffde to < a89cb7ddf6a89bab6012e19da38b7cdb26175c19affected
  • 7724105686e718ac476a6ad3304fea2fbcfcffde to < 79c164e61f818054cd6012e9035701840d895c51affected
  • 7724105686e718ac476a6ad3304fea2fbcfcffde to < 8858284dd74906fa00f04f0252c75df4893a7959affected
  • 7724105686e718ac476a6ad3304fea2fbcfcffde to < 31dca00d0cc9f4133320d72eb7e3720badc6d6e6affected
  • 7724105686e718ac476a6ad3304fea2fbcfcffde to < 3f09ec80f115d2875d747ed28adc1773037e0f8baffected
  • 7724105686e718ac476a6ad3304fea2fbcfcffde to < 06039d8afefdbac05bcea5f397188407eba2996daffected
  • 7724105686e718ac476a6ad3304fea2fbcfcffde to < ef5ab2e48a5f9960e2352332b7cdb7064bb49032affected
  • 7724105686e718ac476a6ad3304fea2fbcfcffde to < f93e91a0372c922c20d5bee260b0f43b4b8a1beeaffected

Linux Linux

Default version status: affected

  • 4.3affected
  • 0 to < 4.3unaffected
  • 4.9.318 to ≤ 4.9.*unaffected
  • 4.14.283 to ≤ 4.14.*unaffected
  • 4.19.247 to ≤ 4.19.*unaffected
  • 5.4.198 to ≤ 5.4.*unaffected
  • 5.10.121 to ≤ 5.10.*unaffected
  • 5.15.46 to ≤ 5.15.*unaffected
  • 5.17.14 to ≤ 5.17.*unaffected
  • 5.18.3 to ≤ 5.18.*unaffected
  • 5.19 to ≤ *unaffected

References