# CVE-2026-99054: tipc: destroy topsrv workqueues before closing connections

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-10-23T12:22:36.886Z
- Modified: 2026-10-30T13:21:42.107Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f before 09dbd610f78aaed65d7b379c270ce4090a8151ac; from c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f before 21622e5ae8b232c2e64eb1adf5546cf078d2987d; from c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f before 7167afaaaee37191f8b6afa0c91e0fef41460705; from c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f before 7f796bb3b440d7f1b14c0e3b520462eb34f553af; from c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f before da9c16568bc79140a54c1f5fcf07a0305df47b37; from c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f before 0af8780bdfdfc91fb9127bddb9c48fab67dc9d9e; from c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f before fb717c536af2aafeca520ff11d1e0f25f7ab8fa9; from c5fa7b3cf3cb22e4ac60485fc2dc187fe012910f before 3acdd44385bc7e2e57605e073691ce69cc5a960d; 3.11 (not affected: before 3.11; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.113 up to 6.12.*; from 6.18.57 up to 6.18.*; from 7.2.11 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/09dbd610f78aaed65d7b379c270ce4090a8151ac>
- <https://git.kernel.org/stable/c/21622e5ae8b232c2e64eb1adf5546cf078d2987d>
- <https://git.kernel.org/stable/c/7167afaaaee37191f8b6afa0c91e0fef41460705>
- <https://git.kernel.org/stable/c/7f796bb3b440d7f1b14c0e3b520462eb34f553af>
- <https://git.kernel.org/stable/c/da9c16568bc79140a54c1f5fcf07a0305df47b37>
- <https://git.kernel.org/stable/c/0af8780bdfdfc91fb9127bddb9c48fab67dc9d9e>
- <https://git.kernel.org/stable/c/fb717c536af2aafeca520ff11d1e0f25f7ab8fa9>
- <https://git.kernel.org/stable/c/3acdd44385bc7e2e57605e073691ce69cc5a960d>

## Sources

- CVE List: [CVE-2026-99054](https://www.cve.org/CVERecord?id=CVE-2026-99054), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-99054](https://nvd.nist.gov/vuln/detail/CVE-2026-99054), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-99054 · Whole record: https://cve.day/CVE-2026-99054.json · Rebuilt by cve.day 2026-11-25T22:59:46.961Z
