tipc: avoid busy looping in tipc_exit_net()

Summary

CVECVE-2026-80866
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-04 17:16:58 UTC
Updated2026-09-04 17:16:58 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.001450000 probability, percentile 0.040710000 (date 2026-09-07)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 04c26faa51d1e2fe71cf13c45791f5174c37f986 522d1d950b9e3b68190a6de7534827c8dccedb73 git Not specified
CNA Linux Linux affected 04c26faa51d1e2fe71cf13c45791f5174c37f986 c1481c94e74c955e0448ddf46b8615a44d840c1e git Not specified
CNA Linux Linux affected d1f76dfadaf8f47ed1753f97dbcbd41c16215ffa git Not specified
CNA Linux Linux affected 5195ec5e365a2a9331bfeb585b613a6e94f98dba git Not specified
CNA Linux Linux affected b9f5b7ad4ac3af006443f535b1ce7bff1d130d7d git Not specified
CNA Linux Linux affected 5.4.124 5.5 semver Not specified
CNA Linux Linux affected 5.10.42 5.11 semver Not specified
CNA Linux Linux affected 5.12.9 5.13 semver Not specified
CNA Linux Linux affected 5.13 Not specified
CNA Linux Linux unaffected 5.13 semver Not specified
CNA Linux Linux unaffected 7.1.5 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/522d1d950b9e3b68190a6de7534827c8dccedb73 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c1481c94e74c955e0448ddf46b8615a44d840c1e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report