batman-adv: clear current gateway during teardown
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 2265c141086474bbae55a5bb3afa1ebb78ccaa7c · < ae7aeb0ce3c0ebbe357ed525779acac197a18086| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
batman-adv: clear current gateway during teardown
batadv_gw_node_free() removes the gateway list entries during mesh teardown, but it does not clear the currently selected gateway. This leaves stale gateway state behind across cleanup and can break a later mesh recreation.
Clear bat_priv->gw.curr_gw before walking the gateway list so the selected gateway reference is dropped as part of teardown.
From the CVE record · Linux
During mesh teardown, batman-adv can leave the selected gateway in stale state, which can break a later mesh recreation. The input does not describe an attacker path or specify network access, authentication, or user-interaction requirements.
Engineers running Linux kernels with batman-adv should check their installations; affected versions are not specified.