PT-2026-163407

CVE-2026-139366

·

تاريخ النشر

2026-11-30

·

تاريخ التحديث

2026-11-30

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

In the Linux kernel, the following vulnerability has been resolved:
IB/IPoIB: Cancel normal flush work on device stop
ipoib ib dev flush normal() can race with ipoib stop() because the normal flush work does not run under RTNL.
Before commit a77a57a1a22a ("IPoIB: Fix deadlock on RTNL in ipoib stop()"), ipoib stop() flushed ipoib workqueue after clearing IPOIB FLAG ADMIN UP and before calling ipoib ib dev down(). This ensured that any in-flight flush work completed before ipoib ib dev down() performed the final clear of IPOIB FLAG OPER UP.
After that commit removed the workqueue flush to avoid a deadlock with workqueue tasks taking RTNL, a normal flush can continue running concurrently with ipoib stop() after IPOIB FLAG ADMIN UP has been cleared.
The flush may observe IPOIB FLAG ADMIN UP set and continue running while ipoib stop() clears IPOIB FLAG ADMIN UP and brings the device down. The flush can then call ipoib ib dev up() and set IPOIB FLAG OPER UP again after the device has already been stopped:
flush normal (ipoib workqueue) ipoib stop() (RTNL held)

test bit(ADMIN UP) == 1 clear bit(ADMIN UP) ipoib ib dev down() clear bit(OPER UP) ipoib ib dev up() set bit(OPER UP)
This leaves the interface with ADMIN UP clear and OPER UP set. During device removal, ipoib ndo uninit() waits in destroy workqueue() while holding RTNL, while ipoib mcast carrier on task() may keep retrying rtnl trylock() as long as OPER UP remains set, resulting in a deadlock.
Cancel the normal flush work from ipoib stop() after clearing IPOIB FLAG ADMIN UP and before bringing the device down. A pending normal flush is canceled, while an already running flush is allowed to finish before ipoib ib dev down() performs the final transition to OPER UP clear.
Only the normal flush needs this synchronization. The heavy flush is already serialized with ipoib stop() by RTNL, while the light flush does not bring the device back up and therefore cannot recreate this race.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾