CVE-2026-52926

batman-adv: clear current gateway during teardown

MEDIUM
5.5
CVSS Score
Published: June 24, 2026 at 07:14 AM UTC
Updated: July 8, 2026 at 03:39 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.1 ≤ v < 5.10.2583.1 ≤ v < 5.15.2093.1 ≤ v < 6.1.1753.1 ≤ v < 6.12.923.1 ≤ v < 6.18.343.1 ≤ v < 6.6.1423.1 ≤ v < 7.0.113.1 ≤ v < 7.15.11 ≤ v < 5.15.2095.16 ≤ v < 6.1.1756.13 ≤ v < 6.18.346.19 ≤ v < 7.0.116.2 ≤ v < 6.6.1426.7 ≤ v < 6.12.922265c141086474bbae55a5bb3afa1ebb78ccaa7c7.1 rc17.1 rc27.1 rc37.1 rc4
Vendor states this is fixed in 17e3a441111cd1a530cd6ee69a22f3161d80d810 (fixed)
Vendor states this is fixed in 30bda3ef4b0cac777f1a7c314cd08b8ff6437365 (fixed)
Vendor states this is fixed in 6de089b545db013433cf934bb4e4433dec2dd65f (fixed)
Vendor states this is fixed in 9a1a8ed4facfe843bde6fdfcf7af0e9923eb2e17 (fixed)
Vendor states this is fixed in a340a51ed801eab7bb454150c226323b865263cc (fixed)
Vendor states this is fixed in a3f3f1ec8aad84c5dd386c430b9c61cddd85b18f (fixed)
Vendor states this is fixed in ae7aeb0ce3c0ebbe357ed525779acac197a18086 (fixed)
Vendor states this is fixed in e2ec4c712d19141ca7bf7fbbb1d842f73abaa186 (fixed)
Vendor states this is fixed in 3.1 (unaffected)
Vendor states this is fixed in 5.10.258 (unaffected)
Vendor states this is fixed in 5.15.209 (unaffected)
Vendor states this is fixed in 6.1.175 (unaffected)
Vendor states this is fixed in 6.12.92 (unaffected)
Vendor states this is fixed in 6.18.34 (unaffected)
Vendor states this is fixed in 6.6.142 (unaffected)
Vendor states this is fixed in 7.0.11 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card