CVE-2026-64304
crypto: qat - validate RSA CRT component lengths
Reported by linux · Published July 25, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools-libs-devel | errata.rockylinux.org | 6.12.0-211.50.1.el10, 5.14.0-687.44.1.el9 |
| libperf | errata.rockylinux.org | 5.14.0-687.44.1.el9 |
| kernel-rt-core | errata.rockylinux.org | 6.12.0-211.50.1.el10, 5.14.0-687.44.1.el9 |
| kernel-debuginfo-common-ppc64le | errata.rockylinux.org | 6.12.0-211.50.1.el10 |
| kernel-tools-debuginfo | errata.rockylinux.org | 6.12.0-211.50.1.el10 |
| kernel-rt-modules-core | errata.rockylinux.org | 6.12.0-211.50.1.el10, 5.14.0-687.44.1.el9 |
| kernel-rt-devel | errata.rockylinux.org | 5.14.0-687.44.1.el9 |
| kernel-rt-debug-debuginfo | errata.rockylinux.org | 6.12.0-211.50.1.el10 |
| perf | errata.rockylinux.org | 6.12.0-211.50.1.el10, 5.14.0-687.44.1.el9 |
| kernel-zfcpdump | errata.rockylinux.org | 6.12.0-211.50.1.el10, 5.14.0-687.44.1.el9 |
| kernel-doc | errata.rockylinux.org | 6.12.0-211.50.1.el10, 5.14.0-687.44.1.el9 |
| kernel-modules-core | errata.rockylinux.org | 6.12.0-211.50.1.el10, 5.14.0-687.44.1.el9 |
51 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 879f77e9071f029e1c9bd5a75814ecf51370f846, 879f77e9071f029e1c9bd5a75814ecf51370f846, 879f77e9071f029e1c9bd5a75814ecf51370f846 |
| Linux | Linux | 4.8, 0, 5.10.261 |
| linux | linux_kernel | 4.8, 4.8, 4.8 |
| Linux | Linux | 879f77e9071f029e1c9bd5a75814ecf51370f846, 879f77e9071f029e1c9bd5a75814ecf51370f846, 879f77e9071f029e1c9bd5a75814ecf51370f846 |
Timeline
- Jul 25, 2026 EPSS Score (13 in total, the first dated here)
- Jul 25, 2026 Coalition ESS Score
- Jul 25, 2026 CVE Published
- Jul 26, 2026 Security Advisory (25 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (28 in total, the first dated here)
- Sep 15, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-64304
vulnetix vdb fixes CVE-2026-64304
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64304/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart