CVE-2026-74306 vfio/qat: fix f_pos race in qat_vf_resume_write()
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 6.10
해결 버전
- 6.10 미만
- 6.12.97 이상
- 6.18.40 이상
- 7.1.5 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/4ec5e932e636896e97e4c6a8205b0ac76d52421a (새 창)
- git.kernel.org https://git.kernel.org/stable/c/6465af0004dc1b067129a26ef44f19cdf13bbce6 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/b6fd7a40a66485c8aa8156d8fcf50b95cb8ba281 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/d416dcefdbac90d96b22485fd93f28229ad9984b (새 창)