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 5A7D63B0ADA for ; Thu, 28 May 2026 09:43:19 +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=1779961400; cv=none; b=Cho95jafndqbVPHclA7bbZw5/z1vN+hyOuyN1iIuMusJC+O3ghjxI2R/mavBgogP3DM8PXlLHdjk+US1WywVRvV75dQcsPAMETn0yz8S/2HAe+CyrLAkBpSOGchljIlZ5lXXEDG652a46O/Fndf4D8eUqw3hWkmhpL2NuBbHlCA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961400; c=relaxed/simple; bh=x2q1bMQ05QBxTjlRu+SKs8UZkvz3d8TtQmHd1ibNNLI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=s0b3CSoQONhQSqbs+gWyutJgHtmo3FR2BvqlRZWqEYD9/eaU6xtpAZ/fnGn0ggFc1BY/aH7t0YP3ROCq0XOHqODapURDMe0zfe0V4JVnOjGh7JVky5vnpyMJOXPmWYoshQqt4vlvPrcIBMRTY3Gjip0JcegDOns+sD4jSJgZNKY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sF6L6LVY; 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="sF6L6LVY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A29581F000E9; Thu, 28 May 2026 09:43:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961399; bh=pGzmSkI1aH0tBW1uJvXaNAkwhoXSwrUYSMSzFP2YO+8=; h=From:To:Cc:Subject:Date:Reply-To; b=sF6L6LVYAJRxYiFlndWgR4GN0SGGX0o966Ka8pbOw2Z4ap/3PNmnSvmlUwD6HILYa QQZ1xAbr/FHXndbhPjaPt+BYxl2bcGMtUWFFXtrvsawVtiGN1DJSI8zyjUX1R2E4bP xTnHER3S9+RzipUAxdxP7TW7YW5MPV5ilw2kPnD8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46208: batman-adv: stop tp_meter sessions during mesh teardown Date: Thu, 28 May 2026 11:40:43 +0200 Message-ID: <2026052834-CVE-2026-46208-6e48@gregkh> X-Mailer: git-send-email 2.54.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=3065; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=m0qmfW0VauIHMFjaw6wkluZ3x8aSd8sm+/nHABhjjpI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSvJM2fQhm31bqZJ+45yzH4dS/7Y5SLZGdDOtOdVqki l6tWr6zI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbywZphwfrCdV8kXwT8F0h9 EfTSOn6G/tPn3AwLDpcdXHPb4EWo/bQ5oiv3Wn47ej7dBAA= 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 tp_meter sessions during mesh teardown TP meter sessions remain linked on bat_priv->tp_list after the netlink request has already finished. When the mesh interface is removed, batadv_mesh_free() currently tears down the mesh without first draining these sessions. A running sender thread or a late incoming tp_meter packet can then keep processing against a mesh instance which is already shutting down. Synchronize tp_meter with the mesh lifetime by stopping all active sessions from batadv_mesh_free() and waiting for sender threads to exit before teardown continues. The Linux kernel CVE team has assigned CVE-2026-46208 to this issue. Affected and fixed versions =========================== Issue introduced in 4.8 with commit 33a3bb4a3345bb511f9c69c913da95d4693e2a4e and fixed in 6.6.140 with commit 79bc0eaeef2c5797317bf2da8e3159a74d62ec47 Issue introduced in 4.8 with commit 33a3bb4a3345bb511f9c69c913da95d4693e2a4e and fixed in 6.12.90 with commit 26dfeee8db81354bfdade155f27f9e16510ad196 Issue introduced in 4.8 with commit 33a3bb4a3345bb511f9c69c913da95d4693e2a4e and fixed in 6.18.32 with commit 03660dab86f93319178a24667f6998526dc4355d Issue introduced in 4.8 with commit 33a3bb4a3345bb511f9c69c913da95d4693e2a4e and fixed in 7.0.9 with commit 8634c1dbd73adb74d40533ebb7e914efb82e71fb Issue introduced in 4.8 with commit 33a3bb4a3345bb511f9c69c913da95d4693e2a4e and fixed in 7.1-rc4 with commit 3d3cf6a7314aca4df0a6dde28ce784a2a30d0166 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-46208 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 net/batman-adv/tp_meter.c net/batman-adv/tp_meter.h 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/79bc0eaeef2c5797317bf2da8e3159a74d62ec47 https://git.kernel.org/stable/c/26dfeee8db81354bfdade155f27f9e16510ad196 https://git.kernel.org/stable/c/03660dab86f93319178a24667f6998526dc4355d https://git.kernel.org/stable/c/8634c1dbd73adb74d40533ebb7e914efb82e71fb https://git.kernel.org/stable/c/3d3cf6a7314aca4df0a6dde28ce784a2a30d0166