Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BB105382299 for ; Sat, 15 Aug 2026 06:34:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775644; cv=none; b=Fb/YnsLJKnxLTioTwlFVC9n3WOdfgpB055po/HZ0zU3IxbPUZUpLnCVBPlD93JWn9gBvWE9i1kMyOthi+o7X1BG3HcvUUuqV5f7fkrWs714D9411TMlnYw/Z0IQAheV+JQJMqt4ih35uvjnBkZQJQ7zYriNz0ujMB9GMfvSY+fY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775644; c=relaxed/simple; bh=iTBH5Ya5dUb925yLqlBhwocwPB0AIwLuhaJ3lrQjsoc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WwjE31v+qlkSquLzUvtNaF5E7BqEMGmM1TLEmsDdKHgt0EzXUgxt+1R7cNEL1Wrb06475ykU2VXiqQ/M7KHDkKz+7AlnoRZwivArpp3cpI03qdMlCi5djMgdlOVaABZIwm0ufwSaFeV9X8UYzUFG5H9286v5QPgOnTNgteVrGCI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=c2O6hZ7P; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="c2O6hZ7P" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CC6EB1F000E9; Sat, 15 Aug 2026 06:34:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775641; bh=PK/j4gfbBUHTkgOC8EtmqDdpmHyb2DI1maLQToaMlr8=; h=From:To:Cc:Subject:Date:Reply-To; b=c2O6hZ7P1PrLAuPK8esHODsX04A2z+hCl4BmO4PUvFPkAmqFtEX0l6YtQk39Dos93 C2Xh86i/wUvG6duVMWA9zB2fm/Lu4kPL213m0ZEVcoyuJ+SEVGYb6MsHfI94EIvVJN 3LVJPke6uIo9TbBhsaDKuC6rsYBfAMCNOdwL+pJc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74306: vfio/qat: fix f_pos race in qat_vf_resume_write() Date: Sat, 15 Aug 2026 15:10:33 +0900 Message-ID: <2026081551-CVE-2026-74306-5c23@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2651; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pJWXaB1tuoUY0Fy0h/I/wK+5rVMv8LzaxO+0d2U607k=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNjNyBu7zz7Lu4E1/HTFrdyH6owvvn/BSW7dJ5ZpOX5 fo2mLd0xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwEQufGCYnyX+ebPGrAmFLld3 Prq1hM3PcvXrUIb5sc/+Tbz7PDLtzEk//zXHmA6/XnHrKgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-74306 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit bb208810b1abf1c84870cfbe1cc9cf1a1d35c607 and fixed in 6.12.97 with commit 6465af0004dc1b067129a26ef44f19cdf13bbce6 Issue introduced in 6.10 with commit bb208810b1abf1c84870cfbe1cc9cf1a1d35c607 and fixed in 6.18.40 with commit d416dcefdbac90d96b22485fd93f28229ad9984b Issue introduced in 6.10 with commit bb208810b1abf1c84870cfbe1cc9cf1a1d35c607 and fixed in 7.1.5 with commit b6fd7a40a66485c8aa8156d8fcf50b95cb8ba281 Issue introduced in 6.10 with commit bb208810b1abf1c84870cfbe1cc9cf1a1d35c607 and fixed in 7.2-rc1 with commit 4ec5e932e636896e97e4c6a8205b0ac76d52421a Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-74306 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/vfio/pci/qat/main.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: 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