CVE-2026-64314

In the Linux kernel, the following vulnerability has been resolved: crypto: chacha20poly1305 - validate poly1305 template argument chachapoly_create() still accepts the compatibility poly1305 parameter in the template name, but it assumes the second template argument is always present and immediately passes it to strcmp(). When the argument is missing, crypto_attr_alg_name() returns an error pointer. Check for that before comparing the name so malformed template instantiations fail with an error instead of dereferencing the error pointer in strcmp(). This matches the surrounding Crypto API template pattern where crypto_attr_alg_name() results are validated before string-specific use.
Configurations

Configuration 1 (hide)

OR 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: chacha20poly1305 - validar argumento de plantilla poly1305 chachapoly_create() aún acepta el parámetro de compatibilidad poly1305 en el nombre de la plantilla, pero asume que el segundo argumento de plantilla siempre está presente y lo pasa inmediatamente a strcmp(). Cuando falta el argumento, crypto_attr_alg_name() devuelve un puntero de error. Comprobar eso antes de comparar el nombre para que las instanciaciones de plantilla mal formadas fallen con un error en lugar de desreferenciar el puntero de error en strcmp(). Esto coincide con el patrón de plantilla de la API de Criptografía circundante donde los resultados de crypto_attr_alg_name() se validan antes de su uso específico de cadena.

Information

Published : 2026-07-25 10:17

Updated : 2026-10-24 13:10


NVD link : CVE-2026-64314

Mitre link : CVE-2026-64314

CVE.ORG link : CVE-2026-64314


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference