CVE-2026-64304
crypto: qat - validate RSA CRT component lengths
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.
INFO
Published Date :
July 25, 2026, 10:17 a.m.
Last Modified :
Aug. 17, 2026, 5:17 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Update the Linux kernel to include the fix.
- Ensure RSA CRT components do not exceed half modulus size.
- Fallback to non-CRT path for oversized components.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-64304.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-64304 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-64304
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-64304 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-64304 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': '6d99c5fadd2df488103f64d6475b63ba6852202b', 'versionType': 'git'}, {'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': 'c34369473bfe92a0b46ec78d6358e30341c7f481', 'versionType': 'git'}, {'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': '1002719d13072a5e4be1e993aa61dffb4a604e82', 'versionType': 'git'}, {'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': '500319830d76911c120dc0b9605f8c16d7702844', 'versionType': 'git'}, {'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': '3d61a214fdcda41f1ebfabbb483404032a7b4d91', 'versionType': 'git'}, {'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': '6fb62b767f3e27661e8f8d2f7b85f4e098fcdb1a', 'versionType': 'git'}, {'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': 'ce42224487c504aee4b7ff3a7342e7b4d7e28cc9', 'versionType': 'git'}, {'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': 'b3ac78756588059729b9195fcc9f4b37d54057a5', 'versionType': 'git'}], 'programFiles': ['drivers/crypto/intel/qat/qat_common/qat_asym_algs.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.8'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.8', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/crypto/intel/qat/qat_common/qat_asym_algs.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': '6d99c5fadd2df488103f64d6475b63ba6852202b', 'versionType': 'git'}, {'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': 'c34369473bfe92a0b46ec78d6358e30341c7f481', 'versionType': 'git'}, {'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': '1002719d13072a5e4be1e993aa61dffb4a604e82', 'versionType': 'git'}, {'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': '500319830d76911c120dc0b9605f8c16d7702844', 'versionType': 'git'}, {'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': '3d61a214fdcda41f1ebfabbb483404032a7b4d91', 'versionType': 'git'}, {'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': '6fb62b767f3e27661e8f8d2f7b85f4e098fcdb1a', 'versionType': 'git'}, {'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': 'ce42224487c504aee4b7ff3a7342e7b4d7e28cc9', 'versionType': 'git'}, {'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': 'b3ac78756588059729b9195fcc9f4b37d54057a5', 'versionType': 'git'}], 'programFiles': ['drivers/crypto/intel/qat/qat_common/qat_asym_algs.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.8'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.8', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/crypto/intel/qat/qat_common/qat_asym_algs.c'], 'defaultStatus': 'affected'}] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 27, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 25, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': '6d99c5fadd2df488103f64d6475b63ba6852202b', 'versionType': 'git'}, {'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': 'c34369473bfe92a0b46ec78d6358e30341c7f481', 'versionType': 'git'}, {'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': '1002719d13072a5e4be1e993aa61dffb4a604e82', 'versionType': 'git'}, {'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': '500319830d76911c120dc0b9605f8c16d7702844', 'versionType': 'git'}, {'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': '3d61a214fdcda41f1ebfabbb483404032a7b4d91', 'versionType': 'git'}, {'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': '6fb62b767f3e27661e8f8d2f7b85f4e098fcdb1a', 'versionType': 'git'}, {'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': 'ce42224487c504aee4b7ff3a7342e7b4d7e28cc9', 'versionType': 'git'}, {'status': 'affected', 'version': '879f77e9071f029e1c9bd5a75814ecf51370f846', 'lessThan': 'b3ac78756588059729b9195fcc9f4b37d54057a5', 'versionType': 'git'}], 'programFiles': ['drivers/crypto/intel/qat/qat_common/qat_asym_algs.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.8'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.8', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/crypto/intel/qat/qat_common/qat_asym_algs.c'], 'defaultStatus': 'affected'}] 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. Added Reference https://git.kernel.org/stable/c/1002719d13072a5e4be1e993aa61dffb4a604e82 Added Reference https://git.kernel.org/stable/c/3d61a214fdcda41f1ebfabbb483404032a7b4d91 Added Reference https://git.kernel.org/stable/c/500319830d76911c120dc0b9605f8c16d7702844 Added Reference https://git.kernel.org/stable/c/6d99c5fadd2df488103f64d6475b63ba6852202b Added Reference https://git.kernel.org/stable/c/6fb62b767f3e27661e8f8d2f7b85f4e098fcdb1a Added Reference https://git.kernel.org/stable/c/b3ac78756588059729b9195fcc9f4b37d54057a5 Added Reference https://git.kernel.org/stable/c/c34369473bfe92a0b46ec78d6358e30341c7f481 Added Reference https://git.kernel.org/stable/c/ce42224487c504aee4b7ff3a7342e7b4d7e28cc9