kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-80866 tipc: avoid busy looping in tipc_exit_net()

설명

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.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.4.124 이상 5.5 미만
    • 5.10.42 이상 5.11 미만
    • 5.12.9 이상 5.13 미만
    • 5.13

    해결 버전

    • 5.5 이상
    • 5.11 이상
    • 5.13 이상
    • 5.13 미만
    • 6.1.191 이상
    • 6.6.160 이상
    • 6.12.114 이상
    • 6.18.57 이상
    외 1개 구간 펼치기
    • 7.1.5 이상

참고 자료 6건

‹ 목록

점검 지원 범위 문의

도입 문의