{"id":"CVE-2022-49404","summary":"RDMA/hfi1: Fix potential integer multiplication overflow errors","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/hfi1: Fix potential integer multiplication overflow errors\n\nWhen multiplying of different types, an overflow is possible even when\nstoring the result in a larger type. This is because the conversion is\ndone after the multiplication. So arithmetic overflow and thus in\nincorrect value is possible.\n\nCorrect an instance of this in the inter packet delay calculation.  Fix by\nensuring one of the operands is u64 which will promote the other to u64 as\nwell ensuring no overflow.","modified":"2026-04-02T08:27:33.805026Z","published":"2025-02-26T02:12:30.123Z","related":["SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1194-1","SUSE-SU-2025:1241-1","SUSE-SU-2025:1263-1","SUSE-SU-2025:1293-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49404.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/06039d8afefdbac05bcea5f397188407eba2996d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/252f4afd4557a2e7075f793a5c80fe6dd9e9ee4a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/31dca00d0cc9f4133320d72eb7e3720badc6d6e6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3f09ec80f115d2875d747ed28adc1773037e0f8b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/79c164e61f818054cd6012e9035701840d895c51"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8858284dd74906fa00f04f0252c75df4893a7959"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a89cb7ddf6a89bab6012e19da38b7cdb26175c19"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ef5ab2e48a5f9960e2352332b7cdb7064bb49032"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f93e91a0372c922c20d5bee260b0f43b4b8a1bee"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49404.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49404"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7724105686e718ac476a6ad3304fea2fbcfcffde"},{"fixed":"252f4afd4557a2e7075f793a5c80fe6dd9e9ee4a"},{"fixed":"a89cb7ddf6a89bab6012e19da38b7cdb26175c19"},{"fixed":"79c164e61f818054cd6012e9035701840d895c51"},{"fixed":"8858284dd74906fa00f04f0252c75df4893a7959"},{"fixed":"31dca00d0cc9f4133320d72eb7e3720badc6d6e6"},{"fixed":"3f09ec80f115d2875d747ed28adc1773037e0f8b"},{"fixed":"06039d8afefdbac05bcea5f397188407eba2996d"},{"fixed":"ef5ab2e48a5f9960e2352332b7cdb7064bb49032"},{"fixed":"f93e91a0372c922c20d5bee260b0f43b4b8a1bee"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49404.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}