CVE-2026-64088
Received Received - Intake

Integer Overflow in batman-adv Leading to Buffer Handling Issue

Vulnerability report for CVE-2026-64088, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-19

Last updated on: 2026-07-19

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: batman-adv: tt: fix negative tt_buff_len batadv_orig_node::tt_buff_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_other_tt_response(), tt_buff_len is temporarily widened to s32. The incorrectly negative s16 value propagates into the s32, causing batadv_tt_prepare_tvlv_global_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_other_tt_response().

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-19
Last Modified
2026-07-19
Generated
2026-07-20
AI Q&A
2026-07-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a type confusion vulnerability in the Linux kernel's batman-adv module. It occurs when batadv_orig_node::tt_buff_len, declared as a signed 16-bit integer, wraps to a negative value when assigned a value over 32767. This negative value then propagates incorrectly when widened to a 32-bit integer in batadv_send_other_tt_response(), causing an undersized buffer to be allocated while the function attempts to populate a full-sized buffer with uninitialized data.

Detection Guidance

This vulnerability is specific to the Linux kernel's batman-adv module and involves incorrect handling of tt_buff_len. Detection requires checking kernel logs for batman-adv related errors or examining the module's behavior during network operations. No direct commands are provided in the context to detect this issue.

Impact Analysis

This vulnerability could allow an attacker to cause a denial of service or potentially execute arbitrary code by exploiting the buffer overflow resulting from the incorrect buffer size calculation. Systems running vulnerable versions of the Linux kernel with batman-adv enabled may be affected.

Compliance Impact

This vulnerability does not directly affect compliance with standards like GDPR or HIPAA as it is a low-level kernel memory handling issue in the batman-adv protocol. It could potentially lead to information exposure if uninitialized memory is leaked, but no evidence suggests direct regulatory impact.

Mitigation Strategies

Update the Linux kernel to a version that includes the fix for this vulnerability. The issue is resolved by ensuring batadv_orig_node::tt_buff_len is declared as u16 instead of s16 to prevent negative values. Check your distribution's security updates or kernel patches for CVE-2026-64088.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-64088. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart