Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795154589; b=uGGqH6B4iu9fa412inRfsKBSZ1s7egvVJ4w9U0PrzL+UCdTuLIWM4Fid9j2tLtZCCSju Q7OdLZIAzoIGPBPJrxBisynZjmUj33bIt00Bu6fZkfNNh+niZyAS3H8K9aE3ZKwHW5k+g gWr+5NufRyqp9pUqf9ejzhHbb4kTDxApoCZ1BPIUfjQ6gnmqXoUU0UXryQe3Xlv1hGGPG GeNHjLeWAnDQk4zelhFTEr9T6DwmbRxR8GImOnnCp5DMyuvac8z1iU0DXsnIgWZXI6xfW QjTwgz7DdYJgYZWpMq36hSFteZCZ6re9wp6GTNS69divNcKoEP4OU/EwFOA7N1aa4Zw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154589; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=LgGoRolbiL4bceg8bSaZ4AwwN33JzOHrBZRzXgRhcqY=; b=GNkIJgFp35P6r97P1uayAq4sJfyIkfO8ckxmYbDjX1eAseuc0ez+WgGXU6gCBkxn61zl 7Qf8mDDi1DFjZ0qXKeg2Vi535tjrkoo0Bsuzb1vhVtAemIq4ZrMJ8Dpbm2onUdr9SU+ov oSNUtDUfL9GsSQZj9OD8U8E48EAj5HkOG17cMqW2oOnqXxo3mvpqP3qZH4Esh25yF0ehr WrCs8DfT6BZnTFgYkCZZFUW2SEHGsCZj/kjxkMcVPBWV/H5/a3VipUpCPaVb3IJDpgFNh ApK8i9dAC4xyeSWZIThlnyLwIWsCoX9oW1xTP06fwy56x/kB0AebqBuJA51j+Xh87lw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=Bl3ylWRQ; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 375CE606A52E for ; Fri, 20 Nov 2026 06:03:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=Bl3ylWRQ Received: by smtp.kernel.org (Postfix) with ESMTPSA id 88B4C1F000D0; Fri, 20 Nov 2026 06:03:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154589; bh=LgGoRolbiL4bceg8bSaZ4AwwN33JzOHrBZRzXgRhcqY=; h=From:To:Cc:Subject:Date:Reply-To; b=Bl3ylWRQTFJcBDdNXSKpFRpFVN1JGl/pwaDAWTmS3FGrNhAj+BZ3QjG1yfg/gSlZm C84BRqrVqC7kYLkIvVmhX+rW5IlfP7uu+CVUpvyY5X1bq8laZbNi/WgnKw3vdNYy/j fZ0ntYxCf8vV2AmjG9efG3CecBL0tQo1Nk3g2yvU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99759: batman-adv: tt: don't drop local events queued during TVLV update Date: Fri, 20 Nov 2026 06:52:25 +0100 Message-ID: <2026112024-CVE-2026-99759-efc1@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4356; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=25/J++Wtw6354CnZw9+CbfTRDv3xcY7K0DumZaJEFGg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/7y/geWEx8Y3/yncHL9xcE53fMi2yc72OyePu4As7x E37NuY5dMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBELFUY5lccvuK3MfaqI8PU 2KotrFU5SrMUPjAsWHRzHuu9L5+cFxw/zmm9XVfPSE7lFgA= 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: don't drop local events queued during TVLV update batadv_tt_tvlv_container_update() read the number of local changes without holding changes_list_lock. batadv_tt_local_event() is not serialized by the commit_lock and can queue new events before the changes_list is flushed: CPU0 CPU1 batadv_tt_tvlv_container_update() num = ...local_changes; batadv_tt_local_event() list_add_tail(...); ...local_changes++; spin_lock_bh(&...changes_list_lock); /* only num events copied but all freed */ The additional events were freed without ever being sent. Other nodes will only notice this via a CRC mismatch and must request the full table. The number of changes and the changes_list must therefore be taken atomically. Events queued afterwards then stay in the tt.changes_list for the next TT round. The changes can no longer be kept for the next round when the TVLV buffer allocation fails. But they would be sent with a skipped TTVN anyway, so the other nodes have to request the full table in this case either way. The last changeset is only dropped in this case when the TTVN was incremented. Without new changes, it still describes the current TTVN. Previously, the unconsumed changes caused a retry of the TVLV container update in the next commit round. Since the changes are now consumed, the next round would only take the path without changes and wait for BATADV_TT_OGM_APPEND_MAX rounds before updating the container again. Until then, the outdated container with the previous TTVN would still be announced. The ogm_append_cnt is therefore reset on failure to retry the update in the next OGM interval. This doesn't make the CRC consistent with the announced changeset. The local table modifications are still not serialized with the commit and batadv_tt_local_transition_new() can still make a client part of the CRC for which the event is only part of the next TT round. Such an inconsistency is detected by the CRC check of the other nodes and solved via a full table request. The Linux kernel CVE team has assigned CVE-2026-99759 to this issue. Affected and fixed versions =========================== Issue introduced in 3.1 with commit a73105b8d4c765d9ebfb664d0a66802127d8e4c7 and fixed in 6.12.118 with commit 9c456c887ad9c8950097473590923ce8b553d488 Issue introduced in 3.1 with commit a73105b8d4c765d9ebfb664d0a66802127d8e4c7 and fixed in 6.18.64 with commit 5bfa79a27aee75e3f1d84f9b4d4358dbeb9b7505 Issue introduced in 3.1 with commit a73105b8d4c765d9ebfb664d0a66802127d8e4c7 and fixed in 7.3.5 with commit cd2ff491c8eed4773f4f50ae10c942e09db1f6c4 Issue introduced in 3.1 with commit a73105b8d4c765d9ebfb664d0a66802127d8e4c7 and fixed in 7.4-rc2 with commit ed7a0dfdd370acb48be7a281df732c1bebcc7f1d 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-99759 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/translation-table.c 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/9c456c887ad9c8950097473590923ce8b553d488 https://git.kernel.org/stable/c/5bfa79a27aee75e3f1d84f9b4d4358dbeb9b7505 https://git.kernel.org/stable/c/cd2ff491c8eed4773f4f50ae10c942e09db1f6c4 https://git.kernel.org/stable/c/ed7a0dfdd370acb48be7a281df732c1bebcc7f1d