Description
In the Linux kernel, the following vulnerability has been resolved:

crypto: qat - validate RSA CRT component lengths

The generic RSA key parser (rsa_helper.c) bounds each CRT component (p,
q, dp, dq, qinv) by the modulus size n_sz, but qat_rsa_setkey_crt()
allocates half-size DMA buffers (key_sz / 2) and right-aligns each
component with:

memcpy(dst + half_key_sz - len, src, len)

When a CRT component is larger than half_key_sz the subtraction
underflows and memcpy writes past the DMA buffer, causing memory
corruption.

Add a len > half_key_sz check next to the existing !len check for each
of the five CRT components so the driver falls back to the non-CRT path
instead of writing out of bounds.
Published: 2026-07-25
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel, the QAT crypto driver incorrectly processes RSA CRT components that exceed half the modulus length. The driver allocates DMA buffers of size key_sz/2 and copies each component right‑aligned. When a component is larger than half_key_sz, the subtraction underflows and a memcpy writes beyond the buffer, corrupting kernel memory. This memory corruption can lead to arbitrary code execution or a kernel crash, as the affected area lies in the privileged address space.

Affected Systems

The flaw affects any Linux kernel build that includes the QAT crypto subsystem. No specific kernel version list is provided; the remediation is contained in a commit that updates the qat_rsa_setkey_crt function and is available in recent kernel releases.

Risk and Exploitability

The EPSS score is below 1% and the vulnerability is not listed in CISA KEV, but it resides in a privileged kernel module. The likely attack vector involves a local user or process that can trigger QAT RSA operations with a crafted key. Because the driver must be loaded and a malformed RSA key used, the attack surface is limited, yet the severity is high due to the potential for kernel memory corruption and privilege escalation.

Generated by OpenCVE AI on August 2, 2026 at 13:29 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest kernel update that incorporates the qat_rsa_setkey_crt fix, thereby preventing out-of-bounds writes.
  • If a patch is not immediately available, disable or unload the QAT crypto driver to eliminate the vulnerable code path, or configure the kernel to disallow cryptographic acceleration for RSA CRT operations.
  • As an interim measure, validate RSA keys before use—ensure that all CRT components are no larger than half the modulus length—to avoid triggering the buffer overrun.

Generated by OpenCVE AI on August 2, 2026 at 13:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4717-1 linux security update
Debian DLA Debian DLA DLA-4720-1 linux security update
Debian DLA Debian DLA DLA-4723-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
History

Sat, 01 Aug 2026 02:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Thu, 30 Jul 2026 12:15:00 +0000


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

Type Values Removed Values Added
Metrics cvssV3_1

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


Sun, 26 Jul 2026 02:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-787

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: qat - validate RSA CRT component lengths The generic RSA key parser (rsa_helper.c) bounds each CRT component (p, q, dp, dq, qinv) by the modulus size n_sz, but qat_rsa_setkey_crt() allocates half-size DMA buffers (key_sz / 2) and right-aligns each component with: memcpy(dst + half_key_sz - len, src, len) When a CRT component is larger than half_key_sz the subtraction underflows and memcpy writes past the DMA buffer, causing memory corruption. Add a len > half_key_sz check next to the existing !len check for each of the five CRT components so the driver falls back to the non-CRT path instead of writing out of bounds.
Title crypto: qat - validate RSA CRT component lengths
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-05T12:40:48.333Z

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

Link: CVE-2026-64304

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

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

Modified: 2026-08-11T15:00:57.447

Link: CVE-2026-64304

cve-icon Redhat

Severity : Important

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

Links: CVE-2026-64304 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T13:30:17Z

Weaknesses