Linux Kernel QAT RSA Memory Leak Vulnerability

Vulnerability

A memory leak vulnerability has been identified in the Linux kernel's crypto component, specifically within the QuickAssist Technology (QAT) RSA implementation. When an RSA key is used in form 2, as defined by PKCS #1 V2.1, certain parts of the private key remain in memory even after the transformation (TFM) is released. This issue arises because the explicit calls to free the buffers in the 'qat_rsa_exit_tfm()' function do not adequately clear all referenced buffers in the TFM context. The vulnerability has been addressed by replacing these explicit free calls with a single call to 'qat_rsa_clear_ctx()', which properly frees all associated buffers.

Impact

Exploitation of this vulnerability leads to a memory leak, where sensitive data such as private RSA key components are not properly cleared from memory, potentially allowing for unauthorized access to this information.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
5.3
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.