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 2A19C494819 for ; Fri, 25 Sep 2026 10:31:44 +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=1790332305; cv=none; b=dyBfLi0n5OeMrtX51/yFuKMhQMoHsx7MYv2hcBwgbDxD/GI/yifao3pv+7BSTKhSUJxurUphD7SUGNm2Dr7ZylBsyFLNc8RTkmPTmyNvaTpXoiqS26RmqKFOgs+jSjskpNtOWv2ijez0PJOETP2Is5FkO02QxWTFnthCT3Y3iwI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332305; c=relaxed/simple; bh=Pf2jMMsnfMT4IftRCBcfp0QBTXSCiRi62GnQZWjzWaU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ZKHdTkgBJQbRx0eFhWSFFlIJnBuP40o/Zr268lpW87iDTmMIg3Mkq3XvhufX2UA2yoTXHGdZJQuqSZzH0Bln9Wo2DbHVmmz2fDksJGH35M/OnmFCEDr4zARzkmCPRo0e1NRKG5iIgVdDo+H8qUHWlxvVpxp1SSKwcSt0bSLeh+Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hW62gzob; 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="hW62gzob" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 74B811F000FF; Fri, 25 Sep 2026 10:31:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332304; bh=31UTs28pb5PBFbaet/m0zJRM/9xFhbcQXcHvAtRMw3I=; h=From:To:Cc:Subject:Date:Reply-To; b=hW62gzobBNULvyD66ATgEEqWwEvRRnoNcjXSOpTMj/4XS+zC4aR36sG9WOX67aR7r YE7lP9suZcRelpOcYHLAY+QbfwMfy+2cA4CUYwhR0dUq0Ez3mw0R305kNRAIUOUXJU XvKTKs+oHs8eGy3zvAr8Wvka1xTA/6oVaqr0+vGk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97988: vhost: invalidate vring access on IOTLB transitions Date: Fri, 25 Sep 2026 12:24:51 +0200 Message-ID: <2026092521-CVE-2026-97988-cadf@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=3047; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=AU7DZ6Ft1OWPC7GoPRf3dloOCZYT+cXMoNNMBP1Kbps=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvGNve35SnbGW6UzFkR/nz3++9Oz7z5AHr59tCSzPN vC97jhrQkcsC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBMpOMSw4LVrZPWFf8/vn3y GRmHNzK+czw+pfxhWLApKNavNEb7QarIzV0nt8XO7Des/QQA 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: vhost: invalidate vring access on IOTLB transitions When VIRTIO_F_ACCESS_PLATFORM changes, cached vring pointers and IOTLB metadata are interpreted in a different address space. Keeping them across the transition can leave stale ring mappings in use. Clearing d->iotlb before taking the VQ locks also lets a worker observe a transient NULL d->iotlb and fall back to d->umem while translating a descriptor. Add a common vhost_clear_device_iotlb() helper for vhost-net and vhost-vsock. Take all VQ mutexes in index order before dropping the device-wide IOTLB, invalidate each VQ's cached ring access and metadata, clear pending IOTLB messages, and free the old table after the handoff. This serializes the transition with workers and prevents mixed address space mappings. On the first direct-to-IOTLB transition, invalidate the cached vring addresses. When an existing device IOTLB is replaced, preserve the GIOVA ring addresses and reset only the metadata cache. After clearing ACCESS_PLATFORM, userspace must configure the vring addresses for the new address mode. vhost_vq_invalidate_access() clears desc, avail, and used together. Treat the VQ as invalidated only when all three are NULL, since a single GIOVA address may legitimately be zero. The Linux kernel CVE team has assigned CVE-2026-97988 to this issue. Affected and fixed versions =========================== Issue introduced in 4.8 with commit 6b1e6cc7855b09a0a9bfa1d9f30172ba366f161c and fixed in 7.2.7 with commit 4a454af8e56c1596ada1421ae5eba90c8896c7c7 Issue introduced in 4.8 with commit 6b1e6cc7855b09a0a9bfa1d9f30172ba366f161c and fixed in 7.3-rc3 with commit e4f4761879a230aa59e569102a6ab9851847d833 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-97988 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/vhost/net.c drivers/vhost/vhost.c drivers/vhost/vhost.h drivers/vhost/vsock.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/4a454af8e56c1596ada1421ae5eba90c8896c7c7 https://git.kernel.org/stable/c/e4f4761879a230aa59e569102a6ab9851847d833