CVE-2026-74306

vfio/qat: fix f_pos race in qat_vf_resume_write()

State
Published
Severity
7.8 High
Published
Aug 15, 2026
Updated
Aug 17, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • bb208810b1abf1c84870cfbe1cc9cf1a1d35c607 to before 6465af0004dc1b067129a26ef44f19cdf13bbce6Affected
  • bb208810b1abf1c84870cfbe1cc9cf1a1d35c607 to before d416dcefdbac90d96b22485fd93f28229ad9984bAffected
  • bb208810b1abf1c84870cfbe1cc9cf1a1d35c607 to before b6fd7a40a66485c8aa8156d8fcf50b95cb8ba281Affected
  • bb208810b1abf1c84870cfbe1cc9cf1a1d35c607 to before 4ec5e932e636896e97e4c6a8205b0ac76d52421aAffected
LinuxLinux
  • 6.10Affected
  • before 6.10Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.