CVEvulnerability

CVE-2026-64314

5.5 MEDIUM Published 2026-07-25 Modified 2026-10-24 Official page ↗
Status
Analyzed
Published
2026-07-25
Last modified
2026-10-24
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-476

Description

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.

Affected configurations

• linux linux kernel (>= 6.16 < 6.18.39) • linux linux kernel (>= 6.19 < 7.1.4)

Related

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References