{"id":"CVE-2022-49404","aliases":["CVE-2022-49404"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/hfi1: Fix potential integer multiplication overflow errors","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: RDMA/hfi1: Se corrigen posibles errores de desbordamiento de multiplicación de enteros Al multiplicar diferentes tipos, es posible que se produzca un desbordamiento incluso cuando se almacena el resultado en un tipo más grande. Esto se debe a que la conversión se realiza después de la multiplicación. Por lo tanto, es posible que se produzca un desbordamiento aritmético y, por lo tanto, un valor incorrecto. Corrija una instancia de esto en el cálculo del retraso entre paquetes. Solucione asegurándose de que uno de los operandos sea u64, lo que promoverá el otro a u64 y también garantizará que no haya desbordamiento.","source":"nvd"}],"published":"2025-02-26T02:12:30.123Z","modified":"2026-06-17T05:17:57.147Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"type":"git","introduced":"7724105686e718ac476a6ad3304fea2fbcfcffde","fixed":"252f4afd4557a2e7075f793a5c80fe6dd9e9ee4a","status":"affected"},{"type":"git","introduced":"7724105686e718ac476a6ad3304fea2fbcfcffde","fixed":"a89cb7ddf6a89bab6012e19da38b7cdb26175c19","status":"affected"},{"type":"git","introduced":"7724105686e718ac476a6ad3304fea2fbcfcffde","fixed":"79c164e61f818054cd6012e9035701840d895c51","status":"affected"},{"type":"git","introduced":"7724105686e718ac476a6ad3304fea2fbcfcffde","fixed":"8858284dd74906fa00f04f0252c75df4893a7959","status":"affected"},{"type":"git","introduced":"7724105686e718ac476a6ad3304fea2fbcfcffde","fixed":"31dca00d0cc9f4133320d72eb7e3720badc6d6e6","status":"affected"},{"type":"git","introduced":"7724105686e718ac476a6ad3304fea2fbcfcffde","fixed":"3f09ec80f115d2875d747ed28adc1773037e0f8b","status":"affected"},{"type":"git","introduced":"7724105686e718ac476a6ad3304fea2fbcfcffde","fixed":"06039d8afefdbac05bcea5f397188407eba2996d","status":"affected"},{"type":"git","introduced":"7724105686e718ac476a6ad3304fea2fbcfcffde","fixed":"ef5ab2e48a5f9960e2352332b7cdb7064bb49032","status":"affected"},{"type":"git","introduced":"7724105686e718ac476a6ad3304fea2fbcfcffde","fixed":"f93e91a0372c922c20d5bee260b0f43b4b8a1bee","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.3","status":"unaffected"},{"type":"semver","introduced":"4.9.318","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.283","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.247","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.198","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.121","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.46","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.17.14","lastAffected":"5.17.*","status":"unaffected"},{"type":"semver","introduced":"5.18.3","lastAffected":"5.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.3","fixed":"4.9.318"},{"status":"affected","introduced":"4.10","fixed":"4.14.283"},{"status":"affected","introduced":"4.15","fixed":"4.19.247"},{"status":"affected","introduced":"4.20","fixed":"5.4.198"},{"status":"affected","introduced":"5.5","fixed":"5.10.121"},{"status":"affected","introduced":"5.11","fixed":"5.15.46"},{"status":"affected","introduced":"5.16","fixed":"5.17.14"},{"status":"affected","introduced":"5.18","fixed":"5.18.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/252f4afd4557a2e7075f793a5c80fe6dd9e9ee4a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a89cb7ddf6a89bab6012e19da38b7cdb26175c19","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/79c164e61f818054cd6012e9035701840d895c51","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8858284dd74906fa00f04f0252c75df4893a7959","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/31dca00d0cc9f4133320d72eb7e3720badc6d6e6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3f09ec80f115d2875d747ed28adc1773037e0f8b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/06039d8afefdbac05bcea5f397188407eba2996d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ef5ab2e48a5f9960e2352332b7cdb7064bb49032","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f93e91a0372c922c20d5bee260b0f43b4b8a1bee","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:41:18.630Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49404","url":"https://www.cve.org/CVERecord?id=CVE-2022-49404","licence":"CVE Terms of Use","modified":"2026-05-11T18:59:06.374Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49404","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49404","licence":"Public domain","modified":"2026-06-17T05:17:57.147Z"}],"updatedAt":"2026-11-25T22:58:20.504Z","epss":{"score":0.00276,"percentile":0.21373,"date":"2026-12-02T12:00:21.000Z"}}