{"id":"CVE-2026-99054","aliases":["CVE-2026-99054"],"related":[],"kind":"vulnerability","state":"published","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 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->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.","source":"cvelist"}],"published":"2026-10-23T12:22:36.886Z","modified":"2026-10-30T13:21:42.107Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f","fixed":"09dbd610f78aaed65d7b379c270ce4090a8151ac","status":"affected"},{"type":"git","introduced":"c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f","fixed":"21622e5ae8b232c2e64eb1adf5546cf078d2987d","status":"affected"},{"type":"git","introduced":"c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f","fixed":"7167afaaaee37191f8b6afa0c91e0fef41460705","status":"affected"},{"type":"git","introduced":"c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f","fixed":"7f796bb3b440d7f1b14c0e3b520462eb34f553af","status":"affected"},{"type":"git","introduced":"c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f","fixed":"da9c16568bc79140a54c1f5fcf07a0305df47b37","status":"affected"},{"type":"git","introduced":"c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f","fixed":"0af8780bdfdfc91fb9127bddb9c48fab67dc9d9e","status":"affected"},{"type":"git","introduced":"c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f","fixed":"fb717c536af2aafeca520ff11d1e0f25f7ab8fa9","status":"affected"},{"type":"git","introduced":"c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f","fixed":"3acdd44385bc7e2e57605e073691ce69cc5a960d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.11","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.11","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/09dbd610f78aaed65d7b379c270ce4090a8151ac","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/21622e5ae8b232c2e64eb1adf5546cf078d2987d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7167afaaaee37191f8b6afa0c91e0fef41460705","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7f796bb3b440d7f1b14c0e3b520462eb34f553af","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da9c16568bc79140a54c1f5fcf07a0305df47b37","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0af8780bdfdfc91fb9127bddb9c48fab67dc9d9e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fb717c536af2aafeca520ff11d1e0f25f7ab8fa9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3acdd44385bc7e2e57605e073691ce69cc5a960d","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99054","url":"https://www.cve.org/CVERecord?id=CVE-2026-99054","licence":"CVE Terms of Use","modified":"2026-10-30T12:41:21.256Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99054","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99054","licence":"Public domain","modified":"2026-10-30T13:21:42.107Z"}],"updatedAt":"2026-11-25T22:59:46.961Z","epss":{"score":0.00159,"percentile":0.05349,"date":"2026-12-01T12:00:22.000Z"}}