PT-2026-163641
CVE-2026-139600
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾