{"id":"CVE-2026-80866","aliases":["CVE-2026-80866"],"related":[],"kind":"vulnerability","state":"published","title":"tipc: avoid busy looping in tipc_exit_net()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-04T16:48:11.682Z","modified":"2026-10-30T13:20:13.230Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"04c26faa51d1e2fe71cf13c45791f5174c37f986","fixed":"772769859226a5b004442403510acb58a1c32e72","status":"affected"},{"type":"git","introduced":"04c26faa51d1e2fe71cf13c45791f5174c37f986","fixed":"99b82c8452887408ea908fdfa5df33c4a5dfa88f","status":"affected"},{"type":"git","introduced":"04c26faa51d1e2fe71cf13c45791f5174c37f986","fixed":"110bb16d37bdba03213156c0df37e7119c190936","status":"affected"},{"type":"git","introduced":"04c26faa51d1e2fe71cf13c45791f5174c37f986","fixed":"7672973957e3e20780afe5937a9fec70b72bc060","status":"affected"},{"type":"git","introduced":"04c26faa51d1e2fe71cf13c45791f5174c37f986","fixed":"522d1d950b9e3b68190a6de7534827c8dccedb73","status":"affected"},{"type":"git","introduced":"04c26faa51d1e2fe71cf13c45791f5174c37f986","fixed":"c1481c94e74c955e0448ddf46b8615a44d840c1e","status":"affected"},{"type":"git","version":"d1f76dfadaf8f47ed1753f97dbcbd41c16215ffa","status":"affected"},{"type":"git","version":"5195ec5e365a2a9331bfeb585b613a6e94f98dba","status":"affected"},{"type":"git","version":"b9f5b7ad4ac3af006443f535b1ce7bff1d130d7d","status":"affected"},{"type":"semver","introduced":"5.4.124","fixed":"5.5","status":"affected"},{"type":"semver","introduced":"5.10.42","fixed":"5.11","status":"affected"},{"type":"semver","introduced":"5.12.9","fixed":"5.13","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.13","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/772769859226a5b004442403510acb58a1c32e72","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/99b82c8452887408ea908fdfa5df33c4a5dfa88f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/110bb16d37bdba03213156c0df37e7119c190936","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7672973957e3e20780afe5937a9fec70b72bc060","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/522d1d950b9e3b68190a6de7534827c8dccedb73","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c1481c94e74c955e0448ddf46b8615a44d840c1e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80866","url":"https://www.cve.org/CVERecord?id=CVE-2026-80866","licence":"CVE Terms of Use","modified":"2026-10-30T12:31:21.261Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80866","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80866","licence":"Public domain","modified":"2026-10-30T13:20:13.230Z"}],"updatedAt":"2026-11-25T22:59:36.366Z","epss":{"score":0.00197,"percentile":0.09888,"date":"2026-12-01T12:00:22.000Z"}}