{"id":"CVE-2026-99054","summary":"tipc: destroy topsrv workqueues before closing connections","details":"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 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-\u003elistener 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.","modified":"2026-11-01T02:38:01.116095957Z","published":"2026-10-23T12:22:36.886Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99054.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/09dbd610f78aaed65d7b379c270ce4090a8151ac"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0af8780bdfdfc91fb9127bddb9c48fab67dc9d9e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/21622e5ae8b232c2e64eb1adf5546cf078d2987d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3acdd44385bc7e2e57605e073691ce69cc5a960d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7167afaaaee37191f8b6afa0c91e0fef41460705"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7f796bb3b440d7f1b14c0e3b520462eb34f553af"},{"type":"WEB","url":"https://git.kernel.org/stable/c/da9c16568bc79140a54c1f5fcf07a0305df47b37"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fb717c536af2aafeca520ff11d1e0f25f7ab8fa9"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99054.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99054"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f"},{"fixed":"09dbd610f78aaed65d7b379c270ce4090a8151ac"},{"fixed":"21622e5ae8b232c2e64eb1adf5546cf078d2987d"},{"fixed":"7167afaaaee37191f8b6afa0c91e0fef41460705"},{"fixed":"7f796bb3b440d7f1b14c0e3b520462eb34f553af"},{"fixed":"da9c16568bc79140a54c1f5fcf07a0305df47b37"},{"fixed":"0af8780bdfdfc91fb9127bddb9c48fab67dc9d9e"},{"fixed":"fb717c536af2aafeca520ff11d1e0f25f7ab8fa9"},{"fixed":"3acdd44385bc7e2e57605e073691ce69cc5a960d"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99054.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.11.0"},{"fixed":"5.10.273"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.224"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.191"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.113"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.57"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99054.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}