Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794823199; b=Igzw94yM402XPaB0t1ubG3gEEtroVgFkOxIILjPjmmQvlWmE81mCeLJaaGk1zX8evVbO W3/TvxAzpepXAPZ5FtENVbzZHsPPIGg+0NFMPRu4YgV1KzZJC/o56oYdcFi327dAxmdUG jaYQ/g/vx3OqWN9dJlbF0q8KWdxsGTJ+Uz7QGM3kHO0M7GgGZ8ho6iFvUXX3K+sJhyGH5 9jQbGERyi2NqVu4DOpRhfnPWbkCQktXI7GbNXtUL51OmMfVI85EPsBGm7wQw+PpstVgqD o3nbooyo81+q9I8P/KvFXg7L/o58O1J08cpjd/3Y/jesituDIlBONmqT+E9xs29Uojg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794823199; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=wmlbBMjg3VDQwL3tMx8WqxRyygfz24nCWhzNhbgLbIg=; b=cY3YRS3DKL6LFRsAVUwwsrlvAXxLpgKS7Fv6BXFwMwZ60aS0Udf0T6YlEQR6pvGyE5Hb BEfdr+466jkn0NgBo01gYnas2t9Pau9YtjuGov2JFr1Qv2Mx+Ngk2goWcuU6vQ6kKHAoK Y6mhiE7xL2xEUtHDM5w2Pt7Zh3SVxaR12s5icpgTWr1n4ivp38oNnZYldnf02PZDVsGwY tsXOtBxaDPVhehNRlh/YgckVOUMZ2T56GBo6L2PIFpiOi/xR8taf4VNzDHdYGtdlcCF2u 4l4K0ON22LAbCMhhHydL0lVdSx0sd/v9iuhRQoMCXImkdQE0VN25vbr8jVqNAQOdF1w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=SOT+V0Ot; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CA703606A329 for ; Mon, 16 Nov 2026 09:59:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=SOT+V0Ot Received: by smtp.kernel.org (Postfix) with ESMTPSA id EE4611F000C8; Mon, 16 Nov 2026 09:59:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1794823199; bh=wmlbBMjg3VDQwL3tMx8WqxRyygfz24nCWhzNhbgLbIg=; h=From:To:Cc:Subject:Date:Reply-To; b=SOT+V0OtysboXJ2SYAw2xLhfXTHCZmX7c/FRTPF1ctXL5jxe/hkvzzyaqfxLVxsnA 7nr+3pWBLy0joDHj4mA9nfFrr58Ap7Jpmpkxhmg5Qdqz/qoPRHD5WnP4OQHaqe22Ey aV8vYzRpQ1XKwQZf24y+LY1mlUmZAv3wCtVKEBaE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99301: virtio_net: atomically disable rx mode work Date: Mon, 16 Nov 2026 10:59:50 +0100 Message-ID: <2026111640-CVE-2026-99301-3d09@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3650; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5iPfsF7nmpvHTE0Dnnf1cUFH9o9FkFcIE3jrHX+W5MU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm/rvAw9tgcOZzo2snOco7zzLmZTJdPSb9jVDEuXr1yS dKhTp6qjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIVjfDgtOdD6dnz1UXNFi3 Pt3k8SGjR/NO7WKYX7nOREZycttL01/TK3OtdL/k+qjOAgA= 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: virtio_net: atomically disable rx mode work virtio-net uses a boolean to gate rx_mode_work during device teardown. The flag is changed under RTNL, but ndo_set_rx_mode checks it under the address-list lock. A callback can therefore pass the check and enqueue work after teardown has flushed it. The work is also enabled before late probe operations that can fail, allowing probe unwind to free the netdev with work still queued. KASAN reports the worker using a virtqueue that probe unwind already freed: BUG: KASAN: slab-use-after-free in virtqueue_add_split Workqueue: events virtnet_rx_mode_work Call Trace: virtqueue_add_split (drivers/virtio/virtio_ring.c:706) virtqueue_add_sgs (drivers/virtio/virtio_ring.c:2839) virtnet_send_command_reply (drivers/net/virtio_net.c:3565) virtnet_rx_mode_work (drivers/net/virtio_net.c:3833) process_one_work (kernel/workqueue.c:3322) worker_thread (kernel/workqueue.c:3405) Freed by task 119: kfree (mm/slub.c:6625) vp_del_vq.isra.0 (drivers/virtio/virtio_pci_common.c:259) vp_del_vqs (drivers/virtio/virtio_pci_common.c:285) virtnet_probe (drivers/net/virtio_net.c:7129) Use the workqueue disable mechanism to atomically reject new queue attempts and drain running work. Keep work disabled until probe succeeds or restore has reattached the netdev, then enable it and replay receive-mode state for a running interface. Disable it before resource teardown in freeze and remove. The Linux kernel CVE team has assigned CVE-2026-99301 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit b9f7425239a09903629f71f719654983481b00aa and fixed in 6.12.117 with commit 04d1e4fc965c8a4378093174e908800f400b7485 Issue introduced in 6.9 with commit b9f7425239a09903629f71f719654983481b00aa and fixed in 6.18.63 with commit c05c367e7a99521cd654b56042757979968b5644 Issue introduced in 6.9 with commit b9f7425239a09903629f71f719654983481b00aa and fixed in 7.3.2 with commit 3f4c7168ee28e582314249d86833bd515b945196 Issue introduced in 6.9 with commit b9f7425239a09903629f71f719654983481b00aa and fixed in 7.4-rc1 with commit 1234707482053f1d1ac7c5756207d2c29057974c 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-99301 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/net/virtio_net.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/04d1e4fc965c8a4378093174e908800f400b7485 https://git.kernel.org/stable/c/c05c367e7a99521cd654b56042757979968b5644 https://git.kernel.org/stable/c/3f4c7168ee28e582314249d86833bd515b945196 https://git.kernel.org/stable/c/1234707482053f1d1ac7c5756207d2c29057974c