PT-2026-64525 · Linux · Linux

CVE-2026-64304

·

Published

2026-07-25

·

Updated

2026-07-25

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

CVE-2026-64304

Affected Products

Linux