Skip to main content

Linux Kernel batman-adv CVE-2026-64089

| EUVDEUVD-2026-45774 CRITICAL
2026-07-19 Linux GHSA-7jfx-377j-9v79
Critical
Disputed · 9.8 Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Join target batman-adv mesh network
  2. Delivery
    Induce large translation-table changeset (>32767 bytes)
  3. Exploit
    Trigger s16 last_changeset_len wraparound
  4. Execution
    Victim allocates oversized TVLV buffer
  5. Persist
    Receive TT response with uninitialized kernel memory
  6. Impact
    Extract leaked heap data

Vulnerability Assessment

Exploitation Conditions

Exploitation requires the target Linux host to be running the batman-adv module and actively participating in a B.A.T.M.A.N. Advanced layer-2 mesh, and the attacker must be an adjacent node on that same mesh able to receive TT (translation table) response frames. The specific trigger condition is a translation-table changeset whose length exceeds 32767 bytes, causing the signed s16 last_changeset_len to wrap negative; smaller changesets do not trigger the leak. Limiting factors: batman-adv is not enabled or loaded in default general-purpose deployments, exploitation is confined to the mesh broadcast/adjacency domain (not routable Internet-wide despite the AV:N in the source CVSS), and it yields only uninitialized-memory disclosure rather than code execution or integrity/availability impact. Authentication requirements are not confirmed from available data beyond mesh participation; the CVSS PR:N indicates no host authentication, but joining the mesh is itself the practical prerequisite.

Impact

The signals conflict sharply and the headline CVSS 9.8 (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:H) is almost certainly an automated over-rating that should not be treated as ground truth. The actual defect is disclosure of uninitialized kernel memory in mesh TT responses - an information-leak, not remote code execution - so the claimed I:H and A:H impacts are not supported by the description, which only implies a confidentiality leak. batman-adv operates at layer 2 across a mesh, so the realistic attack vector is Adjacent (a participating mesh peer), not the Internet-wide Network implied by AV:N, and triggering the wrap requires a translation changeset larger than 32767 bytes (a large table state), implying higher complexity than AC:L. The corroborating exploitation signals are all low: EPSS is 0.18% (8th percentile), there is no KEV listing, and no public PoC is identified. Net assessment: this is a genuine but low-to-moderate-severity kernel info-leak relevant mainly to systems actually running batman-adv mesh networking, not a widespread critical priority - the CVSS 9.8 overstates real-world risk. Discrepancy to flag: CVSS states network vector and high integrity/availability impact, but the description supports only adjacent-network confidentiality impact; verify metrics against vendor/NVD before prioritizing.

Exploit ScenarioDerived

An attacker joins or is already a node on a batman-adv mesh alongside a vulnerable host and induces or waits for a large translation-table state so the changeset length exceeds 32767 bytes. When the victim sends a TT response, the oversized TVLV buffer carries uninitialized kernel heap bytes to the attacker's node, potentially leaking sensitive kernel memory (pointers or residual data useful for further attacks). No public exploit is identified at time of analysis, and the adjacent mesh position plus the large-table precondition raise practical complexity.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 20, 2026

Kernel memory disclosure in the Linux kernel's batman-adv (B.A.T.M.A.N. Advanced) mesh networking module arises from an integer wraparound in the translation-table (TT) code, where last_changeset_len was a signed s16 that wraps negative once a changeset exceeds 32767 bytes; batadv_send_my_tt_response() then sign-extends that value and batadv_tt_prepare_tvlv_local_data() allocates a full-sized TVLV buffer while filling only a small part, emitting the uninitialized remainder onto the mesh. A remote mesh peer can thereby receive stale kernel heap contents in TT response frames, tagged by the source as Information Disclosure. There is no public exploit identified at time of analysis, EPSS is low (0.18%), and the issue is not in CISA KEV; a vendor patch is available.

RemediationAI

Vendor-released patch: update to a fixed stable kernel for your branch - 5.10.258, 5.15.209, 6.1.175, 6.6.142, 6.12.92, 6.18.34, or 7.0.11 (or later), which changes last_changeset_len from s16 to u16. The upstream fix is available as the kernel.org stable commits (e.g. https://git.kernel.org/stable/c/6314089acf0ddf64376fdc0b1420695504c73f52, https://git.kernel.org/stable/c/c424e8519ac78eac5d9f4eecf06208a0d619ec14); apply your distribution's corresponding kernel security update once released. If you cannot patch immediately and do not require mesh networking, unload and blacklist the module (rmmod batman_adv, then blacklist batman-adv in /etc/modprobe.d) - the trade-off is loss of all B.A.T.M.A.N. Advanced mesh routing on that host. Where the mesh is required, restrict mesh membership to trusted, authenticated nodes and segment the mesh L2 domain so untrusted devices cannot join and receive TT responses; this limits who can observe the leaked frames but does not fix the underlying uninitialized-memory disclosure.

Affected VersionsENISA

Linux patch: 5.10.258
Linux patch: 7.0.11
Linux a73105b8d4c765d9ebfb664d0a66802127d8e4c7 <179eb62506a02d00370bd6478898cb632e10986c
Linux patch: 5.15.209
Linux a73105b8d4c765d9ebfb664d0a66802127d8e4c7 <22d59c72f4a47ffec121d0610f70d0d70c3c11c8
Linux a73105b8d4c765d9ebfb664d0a66802127d8e4c7 <6314089acf0ddf64376fdc0b1420695504c73f52
Linux patch: 6.1.175
Linux a73105b8d4c765d9ebfb664d0a66802127d8e4c7 <c424e8519ac78eac5d9f4eecf06208a0d619ec14
Linux a73105b8d4c765d9ebfb664d0a66802127d8e4c7 <55dc41fe8821e9a849e147255ad572bc933a9d15
Linux patch: 6.6.142
Linux patch: 6.18.34
Linux 3.1
Linux a73105b8d4c765d9ebfb664d0a66802127d8e4c7 <d29abf70c665730e249d2ec8e1402095ae26bcee
Linux patch: 6.12.92
Linux a73105b8d4c765d9ebfb664d0a66802127d8e4c7 <fc92cdfcb295cefa4344d71a527d61b638b7bfc4
Linux patch: 0
Linux patch: 7.1
Linux a73105b8d4c765d9ebfb664d0a66802127d8e4c7 <eb235472b52ef36981c5aad330485eaf2382c53b

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

batman-adv is the in-kernel implementation of the B.A.T.M.A.N. Advanced layer-2 mesh routing protocol, which propagates client MAC addresses between mesh nodes via a Translation Table (TT) carried in TVLV (Type-Length-Value-Length) containers. The root cause is a type-confusion / integer-signedness bug: batadv_priv_tt::last_changeset_len was declared s16, but the accumulated changeset length is an unsigned quantity that can exceed 32767; when it does, the value wraps to negative. That negative value is then widened to s32 in batadv_send_my_tt_response(), and the resulting sign-extended figure drives batadv_tt_prepare_tvlv_local_data() to allocate a large buffer that is only partially populated. Although the source lists CWE as N/A, this maps to CWE-190 (integer overflow/wraparound) leading to CWE-908/CWE-457 (use of uninitialized resource), producing an out-of-slab information leak. The fix changes the field to u16 so no negative sign extension occurs. Per the CPE (cpe:2.3:a:linux:linux), the affected product is the mainline Linux kernel, specifically builds with CONFIG_BATMAN_ADV enabled and the module in use.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Medium–Critical)
Vendor (Linux) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 3.1 LOW

Adjacent mesh peer (AV:A), requires a >32767-byte changeset to trigger the wrap (AC:H), no host auth (PR:N); impact is an uninitialized-memory confidentiality leak only (C:L, I:N, A:N).

3.1 AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:A/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
SUSE 6.5 MEDIUM
AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: Linux

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Jul 20, 2026 - 15:22 NVD
9.8 (CRITICAL)
Patch available
Jul 19, 2026 - 17:03 EUVD
CVE Published
Jul 19, 2026 - 15:39 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 19, 2026 - 15:39 cve.org
CRITICAL 9.8

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

batman-adv: tt: fix negative last_changeset_len

batadv_piv_tt::last_changeset_len len was declared as s16, but the field is never intended to hold a negative value. When a value greater than 32767 is assigned, it wraps to a negative signed integer.

In batadv_send_my_tt_response(), last_changeset_len is temporarily widened to s32. The incorrectly negative s16 value propagates into the s32, causing batadv_tt_prepare_tvlv_local_data() to allocate a full sized buffer but populates only a small portion of it with the collected changeset. All remaining bits are kept uninitialized.

Using an u16 avoids this type confusion and ensures that no (negative) sign extension is performed in batadv_send_my_tt_response().

Executive ViewAI

Why It Matters

A critical memory leak vulnerability in the Linux batman-adv mesh networking module could expose sensitive data such as encryption keys and credentials to unauthorized network peers; no public exploit has been identified at this time. Any organization operating batman-adv mesh networks faces potential data disclosure risk from attackers positioned on the network infrastructure. Vendors have released patches, making this a manageable risk through prompt remediation.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
batman-adv mesh module rarely enabled outside community/IoT mesh networks
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy