CVE-2026-64313

In the Linux kernel, the following vulnerability has been resolved: crypto: ecc - Fix carry overflow in vli multiplication The carry flag calculation fails when r01.m_high is saturated (0xFFFFFFFFFFFFFFFF) and addition of lower bits overflows. The condition (r01.m_high < product.m_high) doesn't handle the case where r01.m_high == product.m_high and an additional carry exists from lower-bit overflow. When commit 3c4b23901a0c ("crypto: ecdh - Add ECDH software support") introduced crypto/ecc.c, it split the muladd() function in the micro-ecc library into separate mul_64_64() and add_128_128() helpers. It seems the check got lost in translation. Add proper handling for this boundary by accounting for the carry from the lower addition.
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:*:*:*:*:*:*:*:*

History

24 Oct 2026, 13:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: crypto: ecc - Corrección de desbordamiento de acarreo en la multiplicación vli El cálculo del flag de acarreo falla cuando r01.m_high está saturado (0xFFFFFFFFFFFFFFFF) y la adición de bits inferiores se desborda. La condición (r01.m_high < product.m_high) no maneja el caso donde r01.m_high == product.m_high y existe un acarreo adicional del desbordamiento de bits inferiores. Cuando el commit 3c4b23901a0c (“crypto: ecdh - Add ECDH software support”) introdujo crypto/ecc.c, dividió la función muladd() en la biblioteca micro-ecc en helpers separados mul_64_64() y add_128_128(). Parece que la verificación se perdió en la traducción. Añadir manejo adecuado para este límite al tener en cuenta el acarreo de la adición inferior.

Information

Published : 2026-07-25 10:17

Updated : 2026-10-24 13:10


NVD link : CVE-2026-64313

Mitre link : CVE-2026-64313

CVE.ORG link : CVE-2026-64313


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-190

Integer Overflow or Wraparound