Linux: wifi: mac80211: release mesh path quota on failed additions
What fixes it
- 57bfaa8b2853425ab1b83114d823a62fe63f859fLinuxCVE List
- 56691ed9ef792f180e008a43294a4dc059fbeca2LinuxCVE List
- 7325a44474f20c1393a1c114c6811abce6ddfaf4LinuxCVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
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.
Text from CVE List
Affected versions 12
- Linuxaffected: ae76eef027f75fadd8a8eda55ee07707f077aacb before 57bfaa8b2853425ab1b83114d823a62fe63f859fCVE List
- Linuxaffected: ae76eef027f75fadd8a8eda55ee07707f077aacb before 56691ed9ef792f180e008a43294a4dc059fbeca2CVE List
- Linuxaffected: ae76eef027f75fadd8a8eda55ee07707f077aacb before a613c891906b558c10a4fa98ca29747b98e857cbCVE List
- Linuxaffected: ae76eef027f75fadd8a8eda55ee07707f077aacb before a59eca4557c7462aad1b160011013290a92de97dCVE List
- Linuxaffected: ae76eef027f75fadd8a8eda55ee07707f077aacb before 7325a44474f20c1393a1c114c6811abce6ddfaf4CVE List
- Linuxaffected: 3.10CVE List
- Linuxunaffected: all versions before 3.10CVE List
- Linuxunaffected: 6.6.160 through 6.6.*CVE List
- Linuxunaffected: 6.12.113 through 6.12.*CVE List
- Linuxunaffected: 6.18.56 through 6.18.*CVE List
- Linuxunaffected: 7.2.10 through 7.2.*CVE List
- Linuxunaffected: 7.3CVE List
References 5
- git.kernel.org/stable/c/57bfaa8b2853425ab1b83114d823a62fe63f859fReferencevia CVE List
- git.kernel.org/stable/c/56691ed9ef792f180e008a43294a4dc059fbeca2Referencevia CVE List
- git.kernel.org/stable/c/a613c891906b558c10a4fa98ca29747b98e857cbReferencevia CVE List
- git.kernel.org/stable/c/a59eca4557c7462aad1b160011013290a92de97dReferencevia CVE List
- git.kernel.org/stable/c/7325a44474f20c1393a1c114c6811abce6ddfaf4Referencevia CVE List