Bug 2507119 (CVE-2026-64304) - CVE-2026-64304 kernel: crypto: qat - validate RSA CRT component lengths
Summary: CVE-2026-64304 kernel: crypto: qat - validate RSA CRT component lengths
Keywords:
Status: NEW
Alias: CVE-2026-64304
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-25 10:06 UTC by OSIDB Bzimport
Modified: 2026-09-02 11:02 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:61887 0 None None None 2026-09-01 07:31:12 UTC
Red Hat Product Errata RHSA-2026:62568 0 None None None 2026-09-02 11:02:35 UTC

Description OSIDB Bzimport 2026-07-25 10:06:03 UTC
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.

Comment 6 errata-xmlrpc 2026-09-01 07:31:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:61887 https://access.redhat.com/errata/RHSA-2026:61887

Comment 7 errata-xmlrpc 2026-09-02 11:02:34 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:62568 https://access.redhat.com/errata/RHSA-2026:62568


Note You need to log in before you can comment on or make changes to this bug.