# CVE-2026-74306: vfio/qat: fix f_pos race in qat_vf_resume_write()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-08-15T05:58:07.313Z
- Modified: 2026-08-17T06:19:24.793Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from bb208810b1abf1c84870cfbe1cc9cf1a1d35c607 before 6465af0004dc1b067129a26ef44f19cdf13bbce6; from bb208810b1abf1c84870cfbe1cc9cf1a1d35c607 before d416dcefdbac90d96b22485fd93f28229ad9984b; from bb208810b1abf1c84870cfbe1cc9cf1a1d35c607 before b6fd7a40a66485c8aa8156d8fcf50b95cb8ba281; from bb208810b1abf1c84870cfbe1cc9cf1a1d35c607 before 4ec5e932e636896e97e4c6a8205b0ac76d52421a; 6.10 (not affected: before 6.10; from 6.12.97 up to 6.12.*; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/6465af0004dc1b067129a26ef44f19cdf13bbce6>
- <https://git.kernel.org/stable/c/d416dcefdbac90d96b22485fd93f28229ad9984b>
- <https://git.kernel.org/stable/c/b6fd7a40a66485c8aa8156d8fcf50b95cb8ba281>
- <https://git.kernel.org/stable/c/4ec5e932e636896e97e4c6a8205b0ac76d52421a>

## Sources

- CVE List: [CVE-2026-74306](https://www.cve.org/CVERecord?id=CVE-2026-74306), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-74306](https://nvd.nist.gov/vuln/detail/CVE-2026-74306), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-74306 · Whole record: https://cve.day/CVE-2026-74306.json · Rebuilt by cve.day 2026-11-25T22:59:33.164Z
