PT-2026-163641
CVE-2026-139600
·
تاريخ النشر
2026-11-30
·
تاريخ التحديث
2026-11-30
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: Fix a race when expiring a mesh path
My static analyzer identified a potential issue in 'net/mac80211/mesh pathtbl.c':
mpath expired() reads mpath->flags and mpath->exp time without holding
mpath->state lock, while mesh path fix nexthop() and the other writers update
both fields under that lock. In mpath lookup() and
mesh path lookup by idx() the unlocked check is followed by taking the lock
and clearing MESH PATH ACTIVE, so the check and the update are not atomic:
CPU0 (mpath lookup) CPU1 (mesh path fix nexthop)
mpath expired() reads the stale
flags/exp time and returns true
spin lock bh(&mpath->state lock)
mpath->exp time = 0;
mpath->flags = FIXED|SN VALID;
mesh path activate(mpath);
spin unlock bh(&mpath->state lock)
spin lock bh(&mpath->state lock)
mpath->flags &= ~MESH PATH ACTIVE;
spin unlock bh(&mpath->state lock)
A path which mesh path fix nexthop() has just set up as MESH PATH FIXED and
MESH PATH ACTIVE then has MESH PATH ACTIVE cleared again, and forwarding to
that destination silently stops.
Take mpath->state lock before evaluating mpath expired() so that the check and
the clearing of MESH PATH ACTIVE are atomic with respect to the writers.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾