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 7B75955C315 for ; Fri, 11 Sep 2026 19:46:50 +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=1789156015; cv=none; b=QEzte8oXjkx60u8PgEpnogPS/64oKGwGHkThnviSfeWLtA0fvO1bYImWnFZ2fwYJ3CJaCmQnR+5X+lXRy72WG43P3IPP87w0I5ifDUVB40MD7Z1o95gyk6+FT7QZdyH+UeKVeTDXMGwI7d5A6WUH4Z2jCygPRbLAwuBvxj5owkc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156015; c=relaxed/simple; bh=BvueipNruvk9f1Qg/61Ew95mVJt+qyggvJ7K+kBiunE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dJTfhNb3MYTDTWcfgrP1bzkpih2utkOWscC7m3zCVf8d2T2CpWxmICXrZ37Yyrl8cpWT2Y286j097xAnlxhc6veDNBI+nRz05qCqrOIpO2a1Q2Gdu1e6yiFQ7mfWQ961FJ833CXurYwGr9pVPxu/d/w/V6CLiwXCDNdDJEbe6Xc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1cCqlxbS; 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="1cCqlxbS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD6F61F0089A; Fri, 11 Sep 2026 19:46:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156008; bh=uroHMqtxcWv0LrEE1ReWi/fKpE/OyoosCX2IJRHUxB0=; h=From:To:Cc:Subject:Date:Reply-To; b=1cCqlxbSzQPfE7LTvbFtsH1Ve7pRm/7dIDc45dIAanXKRzPWTdIF/H6H5EII/8pwp tOy9oESqyjcqNnN5ksUBZNydSiB3O2n3Al6DGhy9m/1m9XST4hryosaqphOT8Haey2 b63I7GW9/Tq24cEUmUsOGNI5hMzZyIeJsr35TEF8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80932: vsock/virtio: flush works in dependency order Date: Fri, 11 Sep 2026 21:40:38 +0200 Message-ID: <2026091135-CVE-2026-80932-7491@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=3526; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=PMYegChIK7Ncej3CWi2ZZX49FIZerSCLL0j6Q+U9cqo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIo2fXfuv+FtAzZy1w+lG4pKGc0Zse7+t2ZB5LGiP+ 86J3zNOdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBENvQzzDOXubXuXu/9eZ9U UuY+vG+gOJllZxnDgoVtF34dfJCzx2Dnt/261YsW5nDzcgAA 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: vsock/virtio: flush works in dependency order virtio_vsock_remove() stops the virtqueues and then flushes each work item before freeing the enclosing virtio_vsock. The current order does not account for dependencies between those items: tx_work may queue send_pkt_work, and send_pkt_work may queue rx_work. In particular, send_pkt_work can set restart_rx and release tx_lock. The remove path can then stop the queues and flush rx_work before send_pkt_work queues it. Although the later send_pkt_work flush waits for that producer to finish, nothing waits for the newly queued rx_work, so kfree(vsock) can race with it. KASAN reported: BUG: KASAN: slab-use-after-free in virtio_transport_rx_work+0x487/0x4b0 Read of size 8 at addr ffff888114c2b008 by task kworker/1:1/47 Workqueue: virtio_vsock virtio_transport_rx_work Call Trace: virtio_transport_rx_work+0x487/0x4b0 process_one_work+0x688/0x1120 worker_thread+0x45b/0xd10 Allocated by task 1: virtio_vsock_probe+0xef/0x6b0 Freed by task 84: kfree+0x131/0x3c0 virtio_vsock_remove+0xd1/0x100 Flush the works in producer-to-consumer order. virtio_vsock_vqs_del() has already disabled the queue callbacks and cleared the run flags, so after tx_work and send_pkt_work are drained, no source remains that can queue rx_work after its flush. The Linux kernel CVE team has assigned CVE-2026-80932 to this issue. Affected and fixed versions =========================== Issue introduced in 4.8 with commit 0ea9e1d3a9e3ef7d2a1462d3de6b95131dc7d872 and fixed in 6.12.109 with commit 2187a56f2fd1715d54daed6392809223c60544f3 Issue introduced in 4.8 with commit 0ea9e1d3a9e3ef7d2a1462d3de6b95131dc7d872 and fixed in 6.18.50 with commit 165a330a68b5f299d8735f0194c314cb2e571269 Issue introduced in 4.8 with commit 0ea9e1d3a9e3ef7d2a1462d3de6b95131dc7d872 and fixed in 7.2.4 with commit da5e9f08714c19ba04e6863aca69d40f042f2e04 Issue introduced in 4.8 with commit 0ea9e1d3a9e3ef7d2a1462d3de6b95131dc7d872 and fixed in 7.3-rc1 with commit 728836ebca239810f164262b10211ef59182f811 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-80932 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: net/vmw_vsock/virtio_transport.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/2187a56f2fd1715d54daed6392809223c60544f3 https://git.kernel.org/stable/c/165a330a68b5f299d8735f0194c314cb2e571269 https://git.kernel.org/stable/c/da5e9f08714c19ba04e6863aca69d40f042f2e04 https://git.kernel.org/stable/c/728836ebca239810f164262b10211ef59182f811