CVE-2026-138990: crypto: qat - zero the VF migration state buffer on save
In the Linux kernel, the following vulnerability has been resolved:
crypto: qat - zero the VF migration state buffer on save
The QAT VF migration state buffer is allocated with kmalloc(), while qatvfsavestate() exposes all statesize bytes to userspace. The state manager writes only the serialized sections, leaving the unused tail unchanged. The first save can therefore disclose stale heap contents, and subsequent saves can disclose data left by an earlier migration.
Zero the whole buffer before writing the setup data. Once the setup data is present, preserve it and zero the remaining state area before each state save.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In qat_vf_save_state(), zero the entire QAT VF migration state buffer before writing the setup data.