CVE-2026-74306
vfio/qat: fix f_pos race in qat_vf_resume_write()
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.
INFO
Published Date :
Aug. 15, 2026, 6:22 a.m.
Last Modified :
Aug. 17, 2026, 6:19 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Acquire lock before checking file position.
- Update kernel to incorporate the fix.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-74306.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-74306 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-74306
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-74306 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-74306 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'bb208810b1abf1c84870cfbe1cc9cf1a1d35c607', 'lessThan': '6465af0004dc1b067129a26ef44f19cdf13bbce6', 'versionType': 'git'}, {'status': 'affected', 'version': 'bb208810b1abf1c84870cfbe1cc9cf1a1d35c607', 'lessThan': 'd416dcefdbac90d96b22485fd93f28229ad9984b', 'versionType': 'git'}, {'status': 'affected', 'version': 'bb208810b1abf1c84870cfbe1cc9cf1a1d35c607', 'lessThan': 'b6fd7a40a66485c8aa8156d8fcf50b95cb8ba281', 'versionType': 'git'}, {'status': 'affected', 'version': 'bb208810b1abf1c84870cfbe1cc9cf1a1d35c607', 'lessThan': '4ec5e932e636896e97e4c6a8205b0ac76d52421a', 'versionType': 'git'}], 'programFiles': ['drivers/vfio/pci/qat/main.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.10'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.10', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/vfio/pci/qat/main.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'bb208810b1abf1c84870cfbe1cc9cf1a1d35c607', 'lessThan': '6465af0004dc1b067129a26ef44f19cdf13bbce6', 'versionType': 'git'}, {'status': 'affected', 'version': 'bb208810b1abf1c84870cfbe1cc9cf1a1d35c607', 'lessThan': 'd416dcefdbac90d96b22485fd93f28229ad9984b', 'versionType': 'git'}, {'status': 'affected', 'version': 'bb208810b1abf1c84870cfbe1cc9cf1a1d35c607', 'lessThan': 'b6fd7a40a66485c8aa8156d8fcf50b95cb8ba281', 'versionType': 'git'}, {'status': 'affected', 'version': 'bb208810b1abf1c84870cfbe1cc9cf1a1d35c607', 'lessThan': '4ec5e932e636896e97e4c6a8205b0ac76d52421a', 'versionType': 'git'}], 'programFiles': ['drivers/vfio/pci/qat/main.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.10'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.10', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/vfio/pci/qat/main.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'bb208810b1abf1c84870cfbe1cc9cf1a1d35c607', 'lessThan': '6465af0004dc1b067129a26ef44f19cdf13bbce6', 'versionType': 'git'}, {'status': 'affected', 'version': 'bb208810b1abf1c84870cfbe1cc9cf1a1d35c607', 'lessThan': 'd416dcefdbac90d96b22485fd93f28229ad9984b', 'versionType': 'git'}, {'status': 'affected', 'version': 'bb208810b1abf1c84870cfbe1cc9cf1a1d35c607', 'lessThan': 'b6fd7a40a66485c8aa8156d8fcf50b95cb8ba281', 'versionType': 'git'}, {'status': 'affected', 'version': 'bb208810b1abf1c84870cfbe1cc9cf1a1d35c607', 'lessThan': '4ec5e932e636896e97e4c6a8205b0ac76d52421a', 'versionType': 'git'}], 'programFiles': ['drivers/vfio/pci/qat/main.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.10'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.10', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/vfio/pci/qat/main.c'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/4ec5e932e636896e97e4c6a8205b0ac76d52421a Added Reference https://git.kernel.org/stable/c/6465af0004dc1b067129a26ef44f19cdf13bbce6 Added Reference https://git.kernel.org/stable/c/b6fd7a40a66485c8aa8156d8fcf50b95cb8ba281 Added Reference https://git.kernel.org/stable/c/d416dcefdbac90d96b22485fd93f28229ad9984b