From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F32913A872A for ; Sun, 19 Jul 2026 15:44:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784475899; cv=none; b=fdRF4ahmvuRwisQxdyzrkOUczZE33p2jJhSfP0jZg085H2ziCpDve1MqQOcnKoXMlLYgopUrrNHU9KlxICK0UxYh+p7MYB8WnPlAuHCzlDYFwvwV8M7H4kUX67EeQ8cBID+snsnA9EE14fNYi+k7F9DB/VXNqOdnWOhw+ucL+T4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784475899; c=relaxed/simple; bh=vRVKAn5AKbWkwh05eTzFNGy0ZOqByL6JlRDYM0RwUns=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VlnTet8DN5sq7mSV0fuu4vUliqGovX13rqXMTyvxGv8BhyEHN9b8Auo5BZXGmJnnSkcKcEEpA8OEyu7aXCO7XmFzahd2C8nMmJMbUDyDFcCaEIasltnp7OG8rMXzmFER53+fgjojIYWwsShdy4mNmBDq+tC/f83trtxkYFBK8vo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=z3kcHSk6; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="z3kcHSk6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5BE0E1F000E9; Sun, 19 Jul 2026 15:44:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784475897; bh=gadKKDU1JdcWREUcTz1rg2KRG8Vc9LI9ENsBz4y7koc=; h=From:To:Cc:Subject:Date:Reply-To; b=z3kcHSk6v2rfCLkJ9VpYL+vwnByIQ2kQxUR1Vy+x0Y8GbF81sOnPwvnEjkQ0qNS1s suzgHIZ4dO4cagJ3ekVEMUfWkQjpsExsySYhnmSWVa9goVLCMSYe4vsf/7yCmlixKt L/X6RXeC+vtwrkOngAF3heuIb3CfYrx4dtnZkORc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64088: batman-adv: tt: fix negative tt_buff_len Date: Sun, 19 Jul 2026 17:39:10 +0200 Message-ID: <2026071917-CVE-2026-64088-8d44@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3783; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=widNcazLSKIN+MBoINy7h/sPYW68PllBhex/2ZHZLUA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkx7zM1Nyk93N/+Or429YhW/zUTR/cJYv1LFhz91XIoP S3iwuJHHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjAR7gCGBdfMph5b9ePt2Q9P bu74VJH87vH7yxsZFnRbzRCdWq46b+a9tWnWWhoWeXsyfwIA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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(). The Linux kernel CVE team has assigned CVE-2026-64088 to this issue. Affected and fixed versions =========================== Issue introduced in 3.1 with commit a73105b8d4c765d9ebfb664d0a66802127d8e4c7 and fixed in 5.10.258 with commit 4c4c2f340f4c27373bfcac8dc5032ce7bb474e47 Issue introduced in 3.1 with commit a73105b8d4c765d9ebfb664d0a66802127d8e4c7 and fixed in 5.15.209 with commit 33e5ede7ce6d92e531920d4bbd6d3e18ef1c6430 Issue introduced in 3.1 with commit a73105b8d4c765d9ebfb664d0a66802127d8e4c7 and fixed in 6.1.175 with commit 3c96dff00998314983b68a3e7caac07a66ebe496 Issue introduced in 3.1 with commit a73105b8d4c765d9ebfb664d0a66802127d8e4c7 and fixed in 6.6.142 with commit 32edd2a28e112064020a2f319a8cb8a9e5a09767 Issue introduced in 3.1 with commit a73105b8d4c765d9ebfb664d0a66802127d8e4c7 and fixed in 6.12.92 with commit 4dab98961426d0cf6a1599cda6950b7596ca2fcd Issue introduced in 3.1 with commit a73105b8d4c765d9ebfb664d0a66802127d8e4c7 and fixed in 6.18.34 with commit 730de8733dd90f70d7580a9b329b971f8e1474a2 Issue introduced in 3.1 with commit a73105b8d4c765d9ebfb664d0a66802127d8e4c7 and fixed in 7.0.11 with commit ed28ead3420c373a7928622f114bc6168075d1e1 Issue introduced in 3.1 with commit a73105b8d4c765d9ebfb664d0a66802127d8e4c7 and fixed in 7.1 with commit b64963a2ceeb7529310b6cf253a1e540784422f4 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-64088 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: net/batman-adv/types.h Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/4c4c2f340f4c27373bfcac8dc5032ce7bb474e47 https://git.kernel.org/stable/c/33e5ede7ce6d92e531920d4bbd6d3e18ef1c6430 https://git.kernel.org/stable/c/3c96dff00998314983b68a3e7caac07a66ebe496 https://git.kernel.org/stable/c/32edd2a28e112064020a2f319a8cb8a9e5a09767 https://git.kernel.org/stable/c/4dab98961426d0cf6a1599cda6950b7596ca2fcd https://git.kernel.org/stable/c/730de8733dd90f70d7580a9b329b971f8e1474a2 https://git.kernel.org/stable/c/ed28ead3420c373a7928622f114bc6168075d1e1 https://git.kernel.org/stable/c/b64963a2ceeb7529310b6cf253a1e540784422f4