In the Linux kernel, the following vulnerability has been resolved: batman-adv: tt: fix negative last_changeset_len… (CVE-2026-64089)
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().
AI Analysis
Technical Summary
The Linux kernel's batman-adv mesh networking subsystem contained a vulnerability (CVE-2026-64089) due to the use of a signed 16-bit integer (s16) for the field last_changeset_len, which was not intended to hold negative values. When values greater than 32767 were assigned, the signed integer wrapped to a negative value, causing sign extension issues when widened to a 32-bit integer. This led to batadv_tt_prepare_tvlv_local_data() allocating a full-sized buffer but only partially initializing it, leaving the remainder uninitialized. The fix involved changing last_changeset_len to an unsigned 16-bit integer (u16), preventing negative sign extension and ensuring proper buffer initialization. This vulnerability affects multiple Linux kernel versions prior to certain 5.15.x updates and has been addressed in official patches.
Potential Impact
The vulnerability allows improper memory handling that could lead to exposure of uninitialized kernel memory, potentially leaking sensitive information or causing instability. The CVSS score of 9.8 reflects critical impact on confidentiality, integrity, and availability, meaning an attacker could fully compromise the affected system without privileges or user interaction. No known exploits are reported in the wild at this time.
Mitigation Recommendations
An official patch is available and should be applied promptly. The affected Linux kernel versions are fixed in updates starting from versions 5.15.0-1112.119~20.04.1 and later. Users should update their systems using standard package management tools and reboot to apply the kernel updates. Note that due to ABI changes, third-party kernel modules may need recompilation and reinstallation after the update. Follow vendor instructions for updating and rebuilding kernel modules as necessary.
In the Linux kernel, the following vulnerability has been resolved: batman-adv: tt: fix negative last_changeset_len… (CVE-2026-64089)
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().
CVSS v3.1
Score 9.8critical
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's batman-adv mesh networking subsystem contained a vulnerability (CVE-2026-64089) due to the use of a signed 16-bit integer (s16) for the field last_changeset_len, which was not intended to hold negative values. When values greater than 32767 were assigned, the signed integer wrapped to a negative value, causing sign extension issues when widened to a 32-bit integer. This led to batadv_tt_prepare_tvlv_local_data() allocating a full-sized buffer but only partially initializing it, leaving the remainder uninitialized. The fix involved changing last_changeset_len to an unsigned 16-bit integer (u16), preventing negative sign extension and ensuring proper buffer initialization. This vulnerability affects multiple Linux kernel versions prior to certain 5.15.x updates and has been addressed in official patches.
Potential Impact
The vulnerability allows improper memory handling that could lead to exposure of uninitialized kernel memory, potentially leaking sensitive information or causing instability. The CVSS score of 9.8 reflects critical impact on confidentiality, integrity, and availability, meaning an attacker could fully compromise the affected system without privileges or user interaction. No known exploits are reported in the wild at this time.
Mitigation Recommendations
An official patch is available and should be applied promptly. The affected Linux kernel versions are fixed in updates starting from versions 5.15.0-1112.119~20.04.1 and later. Users should update their systems using standard package management tools and reboot to apply the kernel updates. Note that due to ABI changes, third-party kernel modules may need recompilation and reinstallation after the update. Follow vendor instructions for updating and rebuilding kernel modules as necessary.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-7jfx-377j-9v79
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64089"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- 3.1
Threat ID: 6a5d27a92a4a8d598912b8b9
Added to database: 07/19/2026, 19:38:17 UTC
Last enriched: 08/22/2026, 14:30:02 UTC
Last updated: 08/31/2026, 22:52:13 UTC
Views: 58
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.