Medium severity5.5NVD Advisory· Published Jul 25, 2026· Updated Sep 3, 2026
CVE-2026-64314
CVE-2026-64314
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 products
3- osv-coords2 versions
>= 6.16.0, < 6.18.39+ 1 more
- (no CPE)range: >= 6.16.0, < 6.18.39
- (no CPE)range: < 7.1.7-1.1
Patches
Vulnerability mechanics
References
3News mentions
0No linked articles in our index yet.