PT-2026-163641
CVE-2026-139600
·
Publicado
2026-11-30
·
Atualizado
2026-11-30
Descrição por
Pontuação
N/A
Não disponívelNão há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
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.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾