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 5D48E501F41 for ; Wed, 16 Sep 2026 10:40:44 +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=1789555259; cv=none; b=jJq5MBRLrKz2AFd3jHyAdoq2EvD4wx1yu6VWGtZRXQDY5fgfyb+tJDVnCujWlPTuUTAY6RDYlC9nBGK7r+DHjzO1UihklF0hEnBStGj0wfPT/eQLr6XCQ6fICgmx3AlgOKmj4K6/946foqsWHXyzn9tsUEW9rxlqD6rVABTUxNM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555259; c=relaxed/simple; bh=yRwnuvh1XJNrdjFpAvLA3bRP6kOmgR8QW3nWIiyro7M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KZoQZqJa5u0GLJyyCGa+0UTcGNLraFecukaEGbzvp1TNx1QaCRycWhNrrjnDma0ZuBG9kxuLTlVinwa+rFyi9I+PxS7Rf0Ly130QD1AC/rKrJ2NQzx+CLAfl3qltkfsqzO7MaqF6ExV/CPDK340C66zzr8Sb/vQukUxyPGB+te4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mP1OkR/Q; 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="mP1OkR/Q" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CFCD1F00898; Wed, 16 Sep 2026 10:40:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555238; bh=fUVWbKLQRKsLSo/9BRypRJN9152MlBZNQwGnQAoPaQc=; h=From:To:Cc:Subject:Date:Reply-To; b=mP1OkR/Qv1DJqubE595IpQ4VEvJxgnjvnw1npq0Xubew0C2Rpg/lqEilPm3pGBeXh 5EOiG8nxYCXLe0ypn9vMo3vCWkD6pXpWnxOGhWrDrpcvHmOIx3+Y2Aq8ajApBAbXAj fPE59B982dnUMbaHe+2cZTZLuWtHjKktQutFJ/dY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89951: batman-adv: fix stale receive device on merged fragments Date: Wed, 16 Sep 2026 11:31:21 +0100 Message-ID: <2026091649-CVE-2026-89951-c9fa@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=3928; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=O1mK660QCSfUW+8V1dnxYbBhRNIZGUtSzUbUDr2sF0o=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8ud23n0itnjJlS0Ttjedm3Ah1KKlrdp01+xb+yyuh XTe/ulX0xHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATmbmfYcFlt1L/Bm2n573T 9uxZlbRi1Y5HtW8Z5rs8mfX77IatnDsmXGV4M7O8L/1q3h8A 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: fix stale receive device on merged fragments Fragment reassembly reuses the skb from the highest-numbered buffered fragment as the merged packet. When that fragment was received on a hard interface which is deleted before the chain completes, the merged skb can re-enter the receive path with a stale skb->dev and skb_iif. batadv_batman_skb_recv() passes such merged packets through the normal receive handlers again. DAT and bridge loop avoidance both derive the ARP header length from skb->dev, so they can dereference the freed net_device before the packet reaches the local mesh interface. Refresh the receive device metadata from the current receive device before running the packet handlers. This keeps internally reinjected merged fragments consistent with the normal receive path after hard interface teardown. The Linux kernel CVE team has assigned CVE-2026-89951 to this issue. Affected and fixed versions =========================== Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 5.10.270 with commit 63d86250fa7cbe22451369bd1c0881dfc8190958 Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 5.15.221 with commit f830c2dfc1431764db9256b3d5db1695fc9a7f56 Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 6.1.188 with commit f4b4ae763b5d59319fad62a00c76676758e7dafa Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 6.6.157 with commit 6df64825f8b199921120c685af2abca14b077331 Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 6.12.110 with commit a2c272da99c2077088083c14961cf2f1e4506995 Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 6.18.51 with commit e91d2cc7441d89a45bad73ad9789159c7441cb80 Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 7.2.5 with commit 2dffc8c44b6e3347b3719c6419c07b4a18fea895 Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 7.3-rc1 with commit ad46c907d7d9975a285c1e89a4adde652eaa93f5 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-89951 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/63d86250fa7cbe22451369bd1c0881dfc8190958 https://git.kernel.org/stable/c/f830c2dfc1431764db9256b3d5db1695fc9a7f56 https://git.kernel.org/stable/c/f4b4ae763b5d59319fad62a00c76676758e7dafa https://git.kernel.org/stable/c/6df64825f8b199921120c685af2abca14b077331 https://git.kernel.org/stable/c/a2c272da99c2077088083c14961cf2f1e4506995 https://git.kernel.org/stable/c/e91d2cc7441d89a45bad73ad9789159c7441cb80 https://git.kernel.org/stable/c/2dffc8c44b6e3347b3719c6419c07b4a18fea895 https://git.kernel.org/stable/c/ad46c907d7d9975a285c1e89a4adde652eaa93f5