# CVE-2026-139600

- Bağlantı: https://www.allsafe.com.tr/cve-2026-139600/
- Yayımlanma: 2026-11-30T17:19:42+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-139600)
