CVE-2026-138990

crypto: qat - zero the VF migration state buffer on save

Published Nov 30, 2026 CVSS 3.1 · 3.3 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The QAT VF migration state buffer is allocated with kmalloc() and exposed to user space via qat_vf_save_state(). The kernel writes only the portions of the buffer that contain serialized state, leaving the remaining tail of the buffer unwritten. Because the buffer is uninitialized, the first user space read can expose stale kernel heap contents, and subsequent reads can expose data left over by an earlier migration. This flaw allows a local or privileged user to retrieve unintended kernel memory data, potentially revealing sensitive information.

Affected Systems

The vulnerability affects Linux kernel implementations that include the QAT driver for Virtual Function (VF) migration state handling. No specific version ranges are listed in the provided data, so any kernel with the affected QAT driver prior to the fix is considered vulnerable.

Risk and Exploitability

EPSS information is not available and the vulnerability is not listed in CISA KEV. The CVSS score is not provided, so the exact severity is unknown. The flaw is exploitable by a process that can invoke the QAT VF migration state export, which typically requires local kernel or root privileges. As a result, the risk is moderate, limited to environments where the QAT VF migration functionality is enabled and accessible to untrusted code.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the Linux kernel patch that zeroes the entire QAT VF migration state buffer before saving state
  • Upgrade the kernel to a version that includes the patch or backport the fix if maintaining older kernels
  • Limit or remove QAT VF migration feature from containers or untrusted applications to reduce exposure

Generated by OpenCVE AI on November 30, 2026 at 18:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-908
References
Metrics threat_severity

None

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

threat_severity

Low

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
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.
Title crypto: qat - zero the VF migration state buffer on save
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-908

    Use of Uninitialized Resource

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:26 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM
Severity
Low
Public date
Nov 30, 2026, 1:26 PM