{"schema":"threatline.record/2","record":{"id":"CVE-2026-99054","aliases":[],"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->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.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99054","source_modified_at":"2026-10-23T12:22:36.886Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"Linux","vendor":"Linux","versions":[{"version":"c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f","lessThan":"7f796bb3b440d7f1b14c0e3b520462eb34f553af","status":"affected","versionType":"git"},{"version":"c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f","lessThan":"da9c16568bc79140a54c1f5fcf07a0305df47b37","status":"affected","versionType":"git"},{"version":"c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f","lessThan":"0af8780bdfdfc91fb9127bddb9c48fab67dc9d9e","status":"affected","versionType":"git"},{"version":"c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f","lessThan":"fb717c536af2aafeca520ff11d1e0f25f7ab8fa9","status":"affected","versionType":"git"},{"version":"c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f","lessThan":"3acdd44385bc7e2e57605e073691ce69cc5a960d","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99054","source_modified_at":"2026-10-23T12:22:36.886Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"Linux","vendor":"Linux","versions":[{"version":"3.11","status":"affected"},{"version":"0","lessThan":"3.11","status":"unaffected","versionType":"semver"},{"version":"6.6.160","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.113","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.57","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.11","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99054","source_modified_at":"2026-10-23T12:22:36.886Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"Linux","ecosystem":null},"version":"7f796bb3b440d7f1b14c0e3b520462eb34f553af","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99054","source_modified_at":"2026-10-23T12:22:36.886Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"Linux","ecosystem":null},"version":"0af8780bdfdfc91fb9127bddb9c48fab67dc9d9e","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-99054","source_modified_at":"2026-10-23T12:22:36.886Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"Linux","ecosystem":null},"version":"3acdd44385bc7e2e57605e073691ce69cc5a960d","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-23T12:22:36.886Z","modified_at":"2026-10-23T12:22:36.886Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99054","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23T12:22:36.886Z"}],"sources":["CVE List"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/7f796bb3b440d7f1b14c0e3b520462eb34f553af"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/da9c16568bc79140a54c1f5fcf07a0305df47b37"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/0af8780bdfdfc91fb9127bddb9c48fab67dc9d9e"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/fb717c536af2aafeca520ff11d1e0f25f7ab8fa9"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/3acdd44385bc7e2e57605e073691ce69cc5a960d"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-23T12:22:36.886Z","content_hash":"cbd0604e850a19608e80bb4db91d031875f961b0610e8e27c6ac8d99dadfaa37"}}
