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 :
Oct. 24, 2026, 1:10 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| 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 Translated by [email protected]
Oct. 24, 2026
Action Type Old Value New Value Added Translation Title: crypto: qat - validate RSA CRT component lengths, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: crypto: qat - validar las longitudes de los componentes RSA CRT El analizador genérico de claves RSA (rsa_helper.c) limita cada componente CRT (p, q, dp, dq, qinv) por el tamaño del módulo n_sz, pero qat_rsa_setkey_crt() asigna búferes DMA de tamaño medio (key_sz / 2) y alinea a la derecha cada componente con: memcpy(dst + half_key_sz - len, src, len) Cuando un componente CRT es mayor que half_key_sz, la resta subdesborda y memcpy escribe más allá del búfer DMA, causando corrupción de memoria. Añadir una comprobación len > half_key_sz junto a la comprobación !len existente para cada uno de los cinco componentes CRT para que el controlador recurra a la ruta no-CRT en lugar de escribir fuera de los límites. -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 19, 2026
Action Type Old Value New Value Added CWE CWE-787 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 16, 2026
Action Type Old Value New Value 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 Removed Reference https://git.kernel.org/stable/c/1002719d13072a5e4be1e993aa61dffb4a604e82 Removed Reference https://git.kernel.org/stable/c/3d61a214fdcda41f1ebfabbb483404032a7b4d91 Removed Reference https://git.kernel.org/stable/c/500319830d76911c120dc0b9605f8c16d7702844 Removed Reference https://git.kernel.org/stable/c/6d99c5fadd2df488103f64d6475b63ba6852202b Removed Reference https://git.kernel.org/stable/c/6fb62b767f3e27661e8f8d2f7b85f4e098fcdb1a Removed Reference https://git.kernel.org/stable/c/b3ac78756588059729b9195fcc9f4b37d54057a5 Removed Reference https://git.kernel.org/stable/c/c34369473bfe92a0b46ec78d6358e30341c7f481 Removed Reference https://git.kernel.org/stable/c/ce42224487c504aee4b7ff3a7342e7b4d7e28cc9 Removed Reference Type https://git.kernel.org/stable/c/1002719d13072a5e4be1e993aa61dffb4a604e82 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/3d61a214fdcda41f1ebfabbb483404032a7b4d91 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/500319830d76911c120dc0b9605f8c16d7702844 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/6d99c5fadd2df488103f64d6475b63ba6852202b Types: Patch Removed Reference Type https://git.kernel.org/stable/c/6fb62b767f3e27661e8f8d2f7b85f4e098fcdb1a Types: Patch Removed Reference Type https://git.kernel.org/stable/c/b3ac78756588059729b9195fcc9f4b37d54057a5 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/c34369473bfe92a0b46ec78d6358e30341c7f481 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/ce42224487c504aee4b7ff3a7342e7b4d7e28cc9 Types: Patch -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 16, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-64304', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-10-16T15:38:47.574944Z'} -
Initial Analysis by [email protected]
Sep. 03, 2026
Action Type Old Value New Value Added CWE CWE-787 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.212 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.178 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.145 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.96 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.39 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.1.4 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.8 up to (excluding) 5.10.261 Added Reference Type kernel.org: https://git.kernel.org/stable/c/1002719d13072a5e4be1e993aa61dffb4a604e82 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/3d61a214fdcda41f1ebfabbb483404032a7b4d91 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/500319830d76911c120dc0b9605f8c16d7702844 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6d99c5fadd2df488103f64d6475b63ba6852202b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6fb62b767f3e27661e8f8d2f7b85f4e098fcdb1a Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/b3ac78756588059729b9195fcc9f4b37d54057a5 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c34369473bfe92a0b46ec78d6358e30341c7f481 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ce42224487c504aee4b7ff3a7342e7b4d7e28cc9 Types: Patch -
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