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.
Published: 2026-07-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability occurs in the Linux kernel’s ChaCha20-Poly1305 crypto implementation. The function chachapoly_create() accepts an optional second template argument, but if that argument is missing it still passes the resulting error pointer returned by crypto_attr_alg_name() into strcmp() without validation. This causes a null pointer dereference that can crash the kernel, resulting in a denial‑of‑service condition. The issue mirrors the usual Crypto API template pattern, where crypto_attr_alg_name() results should be validated before string usage.

Affected Systems

All Linux kernel images that have not been updated with the Poly1305 template argument validation fix. The fix applies to every distribution’s kernel before the patch; the vulnerability is not limited to a specific kernel version. Systems running the unsupported kernel code are affected.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity, and the EPSS score of less than 1% suggests a low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalogue. If a malformed Poly1305 template is processed by the kernel, the unvalidated error pointer can lead to a kernel crash and a denial‑of‑service impact. No specific information about required privileges or access is provided in the CVE data, so the risk depends on the ability of an attacker to cause the kernel to process such a template argument.

Generated by OpenCVE AI on September 3, 2026 at 21:58 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the running kernel to a revision that includes the Poly1305 template argument validation fix.
  • If upgrading immediately is not feasible, ensure that no kernel modules or userspace components instantiate a malformed Poly1305 template; modify such code to provide a valid second argument or handle errors properly.
  • Enable module signature enforcement or other kernel hardening features to prevent unauthorized modules from loading until the vulnerability is patched.

Generated by OpenCVE AI on September 3, 2026 at 21:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 03 Sep 2026 16:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Tue, 28 Jul 2026 00:15:00 +0000


Mon, 27 Jul 2026 06:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
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.
Title crypto: chacha20poly1305 - validate poly1305 template argument
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T04:53:14.370Z

Reserved: 2026-07-19T15:36:31.779Z

Link: CVE-2026-64314

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-07-25T10:17:12.647

Modified: 2026-09-03T15:49:57.583

Link: CVE-2026-64314

cve-icon Redhat

Severity :

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64314 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T22:00:13Z

Weaknesses