5.5
MEDIUM CVSS 3.1
CVE-2026-52926
batman-adv: clear current gateway during teardown
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.

INFO

Published Date :

June 24, 2026, 8:16 a.m.

Last Modified :

July 8, 2026, 3:28 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-52926 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
Clear the current gateway reference during mesh teardown to prevent stale state.
  • Clear bat_priv->gw.curr_gw before walking gateway list.
  • Ensure gateway list entries are fully removed during teardown.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-52926 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-52926 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-52926 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-52926 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jul. 08, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE NVD-CWE-noinfo
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.175 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.209 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.92 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.34 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.142 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.1 up to (excluding) 5.10.258
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/17e3a441111cd1a530cd6ee69a22f3161d80d810 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/30bda3ef4b0cac777f1a7c314cd08b8ff6437365 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/6de089b545db013433cf934bb4e4433dec2dd65f Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/9a1a8ed4facfe843bde6fdfcf7af0e9923eb2e17 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/a340a51ed801eab7bb454150c226323b865263cc Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/a3f3f1ec8aad84c5dd386c430b9c61cddd85b18f Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/ae7aeb0ce3c0ebbe357ed525779acac197a18086 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/e2ec4c712d19141ca7bf7fbbb1d842f73abaa186 Types: Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 24, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2265c141086474bbae55a5bb3afa1ebb78ccaa7c', 'lessThan': 'a3f3f1ec8aad84c5dd386c430b9c61cddd85b18f', 'versionType': 'git'}, {'status': 'affected', 'version': '2265c141086474bbae55a5bb3afa1ebb78ccaa7c', 'lessThan': 'e2ec4c712d19141ca7bf7fbbb1d842f73abaa186', 'versionType': 'git'}, {'status': 'affected', 'version': '2265c141086474bbae55a5bb3afa1ebb78ccaa7c', 'lessThan': '9a1a8ed4facfe843bde6fdfcf7af0e9923eb2e17', 'versionType': 'git'}, {'status': 'affected', 'version': '2265c141086474bbae55a5bb3afa1ebb78ccaa7c', 'lessThan': '6de089b545db013433cf934bb4e4433dec2dd65f', 'versionType': 'git'}, {'status': 'affected', 'version': '2265c141086474bbae55a5bb3afa1ebb78ccaa7c', 'lessThan': '30bda3ef4b0cac777f1a7c314cd08b8ff6437365', 'versionType': 'git'}, {'status': 'affected', 'version': '2265c141086474bbae55a5bb3afa1ebb78ccaa7c', 'lessThan': 'ae7aeb0ce3c0ebbe357ed525779acac197a18086', 'versionType': 'git'}, {'status': 'affected', 'version': '2265c141086474bbae55a5bb3afa1ebb78ccaa7c', 'lessThan': '17e3a441111cd1a530cd6ee69a22f3161d80d810', 'versionType': 'git'}, {'status': 'affected', 'version': '2265c141086474bbae55a5bb3afa1ebb78ccaa7c', 'lessThan': 'a340a51ed801eab7bb454150c226323b865263cc', 'versionType': 'git'}], 'programFiles': ['net/batman-adv/gateway_client.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3.1'}, {'status': 'unaffected', 'version': '0', 'lessThan': '3.1', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.258', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.209', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.175', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.142', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.92', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.34', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.11', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/batman-adv/gateway_client.c'], 'defaultStatus': 'affected'}]
    Added 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.
    Added Reference https://git.kernel.org/stable/c/17e3a441111cd1a530cd6ee69a22f3161d80d810
    Added Reference https://git.kernel.org/stable/c/30bda3ef4b0cac777f1a7c314cd08b8ff6437365
    Added Reference https://git.kernel.org/stable/c/6de089b545db013433cf934bb4e4433dec2dd65f
    Added Reference https://git.kernel.org/stable/c/9a1a8ed4facfe843bde6fdfcf7af0e9923eb2e17
    Added Reference https://git.kernel.org/stable/c/a340a51ed801eab7bb454150c226323b865263cc
    Added Reference https://git.kernel.org/stable/c/a3f3f1ec8aad84c5dd386c430b9c61cddd85b18f
    Added Reference https://git.kernel.org/stable/c/ae7aeb0ce3c0ebbe357ed525779acac197a18086
    Added Reference https://git.kernel.org/stable/c/e2ec4c712d19141ca7bf7fbbb1d842f73abaa186
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.