crypto: chacha20poly1305 - validate poly1305 template argument
Summary
| CVE | CVE-2026-64314 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-25 10:17:12 UTC |
| Updated | 2026-07-25 10:17:12 UTC |
| 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. |
Risk And Classification
EPSS: 0.001980000 probability, percentile 0.098930000 (date 2026-07-28)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected a298765e28adaea199f722142c10dae7e24dedf8 0016d3c21c6ab60a20be7f565cefb5999f3adeb6 git | Not specified |
| CNA | Linux | Linux | affected a298765e28adaea199f722142c10dae7e24dedf8 e74df53b36cdc6b6b9e5488ec883d1d55624737f git | Not specified |
| CNA | Linux | Linux | affected a298765e28adaea199f722142c10dae7e24dedf8 265b861bece38318b8e0fc8fac0643d4ef906d31 git | Not specified |
| CNA | Linux | Linux | affected 6.16 | Not specified |
| CNA | Linux | Linux | unaffected 6.16 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.39 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1.4 7.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.2-rc1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/265b861bece38318b8e0fc8fac0643d4ef906d31 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/0016d3c21c6ab60a20be7f565cefb5999f3adeb6 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/e74df53b36cdc6b6b9e5488ec883d1d55624737f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.