Description
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().
Published: 2026-07-19
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The batman‑adv networking layer in the Linux kernel misdeclares a 16‑bit length field that should only store non‑negative values. When a value larger than 32767 is written, the signed field wraps around to a negative number. This sign‑extended negative value is later used to size a buffer, resulting in allocation of a large buffer that is only partially initialized. The remaining memory remains uninitialized, creating an opportunity for an attacker to read or potentially execute data that was never set, thereby compromising confidentiality or integrity of kernel data.

Affected Systems

Any Linux kernel build that contains the batman‑adv module in its unpatched state is affected. The vulnerability exists in all releases that still include the original batman‑adv TT handling code. The patch resides in the commit history referenced in the advisory, so any kernel version that does not contain those commits is vulnerable.

Risk and Exploitability

This flaw carries a CVSS base score of 9.8, indicating high severity. The EPSS score is less than 1 % and the issue is not listed in the CISA KEV catalog, suggesting a low likelihood of exploitation at present. Based on the description, it is inferred that an attacker would need to deliver a specially crafted batman‑adv TT response packet to a vulnerable node, making the attack a remote network exploitation scenario that requires the batman‑adv service to be reachable from the attacker’s network.

Generated by OpenCVE AI on August 3, 2026 at 01:31 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that contains the batman‑adv patch—use the commit identifiers in the advisory to confirm the fix has been applied.
  • If batman‑adv is not required in your environment, unload the module or add it to a blacklist to remove the vulnerable code path.
  • Enable kernel auditing or logging to monitor for anomalous TT response traffic and investigate suspicious packets that may indicate exploitation attempts.

Generated by OpenCVE AI on August 3, 2026 at 01:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8575-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8576-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8575-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8576-2 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-8575-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8610-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-2 Linux kernel (Azure FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-3 Linux kernel (Intel IoTG) vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-4 Linux kernel (Intel IoTG) vulnerabilities
History

Mon, 20 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Mon, 20 Jul 2026 12:15:00 +0000


Sun, 19 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Description 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().
Title batman-adv: tt: fix negative last_changeset_len
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:39:06.132Z

Reserved: 2026-07-19T07:54:57.032Z

Link: CVE-2026-64089

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity :

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-64089 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T01:45:02Z

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound