wifi: mac80211: release mesh path quota on failed additions
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ae76eef027f75fadd8a8eda55ee07707f077aacb · < a613c891906b558c10a4fa98ca29747b98e857cb| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: release mesh path quota on failed additions
Repeated failed or duplicate mesh path additions can exhaust MESH_MAX_MPATHS while the path table holds fewer paths, which stops new paths to reachable destinations from being created.
mesh_path_add() reserves a slot before allocating and inserting a path. If allocation fails, the function returns without releasing the slot. If the rhashtable insertion reports an error or an existing destination, the function discards its candidate but retains the reservation. No new path is installed in any of these cases.
Release the reservation whenever the candidate is not installed.
From the CVE record · Linux
The Linux kernel's mac80211 mesh path code fails to release a reserved slot when adding a path fails or encounters a duplicate. Repeated failures or duplicate additions can exhaust the mesh path quota and prevent new paths to reachable destinations from being created. The input does not specify whether an attacker needs authentication or user interaction to trigger this.
Engineers running Linux systems that use mac80211 mesh networking should check their kernels; affected versions are not specified.