CVE-2026-52926

batman-adv: clear current gateway during teardown

State
Published
Severity
Not scored
Published
Jun 24, 2026
Updated
Jun 24, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 2265c141086474bbae55a5bb3afa1ebb78ccaa7c to before a3f3f1ec8aad84c5dd386c430b9c61cddd85b18fAffected
  • 2265c141086474bbae55a5bb3afa1ebb78ccaa7c to before e2ec4c712d19141ca7bf7fbbb1d842f73abaa186Affected
  • 2265c141086474bbae55a5bb3afa1ebb78ccaa7c to before 9a1a8ed4facfe843bde6fdfcf7af0e9923eb2e17Affected
  • 2265c141086474bbae55a5bb3afa1ebb78ccaa7c to before 6de089b545db013433cf934bb4e4433dec2dd65fAffected
  • 2265c141086474bbae55a5bb3afa1ebb78ccaa7c to before 30bda3ef4b0cac777f1a7c314cd08b8ff6437365Affected
  • 2265c141086474bbae55a5bb3afa1ebb78ccaa7c to before ae7aeb0ce3c0ebbe357ed525779acac197a18086Affected
  • 2265c141086474bbae55a5bb3afa1ebb78ccaa7c to before 17e3a441111cd1a530cd6ee69a22f3161d80d810Affected
  • 2265c141086474bbae55a5bb3afa1ebb78ccaa7c to before a340a51ed801eab7bb454150c226323b865263ccAffected
LinuxLinux
  • 3.1Affected
  • before 3.1Not affected
  • 5.10.258 through 5.10.*Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.142 through 6.6.*Not affected
  • 6.12.92 through 6.12.*Not affected
  • 6.18.34 through 6.18.*Not affected
  • 7.0.11 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.