CVE-2026-80866

tipc: avoid busy looping in tipc_exit_net()

State
Published
Severity
Not scored
Published
Sep 4, 2026
Updated
Oct 30, 2026
Reserved
Aug 26, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

tipc: avoid busy looping in tipc_exit_net()

Blamed commit introduced a busy-wait loop in tipc_exit_net() to wait for pending UDP bearer cleanup works to complete:

while (atomic_read(&tn->wq_count)) cond_resched();

This loop can busy-wait for a long time if cond_resched() is a NOP. This typically happens if the netns exit is executed by a high priority task, or under kernels configured without preemption (CONFIG_PREEMPT_NONE). In such cases, it wastes CPU cycles and can lead to soft lockups.

Fix this by replacing the busy loop with wait_var_event(), allowing the thread to sleep properly until the work queue count reaches zero.

Accordingly, update cleanup_bearer() to use atomic_dec_and_test() and wake_up_var() to wake up the waiter when the count drops to zero.

This uses the global wait queue hash table, avoiding the need to bloat struct tipc_net with a wait_queue_head_t. The atomic_dec_and_test() provides the necessary memory barrier to ensure the wakeup is not missed.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 04c26faa51d1e2fe71cf13c45791f5174c37f986 to before 772769859226a5b004442403510acb58a1c32e72Affected
  • 04c26faa51d1e2fe71cf13c45791f5174c37f986 to before 99b82c8452887408ea908fdfa5df33c4a5dfa88fAffected
  • 04c26faa51d1e2fe71cf13c45791f5174c37f986 to before 110bb16d37bdba03213156c0df37e7119c190936Affected
  • 04c26faa51d1e2fe71cf13c45791f5174c37f986 to before 7672973957e3e20780afe5937a9fec70b72bc060Affected
  • 04c26faa51d1e2fe71cf13c45791f5174c37f986 to before 522d1d950b9e3b68190a6de7534827c8dccedb73Affected
  • 04c26faa51d1e2fe71cf13c45791f5174c37f986 to before c1481c94e74c955e0448ddf46b8615a44d840c1eAffected
  • d1f76dfadaf8f47ed1753f97dbcbd41c16215ffaAffected
  • 5195ec5e365a2a9331bfeb585b613a6e94f98dbaAffected
  • b9f5b7ad4ac3af006443f535b1ce7bff1d130d7dAffected
  • 5.4.124 to before 5.5Affected
  • 5.10.42 to before 5.11Affected
  • 5.12.9 to before 5.13Affected
LinuxLinux
  • 5.13Affected
  • before 5.13Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.114 through 6.12.*Not affected
  • 6.18.57 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.