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=1795154595; b=gqeQfPgIdoVAMgutBSp+K6Fy5f2BVDpXVRa6i3A0aRZJd2bcKDsC7L1l0ii+UFz9C420 EiJGwetGAB1rrkNfQK+9FFkEdixEpVJhTszfbrqB9fAv5eVZp+JMi5CmTA6tyvV1xy9/8 /67+hdrKZG9VRYtXjY95YBLiXnvtxrjbuNAx2RFjlGBdsE84vHXBH73dZ1TCbeeb+HjnO ApppJLcLjfCW613iW+DOXSVGrs+ba9xAgkuInUh2pkkOvLaZ0BAM3GEAWAIRRpQ92dlxz ZEqN9AaQnXaJ8VeCsuDdjBybQw9ix3w+SPRtdeuQPXUnLuY4uC79C09W7A7lT0CzGSA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154595; 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=6ld69R/7jMzCwh6UkA+xPiUwfuvE0uSaJxI6jao8Pvk=; b=hHhd3O3Rnl+t/tRP8geWd8ltH2V68Bg9Fnevf6rD2DXFCKkuePaRl3iJtzmw3qwFWFKn PgbSI/elHc1Lsy+rSTl+bqeW48vUO94GhklssSOJ+jyJA4kzHKx+ItAsdWNSjnLQIa216 pLMvtUn/JL7OH+zQ1t8TKfHDNJrTW9Px+7Qrb8yixiae0zWKzzq6uyhVHaiZ+paMDQcbV 2k4WYRQgwDgocavcgscpBJGCh2QeeFyzaEiooGm9gVBrbSAdOIuDA33DmqctsDyI1Ai3j fnUIitO9zqXrKo2fiBOIUSgtNtSBSB96TBdiQO/Dm3RxdzNlMcngK7axOpS20pqkqgQ== 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=JiLGTcCy; 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 2A3B9606A50C for ; Fri, 20 Nov 2026 06:03:14 +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=JiLGTcCy Received: by smtp.kernel.org (Postfix) with ESMTPSA id 353821F000D0; Fri, 20 Nov 2026 06:03:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154594; bh=6ld69R/7jMzCwh6UkA+xPiUwfuvE0uSaJxI6jao8Pvk=; h=From:To:Cc:Subject:Date:Reply-To; b=JiLGTcCyWicYi7PLunwrJrRJxeIL43J2j+YR5Oh0Kk+XxiG3AH/Q5OC9nF4EDF3oN z2CjunBxjlBj5/KDBD3MGrhdCHG/SyVQDpUy1ZnsA62H/nTIDxIKZW4qlJP7fv4PhI KytFa9jybI/IbJHUeHkY/vHgOdW3yA7BueACOu2Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99761: batman-adv: stop originator purge worker before freeing TT Date: Fri, 20 Nov 2026 06:52:27 +0100 Message-ID: <2026112024-CVE-2026-99761-ffc9@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=3165; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=yco3E+HCjpNvZnc+uv6U9//n0a6nd+87JIxIFuY9OPQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/7y/Q2bfWeudBRq6HJuaLlluunD5JsoqhV+WL1YW3W 0VanHpvdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEPooxzM898XTSFub48xUs uXFpUoL8Jyfq7GCYn2OVb6TYvMDcYd9eQ5bcdVpWuWyLAQ== 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: stop originator purge worker before freeing TT batadv_mesh_free() releases the translation tables via batadv_tt_free() before batadv_originator_free() stops orig_work. The purge worker can therefore still run while the TT is torn down. When an originator times out, batadv_purge_orig_ref() calls batadv_tt_global_del_orig(), which loads tt.global_hash and walks all buckets while taking their locks: CPU0 CPU1 batadv_tt_free() batadv_purge_orig() batadv_tt_global_del_orig() hash = ...tt.global_hash; batadv_tt_global_table_free() batadv_hash_destroy(hash); spin_lock_bh(&hash->list_locks[i]); Disable orig_work at the beginning of batadv_mesh_free(), directly after the mesh was marked as deactivating. The second disable_delayed_work_sync() in batadv_originator_free() is harmless because it is free'd anyway. The Linux kernel CVE team has assigned CVE-2026-99761 to this issue. Affected and fixed versions =========================== Issue introduced in 3.19 with commit 9d31b3ce81683ce3c9fd10afa70892e373b21067 and fixed in 6.12.118 with commit 2f5a6b491fcecc6abb3a2741f5ba5e0c5fd8db5b Issue introduced in 3.19 with commit 9d31b3ce81683ce3c9fd10afa70892e373b21067 and fixed in 6.18.64 with commit 318b5a4eb1cecf7a4d5291f5265925119b454eab Issue introduced in 3.19 with commit 9d31b3ce81683ce3c9fd10afa70892e373b21067 and fixed in 7.3.5 with commit 310479adf366e73944e0d75cc8ec11e99327dafc Issue introduced in 3.19 with commit 9d31b3ce81683ce3c9fd10afa70892e373b21067 and fixed in 7.4-rc2 with commit f89eda5a9ccf82cba06b085b42ebc4886b8dfe9e 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-99761 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/main.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/2f5a6b491fcecc6abb3a2741f5ba5e0c5fd8db5b https://git.kernel.org/stable/c/318b5a4eb1cecf7a4d5291f5265925119b454eab https://git.kernel.org/stable/c/310479adf366e73944e0d75cc8ec11e99327dafc https://git.kernel.org/stable/c/f89eda5a9ccf82cba06b085b42ebc4886b8dfe9e