Shellfeed logo Shellfeed

CVE-2026-74306 · HIGH (CVSS 7.8)

Summary: vfio/qat: fix f_pos race in qat_vf_resume_write()

Details

In the Linux kernel, the following vulnerability has been resolved:

vfio/qat: fix f_pos race in qat_vf_resume_write()

qat_vf_resume_write() checks filp->f_pos before taking migf->lock, but
copies into the migration-state buffer after taking the lock and
re-reading the shared file position.

Two concurrent writers could therefore pass the bounds check with the
old offset, then have the second writer copy after the first advanced
f_pos, writing past the end of the migration-state buffer.

Take migf->lock before doing the boundary checks.

Severity

HIGH (CVSS 7.8) — vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [bb208810b1abf1c84870cfbe1cc9cf1a1d35c607 – 6465af0004dc1b067129a26ef44f19cdf13bbce6]
  • Linux Kernel [6.10.0 – 6.12.97] [6.13.0 – 6.18.40] [6.19.0 – 7.1.5]

References