Bug 2516770 (CVE-2026-74306) - CVE-2026-74306 kernel: vfio/qat: fix f_pos race in qat_vf_resume_write()
Summary: CVE-2026-74306 kernel: vfio/qat: fix f_pos race in qat_vf_resume_write()
Keywords:
Status: NEW
Alias: CVE-2026-74306
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-15 06:32 UTC by OSIDB Bzimport
Modified: 2026-08-20 16:08 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-15 06:32:36 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.