{"id":"CVE-2026-99054","title":"tipc: destroy topsrv workqueues before closing connections","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ntipc: destroy topsrv workqueues before closing connections\n\ntipc_topsrv_stop() closed subscriber connections while the topology\nserver's send and receive workqueues wer…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f < 7f796bb3b440d7f1b14c0e3b520462eb34f553af","Linux >= c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f < da9c16568bc79140a54c1f5fcf07a0305df47b37","Linux >= c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f < 0af8780bdfdfc91fb9127bddb9c48fab67dc9d9e","Linux >= c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f < fb717c536af2aafeca520ff11d1e0f25f7ab8fa9","Linux >= c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f < 3acdd44385bc7e2e57605e073691ce69cc5a960d","Linux 3.11"],"published":"2026-10-23","updated":"2026-10-23","sourceUpdated":"2026-10-23T12:22:36.886Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-99054","references":[{"url":"https://git.kernel.org/stable/c/7f796bb3b440d7f1b14c0e3b520462eb34f553af"},{"url":"https://git.kernel.org/stable/c/da9c16568bc79140a54c1f5fcf07a0305df47b37"},{"url":"https://git.kernel.org/stable/c/0af8780bdfdfc91fb9127bddb9c48fab67dc9d9e"},{"url":"https://git.kernel.org/stable/c/fb717c536af2aafeca520ff11d1e0f25f7ab8fa9"},{"url":"https://git.kernel.org/stable/c/3acdd44385bc7e2e57605e073691ce69cc5a960d"}],"tags":["cve.org"],"ingestedAt":"2026-10-23T13:24:55.520Z","slug":"CVE-2026-99054","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\ntipc: destroy topsrv workqueues before closing connections\n\ntipc_topsrv_stop() closed subscriber connections while the topology\nserver's send and receive workqueues were still running. Socket\ncallbacks and subscription events could then queue more work, and\nin-flight send/recv work could drop the last connection reference\nduring the conn_idr walk.\n\nThat race produced several teardown failures: refcount_t addition on\n0 from conn_get() on a connection whose release was blocked on\nidr_lock, a subsequent use-after-free in tipc_conn_close(),\nqueue_work() on an already destroyed workqueue from the listener\ndata-ready callback, and an RCU stall in tipc_topsrv_exit_net()\nwhile the walk spun under idr_lock.\n\nClear srv->listener under idr_lock so it acts as a shutdown flag,\nskip queue_work() once it is NULL, destroy the workqueues to flush\nin-flight work, and only then close the remaining connections.\nRefuse tipc_conn_lookup() after that flag is cleared, and drop\nidr_lock when the teardown walk finds no connection, so an\nin-flight subscription event cannot pin idr_in_use while the\nwalk holds the lock.\n\nv3 supersedes the narrower in-thread diff Tung Quang Nguyen\nposted on 2026-09-23. It keeps his teardown order and adds the\nlookup refusal and the empty-idr unlock.\n\n## Affected\n\n- `Linux >= c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f < 7f796bb3b440d7f1b14c0e3b520462eb34f553af`\n- `Linux >= c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f < da9c16568bc79140a54c1f5fcf07a0305df47b37`\n- `Linux >= c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f < 0af8780bdfdfc91fb9127bddb9c48fab67dc9d9e`\n- `Linux >= c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f < fb717c536af2aafeca520ff11d1e0f25f7ab8fa9`\n- `Linux >= c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f < 3acdd44385bc7e2e57605e073691ce69cc5a960d`\n- `Linux 3.11`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}