Skip to content
Heist/ feed
High

tipc: destroy topsrv workqueues before closing connections

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-99054

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-99054

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f",
        "lessThan": "7f796bb3b440d7f1b14c0e3b520462eb34f553af",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f",
        "lessThan": "da9c16568bc79140a54c1f5fcf07a0305df47b37",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f",
        "lessThan": "0af8780bdfdfc91fb9127bddb9c48fab67dc9d9e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f",
        "lessThan": "fb717c536af2aafeca520ff11d1e0f25f7ab8fa9",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f",
        "lessThan": "3acdd44385bc7e2e57605e073691ce69cc5a960d",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "net/tipc/topsrv.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "3.11"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "3.11",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.113",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.57",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.11",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "net/tipc/topsrv.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-99054

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#55743 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement