{"id":"CVE-2026-80866","published":"2026-09-04T16:48:11Z","modified":"2026-10-30T12:31:21Z","title":"tipc: avoid busy looping in tipc_exit_net()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntipc: avoid busy looping in tipc_exit_net()\n\nBlamed commit introduced a busy-wait loop in tipc_exit_net()\nto wait for pending UDP bearer cleanup works to complete:\n\n       while (atomic_read(&tn->wq_count))\n               cond_resched();\n\nThis loop can busy-wait for a long time if cond_resched() is a NOP. This\ntypically happens if the netns exit is executed by a high priority task,\nor under kernels configured without preemption (CONFIG_PREEMPT_NONE). In\nsuch cases, it wastes CPU cycles and can lead to soft lockups.\n\nFix this by replacing the busy loop with wait_var_event(), allowing the\nthread to sleep properly until the work queue count reaches zero.\n\nAccordingly, update cleanup_bearer() to use atomic_dec_and_test() and\nwake_up_var() to wake up the waiter when the count drops to zero.\n\nThis uses the global wait queue hash table, avoiding the need to bloat\nstruct tipc_net with a wait_queue_head_t. The atomic_dec_and_test()\nprovides the necessary memory barrier to ensure the wakeup is not missed.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00197,"percentile":0.09478,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/772769859226a5b004442403510acb58a1c32e72","tags":[]},{"url":"https://git.kernel.org/stable/c/99b82c8452887408ea908fdfa5df33c4a5dfa88f","tags":[]},{"url":"https://git.kernel.org/stable/c/110bb16d37bdba03213156c0df37e7119c190936","tags":[]},{"url":"https://git.kernel.org/stable/c/7672973957e3e20780afe5937a9fec70b72bc060","tags":[]},{"url":"https://git.kernel.org/stable/c/522d1d950b9e3b68190a6de7534827c8dccedb73","tags":[]},{"url":"https://git.kernel.org/stable/c/c1481c94e74c955e0448ddf46b8615a44d840c1e","tags":[]}],"priority":{"score":1.9,"factors":[{"name":"EPSS percentile","points":1.9}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 04c26faa51d1e2fe71cf13c45791f5174c37f986, < 772769859226a5b004442403510acb58a1c32e72",">= 04c26faa51d1e2fe71cf13c45791f5174c37f986, < 99b82c8452887408ea908fdfa5df33c4a5dfa88f",">= 04c26faa51d1e2fe71cf13c45791f5174c37f986, < 110bb16d37bdba03213156c0df37e7119c190936",">= 04c26faa51d1e2fe71cf13c45791f5174c37f986, < 7672973957e3e20780afe5937a9fec70b72bc060",">= 04c26faa51d1e2fe71cf13c45791f5174c37f986, < 522d1d950b9e3b68190a6de7534827c8dccedb73",">= 04c26faa51d1e2fe71cf13c45791f5174c37f986, < c1481c94e74c955e0448ddf46b8615a44d840c1e","d1f76dfadaf8f47ed1753f97dbcbd41c16215ffa","5195ec5e365a2a9331bfeb585b613a6e94f98dba","b9f5b7ad4ac3af006443f535b1ce7bff1d130d7d",">= 5.4.124, < 5.5"]},{"vendor":"Linux","product":"Linux","versions":["5.13"]}],"euvd":{"id":"EUVD-2026-71496","exploited":false,"provenance":"source"}}