Skip to content
Heist/ feed
Back to feed
HighFix available

batman-adv: tt: fix negative tt_buff_len

Type: advisorySources: OSV

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().

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.258, 5.15.209, 6.1.175, 6.12.92, 6.18.34, 6.6.142, 7.0.11
CVEs
CVE-2026-64088
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 19:48 UTC · Revision 1

Source evidence

batman-adv: tt: fix negative tt_buff_len

core-osv · Original source

Published 19 Jul 2026, 15:39 UTC

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().

osv:CVE-2026-64088

Kernel

Fixed versions: 5.10.258, 5.15.209, 6.1.175, 6.6.142, 6.12.92, 6.18.34, 7.0.11

Complete source record
{
  "id": "f47a3f3ca05d170cc636328fde6b951ada160970c615fcd2f4a7d22bd4d54580",
  "url": "https://osv.dev/vulnerability/CVE-2026-64088",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "batman-adv: tt: fix negative tt_buff_len",
    "summary": "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().",
    "evidence": "osv:CVE-2026-64088",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.258",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.209",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.175",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.142",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.92",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.34",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.0.11",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-64088",
      "aliases": [
        "CVE-2026-64088"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a73105b8d4c765d9ebfb664d0a66802127d8e4c7"
                },
                {
                  "fixed": "4c4c2f340f4c27373bfcac8dc5032ce7bb474e47"
                },
                {
                  "fixed": "33e5ede7ce6d92e531920d4bbd6d3e18ef1c6430"
                },
                {
                  "fixed": "3c96dff00998314983b68a3e7caac07a66ebe496"
                },
                {
                  "fixed": "32edd2a28e112064020a2f319a8cb8a9e5a09767"
                },
                {
                  "fixed": "4dab98961426d0cf6a1599cda6950b7596ca2fcd"
                },
                {
                  "fixed": "730de8733dd90f70d7580a9b329b971f8e1474a2"
                },
                {
                  "fixed": "ed28ead3420c373a7928622f114bc6168075d1e1"
                },
                {
                  "fixed": "b64963a2ceeb7529310b6cf253a1e540784422f4"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64088.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.1.0"
                },
                {
                  "fixed": "5.10.258"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.209"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.175"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.142"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.92"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.34"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.0.11"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64088.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.070345927Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/32edd2a28e112064020a2f319a8cb8a9e5a09767",
        "https://git.kernel.org/stable/c/33e5ede7ce6d92e531920d4bbd6d3e18ef1c6430",
        "https://git.kernel.org/stable/c/3c96dff00998314983b68a3e7caac07a66ebe496",
        "https://git.kernel.org/stable/c/4c4c2f340f4c27373bfcac8dc5032ce7bb474e47",
        "https://git.kernel.org/stable/c/4dab98961426d0cf6a1599cda6950b7596ca2fcd",
        "https://git.kernel.org/stable/c/730de8733dd90f70d7580a9b329b971f8e1474a2",
        "https://git.kernel.org/stable/c/b64963a2ceeb7529310b6cf253a1e540784422f4",
        "https://git.kernel.org/stable/c/ed28ead3420c373a7928622f114bc6168075d1e1",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64088.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-64088",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64088.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-64088",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489381,
  "published_at": "2026-07-19T15:39:58.084+00:00"
}