CVE-2026-80866
Full vulnerability record from the local CVENow database.
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.
View original CVE JSON
{
"id": "CVE-2026-80866",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-09-04T17:16:58.390",
"lastModified": "2026-10-30T13:20:13.230",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"net/tipc/core.c",
"net/tipc/udp_media.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "04c26faa51d1e2fe71cf13c45791f5174c37f986",
"lessThan": "772769859226a5b004442403510acb58a1c32e72",
"versionType": "git",
"status": "affected"
},
{
"version": "04c26faa51d1e2fe71cf13c45791f5174c37f986",
"lessThan": "99b82c8452887408ea908fdfa5df33c4a5dfa88f",
"versionType": "git",
"status": "affected"
},
{
"version": "04c26faa51d1e2fe71cf13c45791f5174c37f986",
"lessThan": "110bb16d37bdba03213156c0df37e7119c190936",
"versionType": "git",
"status": "affected"
},
{
"version": "04c26faa51d1e2fe71cf13c45791f5174c37f986",
"lessThan": "7672973957e3e20780afe5937a9fec70b72bc060",
"versionType": "git",
"status": "affected"
},
{
"version": "04c26faa51d1e2fe71cf13c45791f5174c37f986",
"lessThan": "522d1d950b9e3b68190a6de7534827c8dccedb73",
"versionType": "git",
"status": "affected"
},
{
"version": "04c26faa51d1e2fe71cf13c45791f5174c37f986",
"lessThan": "c1481c94e74c955e0448ddf46b8615a44d840c1e",
"versionType": "git",
"status": "affected"
},
{
"version": "d1f76dfadaf8f47ed1753f97dbcbd41c16215ffa",
"versionType": "git",
"status": "affected"
},
{
"version": "5195ec5e365a2a9331bfeb585b613a6e94f98dba",
"versionType": "git",
"status": "affected"
},
{
"version": "b9f5b7ad4ac3af006443f535b1ce7bff1d130d7d",
"versionType": "git",
"status": "affected"
},
{
"version": "5.4.124",
"lessThan": "5.5",
"versionType": "semver",
"status": "affected"
},
{
"version": "5.10.42",
"lessThan": "5.11",
"versionType": "semver",
"status": "affected"
},
{
"version": "5.12.9",
"lessThan": "5.13",
"versionType": "semver",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"net/tipc/core.c",
"net/tipc/udp_media.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "5.13",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.13",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.1.191",
"lessThanOrEqual": "6.1.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.6.160",
"lessThanOrEqual": "6.6.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.114",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.57",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.1.5",
"lessThanOrEqual": "7.1.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/110bb16d37bdba03213156c0df37e7119c190936",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/522d1d950b9e3b68190a6de7534827c8dccedb73",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/7672973957e3e20780afe5937a9fec70b72bc060",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/772769859226a5b004442403510acb58a1c32e72",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/99b82c8452887408ea908fdfa5df33c4a5dfa88f",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/c1481c94e74c955e0448ddf46b8615a44d840c1e",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}