wifi: mac80211: Fix a race when expiring a mesh path

Summary

CVECVE-2026-139600
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:19:42 UTC
Updated2026-11-30 14:19:42 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 60854fd94573f0d3b80b55b40cf0140a0430f3ab 0976c10c75e37689eb775e4543d400bee77edb74 git Not specified
CNA Linux Linux affected 60854fd94573f0d3b80b55b40cf0140a0430f3ab 1eeba134ef1b04b338211e940b1717db0f39272a git Not specified
CNA Linux Linux affected 60854fd94573f0d3b80b55b40cf0140a0430f3ab f3f40dccd545ddf220dc7b38056224fc104a2d94 git Not specified
CNA Linux Linux affected 60854fd94573f0d3b80b55b40cf0140a0430f3ab 1a0d8644ce2d6ca90f3501c5c61835577e54eb20 git Not specified
CNA Linux Linux affected 60854fd94573f0d3b80b55b40cf0140a0430f3ab aebf730851d951b1e8d128ceef4d965406088915 git Not specified
CNA Linux Linux affected 60854fd94573f0d3b80b55b40cf0140a0430f3ab 8f96f1ba445d1e81519e025cc4e2d3b1a9f992e6 git Not specified
CNA Linux Linux affected 60854fd94573f0d3b80b55b40cf0140a0430f3ab 97d85f1e43648cc8a259bd4babf58ca903a7c2cf git Not specified
CNA Linux Linux affected 60854fd94573f0d3b80b55b40cf0140a0430f3ab 6571b6a24cc37c650a1815b1c320e30db5de466f git Not specified
CNA Linux Linux affected 4.7 Not specified
CNA Linux Linux unaffected 4.7 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.119 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/0976c10c75e37689eb775e4543d400bee77edb74 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f3f40dccd545ddf220dc7b38056224fc104a2d94 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1a0d8644ce2d6ca90f3501c5c61835577e54eb20 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/97d85f1e43648cc8a259bd4babf58ca903a7c2cf 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8f96f1ba445d1e81519e025cc4e2d3b1a9f992e6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/aebf730851d951b1e8d128ceef4d965406088915 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1eeba134ef1b04b338211e940b1717db0f39272a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6571b6a24cc37c650a1815b1c320e30db5de466f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report