Description
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 qat_vf_save_state() exposes all state_size 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 products and versions
References
- git.kernel.org/stable/c/fd72fec7761165164ada464c6785d4ee9feee001
- git.kernel.org/stable/c/dd443f07c3fdfbdc1a02bda1648089a51d05e123
- git.kernel.org/stable/c/ee68976efd5b9d242e7d41608fb65aa539138a1d
- git.kernel.org/stable/c/5d504e65516dde8c88117378292e9c78f3d2cf58
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.