CVE-2026-64304
crypto: qat - validate RSA CRT component lengths
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 6d99c5fadd2df488103f64d6475b63ba6852202b; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < c34369473bfe92a0b46ec78d6358e30341c7f481; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 1002719d13072a5e4be1e993aa61dffb4a604e82; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 500319830d76911c120dc0b9605f8c16d7702844; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 3d61a214fdcda41f1ebfabbb483404032a7b4d91; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 6fb62b767f3e27661e8f8d2f7b85f4e098fcdb1a; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < ce42224487c504aee4b7ff3a7342e7b4d7e28cc9; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < b3ac78756588059729b9195fcc9f4b37d54057a5
- Anyone running Linux 4.8
Vulnerability facts
- Affected
- Linux >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 6d99c5fadd2df488103f64d6475b63ba6852202b; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < c34369473bfe92a0b46ec78d6358e30341c7f481; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 1002719d13072a5e4be1e993aa61dffb4a604e82; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 500319830d76911c120dc0b9605f8c16d7702844; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 3d61a214fdcda41f1ebfabbb483404032a7b4d91; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 6fb62b767f3e27661e8f8d2f7b85f4e098fcdb1a; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < ce42224487c504aee4b7ff3a7342e7b4d7e28cc9; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < b3ac78756588059729b9195fcc9f4b37d54057a5; Linux 4.8
- Fixed in
- Linux 6d99c5fadd2df488103f64d6475b63ba6852202b, Linux 1002719d13072a5e4be1e993aa61dffb4a604e82, Linux 500319830d76911c120dc0b9605f8c16d7702844, Linux 3d61a214fdcda41f1ebfabbb483404032a7b4d91, Linux 6fb62b767f3e27661e8f8d2f7b85f4e098fcdb1a
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.18% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- CWE
- CWE-787
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 6d99c5fadd2df488103f64d6475b63ba6852202b; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < c34369473bfe92a0b46ec78d6358e30341c7f481; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 1002719d13072a5e4be1e993aa61dffb4a604e82; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 500319830d76911c120dc0b9605f8c16d7702844; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 3d61a214fdcda41f1ebfabbb483404032a7b4d91; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 6fb62b767f3e27661e8f8d2f7b85f4e098fcdb1a; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < ce42224487c504aee4b7ff3a7342e7b4d7e28cc9; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < b3ac78756588059729b9195fcc9f4b37d54057a5 | — | cvelist |
| Linux | 4.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-64304. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-64304.md Affected: Linux >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 6d99c5fadd2df488103f64d6475b63ba6852202b; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < c34369473bfe92a0b46ec78d6358e30341c7f481; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 1002719d13072a5e4be1e993aa61dffb4a604e82; >= 879f77e9071f029e1c9bd5a… Fixed in: Linux 6d99c5fadd2df488103f64d6475b63ba6852202b, Linux 1002719d13072a5e4be1e993aa61dffb4a604e82, Linux 500319830d76911c120dc0b9605f8c16d7702844, Linux 3d61a214fdcda41f1ebfabbb483404032a7b4d91, Linux 6fb62b767f3e27661e8f8d2f7b85f4e098fcdb1a Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/6d99c5fadd2df488103f64d6475b63ba6852202b
- https://git.kernel.org/stable/c/c34369473bfe92a0b46ec78d6358e30341c7f481
- https://git.kernel.org/stable/c/1002719d13072a5e4be1e993aa61dffb4a604e82
- https://git.kernel.org/stable/c/500319830d76911c120dc0b9605f8c16d7702844
- https://git.kernel.org/stable/c/3d61a214fdcda41f1ebfabbb483404032a7b4d91
- https://git.kernel.org/stable/c/6fb62b767f3e27661e8f8d2f7b85f4e098fcdb1a
- https://git.kernel.org/stable/c/ce42224487c504aee4b7ff3a7342e7b4d7e28cc9
- https://git.kernel.org/stable/c/b3ac78756588059729b9195fcc9f4b37d54057a5
FAQ
Is CVE-2026-64304 being exploited?
There is no confirmed exploitation: CVE-2026-64304 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-64304?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-64304?
Linux >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 6d99c5fadd2df488103f64d6475b63ba6852202b; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < c34369473bfe92a0b46ec78d6358e30341c7f481; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 1002719d13072a5e4be1e993aa61dffb4a604e82; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 500319830d76911c120dc0b9605f8c16d7702844; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 3d61a214fdcda41f1ebfabbb483404032a7b4d91; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 6fb62b767f3e27661e8f8d2f7b85f4e098fcdb1a; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < ce42224487c504aee4b7ff3a7342e7b4d7e28cc9; >= 879f77e9071f029e1c9bd5a75814ecf51370f846, < b3ac78756588059729b9195fcc9f4b37d54057a5; Linux 4.8.
Is there a fix for CVE-2026-64304?
Yes. Fixed in Linux 6d99c5fadd2df488103f64d6475b63ba6852202b, Linux 1002719d13072a5e4be1e993aa61dffb4a604e82, Linux 500319830d76911c120dc0b9605f8c16d7702844, Linux 3d61a214fdcda41f1ebfabbb483404032a7b4d91, Linux 6fb62b767f3e27661e8f8d2f7b85f4e098fcdb1a. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-64304?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.