Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: account proxy paths against the mesh path limit Proxy-path churn can drive the interface path counter negative and let later mesh path additions exceed MESH_MAX_MPATHS. mesh_path_free_rcu() decrements the interface mpaths counter for entries from both the mesh and proxy path tables, but mpp_path_add() never reserves a slot in that counter. Removing or expiring a proxy path therefore returns a slot that was never charged. mesh_path_add() uses the same counter to enforce MESH_MAX_MPATHS, so once it falls below the number of installed paths the limit no longer holds. Reserve the shared quota before allocating a proxy path and release it on every unsuccessful addition. Mesh and proxy paths now share one 1024-entry budget, so mpp_path_add() can return -ENOSPC at that limit.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
ece1a2e7e86078c8379937b546e32cb7f25fcb6c to < c66ab4b94bb04c162485759196555e08c0965320affectedece1a2e7e86078c8379937b546e32cb7f25fcb6c to < df072db65fdaa34ad15e1d66fc06a53e3e97f778affectedece1a2e7e86078c8379937b546e32cb7f25fcb6c to < 3b75831ceee76d32bb8e7ddd241904f92f9b5407affectedece1a2e7e86078c8379937b546e32cb7f25fcb6c to < 5a32409ed34a1868830899a5d2437f0b3bf3532caffectedece1a2e7e86078c8379937b546e32cb7f25fcb6c to < a5f35d4b112af1415ff06bd501c8cc26cc08aa8baffected
Linux Linux
Default version status: affected
3.2affected0 to < 3.2unaffected6.6.160 to ≤ 6.6.*unaffected6.12.113 to ≤ 6.12.*unaffected6.18.56 to ≤ 6.18.*unaffected7.2.10 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/c66ab4b94bb04c162485759196555e08c0965320 ↗
- https://git.kernel.org/stable/c/df072db65fdaa34ad15e1d66fc06a53e3e97f778 ↗
- https://git.kernel.org/stable/c/3b75831ceee76d32bb8e7ddd241904f92f9b5407 ↗
- https://git.kernel.org/stable/c/5a32409ed34a1868830899a5d2437f0b3bf3532c ↗
- https://git.kernel.org/stable/c/a5f35d4b112af1415ff06bd501c8cc26cc08aa8b ↗