CVE-2022-49404

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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

17 Apr 2025, 20:28

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Summary
  • (es) 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.
References () https://git.kernel.org/stable/c/06039d8afefdbac05bcea5f397188407eba2996d - () https://git.kernel.org/stable/c/06039d8afefdbac05bcea5f397188407eba2996d - Patch
References () https://git.kernel.org/stable/c/252f4afd4557a2e7075f793a5c80fe6dd9e9ee4a - () https://git.kernel.org/stable/c/252f4afd4557a2e7075f793a5c80fe6dd9e9ee4a - Patch
References () https://git.kernel.org/stable/c/31dca00d0cc9f4133320d72eb7e3720badc6d6e6 - () https://git.kernel.org/stable/c/31dca00d0cc9f4133320d72eb7e3720badc6d6e6 - Patch
References () https://git.kernel.org/stable/c/3f09ec80f115d2875d747ed28adc1773037e0f8b - () https://git.kernel.org/stable/c/3f09ec80f115d2875d747ed28adc1773037e0f8b - Patch
References () https://git.kernel.org/stable/c/79c164e61f818054cd6012e9035701840d895c51 - () https://git.kernel.org/stable/c/79c164e61f818054cd6012e9035701840d895c51 - Patch
References () https://git.kernel.org/stable/c/8858284dd74906fa00f04f0252c75df4893a7959 - () https://git.kernel.org/stable/c/8858284dd74906fa00f04f0252c75df4893a7959 - Patch
References () https://git.kernel.org/stable/c/a89cb7ddf6a89bab6012e19da38b7cdb26175c19 - () https://git.kernel.org/stable/c/a89cb7ddf6a89bab6012e19da38b7cdb26175c19 - Patch
References () https://git.kernel.org/stable/c/ef5ab2e48a5f9960e2352332b7cdb7064bb49032 - () https://git.kernel.org/stable/c/ef5ab2e48a5f9960e2352332b7cdb7064bb49032 - Patch
References () https://git.kernel.org/stable/c/f93e91a0372c922c20d5bee260b0f43b4b8a1bee - () https://git.kernel.org/stable/c/f93e91a0372c922c20d5bee260b0f43b4b8a1bee - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE CWE-190
First Time Linux linux Kernel
Linux

26 Feb 2025, 07:01

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-26 07:01

Updated : 2025-04-17 20:28


NVD link : CVE-2022-49404

Mitre link : CVE-2022-49404

CVE.ORG link : CVE-2022-49404


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-190

Integer Overflow or Wraparound