CVE-2026-98701: wifi: mac80211: release mesh path quota on failed additions
From: Greg Kroah-Hartman <[email protected]>
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.
The Linux kernel CVE team has assigned CVE-2026-98701 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.10 with commit ae76eef027f75fadd8a8eda55ee07707f077aacb and fixed in 6.12.113 with commit 56691ed9ef792f180e008a43294a4dc059fbeca2 Issue introduced in 3.10 with commit ae76eef027f75fadd8a8eda55ee07707f077aacb and fixed in 6.18.56 with commit a613c891906b558c10a4fa98ca29747b98e857cb Issue introduced in 3.10 with commit ae76eef027f75fadd8a8eda55ee07707f077aacb and fixed in 7.2.10 with commit a59eca4557c7462aad1b160011013290a92de97d Issue introduced in 3.10 with commit ae76eef027f75fadd8a8eda55ee07707f077aacb and fixed in 7.3-rc6 with commit 7325a44474f20c1393a1c114c6811abce6ddfaf4
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-98701
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
net/mac80211/mesh_pathtbl.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/56691ed9ef792f180e008a43294a4dc059fbeca2 https://git.kernel.org/stable/c/a613c891906b558c10a4fa98ca29747b98e857cb https://git.kernel.org/stable/c/a59eca4557c7462aad1b160011013290a92de97d https://git.kernel.org/stable/c/7325a44474f20c1393a1c114c6811abce6ddfaf4