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=1792759480; b=qkVT32aBeC/g37tKHeRANtKCwP0ffeCrTv3eRvUBs+gJ286HlaLnCn5k5RUsxuQGlLr2 lfgODrJpk+o54lESypmQpn9c556WdiWglPsjEkFr1Jt38SPfDkJEjlVlHEQVTRGV+KnPO T3r2yBPH2AGQQmeqa9Uez6+6bsK1Wut/R3MHtZQnztk1UDrTOC3LSPwB698/lab0/Chga RJqFINu+1OUOERuHByqd6aPkchlldHypqHx2RMB3yRzQUHHppVUTKSkrFApuCTrhfDrPr CBPU/wB3y9ckgePRuVLMFRmGItxf+83xmRIThdSwYjpuSw/xYxYoOxZ3hlDtkxIVHcA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792759480; 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=HipL/r2opgcb7vs3nb4H/GowZydLbdqKbbjzcgj57Og=; b=gDpXFfuOHf1mRnN88S6Pm7efHnJ/xVpzkv5OuFVsjhHT+WMcEx+6TK438a9uzuK6gh2b Q9qlFxqj4amJHhuOEUfUcbimFK6wOUfVSKiw01522AqsbtbgpDU4myq/yjPoE13inxZqC eRJhMzWVZkYK9/rZzNwRUKtSO9ihpEjYeY0RVHqRYc5eM4ONkK1LF2IWS9Rsteuul2Gvb AELLNA3CTdKYtpAvv7URhLsdy0GO6MB3ggaitTArNEv7mYLmSiTDe3/SrDVw4wpRreNoz 1DTY4FAEb3bHwflEjgu12CQXysgR16lEY6vKM8MvoLPzeIi5yq0Tf+l3eBx+vINJLCg== 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=FrhH5z8a; 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 A5A15606A31E for ; Fri, 23 Oct 2026 12:44:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=FrhH5z8a Received: by smtp.kernel.org (Postfix) with ESMTPSA id D11EA1F01825; Fri, 23 Oct 2026 12:44:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792759479; bh=HipL/r2opgcb7vs3nb4H/GowZydLbdqKbbjzcgj57Og=; h=From:To:Cc:Subject:Date:Reply-To; b=FrhH5z8arUtXmDYCbi5zHqaU74GsIGLZAQFLYKDaZO4mA42FmJViS/2l+xwV4uyEH 4UdXiQcsBHByP0+ahnPcEj26QcLoTC0yUFtHtK+uF+qUveehtVDuqilApBE1DCJr4q TR8lmLkwmwQZjw9hYfa6hBp/l3Uc7I/DG4ue1TnU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99054: tipc: destroy topsrv workqueues before closing connections Date: Fri, 23 Oct 2026 14:20:56 +0200 Message-ID: <2026102330-CVE-2026-99054-8f17@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=3682; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UoD5ykBwSWl7Ybe3yCrjzm+E7jQuj2h4BB5eFRgXItM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3Ay49XCjcYtdmYN7K/EG0hHf2btubKyr41z/8c2X51 AObviixdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE1kxnWDB3QYz/ZO+5vy05 p5/r/hp02/HOywKG+X72XZkPF+7z2bZ4kduF7h0Nhy+x7QMA 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: tipc: destroy topsrv workqueues before closing connections tipc_topsrv_stop() closed subscriber connections while the topology server's send and receive workqueues were still running. Socket callbacks and subscription events could then queue more work, and in-flight send/recv work could drop the last connection reference during the conn_idr walk. That race produced several teardown failures: refcount_t addition on 0 from conn_get() on a connection whose release was blocked on idr_lock, a subsequent use-after-free in tipc_conn_close(), queue_work() on an already destroyed workqueue from the listener data-ready callback, and an RCU stall in tipc_topsrv_exit_net() while the walk spun under idr_lock. Clear srv->listener under idr_lock so it acts as a shutdown flag, skip queue_work() once it is NULL, destroy the workqueues to flush in-flight work, and only then close the remaining connections. Refuse tipc_conn_lookup() after that flag is cleared, and drop idr_lock when the teardown walk finds no connection, so an in-flight subscription event cannot pin idr_in_use while the walk holds the lock. v3 supersedes the narrower in-thread diff Tung Quang Nguyen posted on 2026-09-23. It keeps his teardown order and adds the lookup refusal and the empty-idr unlock. The Linux kernel CVE team has assigned CVE-2026-99054 to this issue. Affected and fixed versions =========================== Issue introduced in 3.11 with commit c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f and fixed in 6.6.160 with commit 7f796bb3b440d7f1b14c0e3b520462eb34f553af Issue introduced in 3.11 with commit c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f and fixed in 6.12.113 with commit da9c16568bc79140a54c1f5fcf07a0305df47b37 Issue introduced in 3.11 with commit c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f and fixed in 6.18.57 with commit 0af8780bdfdfc91fb9127bddb9c48fab67dc9d9e Issue introduced in 3.11 with commit c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f and fixed in 7.2.11 with commit fb717c536af2aafeca520ff11d1e0f25f7ab8fa9 Issue introduced in 3.11 with commit c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f and fixed in 7.3 with commit 3acdd44385bc7e2e57605e073691ce69cc5a960d 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-99054 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/tipc/topsrv.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/7f796bb3b440d7f1b14c0e3b520462eb34f553af https://git.kernel.org/stable/c/da9c16568bc79140a54c1f5fcf07a0305df47b37 https://git.kernel.org/stable/c/0af8780bdfdfc91fb9127bddb9c48fab67dc9d9e https://git.kernel.org/stable/c/fb717c536af2aafeca520ff11d1e0f25f7ab8fa9 https://git.kernel.org/stable/c/3acdd44385bc7e2e57605e073691ce69cc5a960d