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 F14033B7751 for ; Thu, 28 May 2026 09:45:25 +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=1779961528; cv=none; b=b28RvwFyDR6w/GiviWEZB9+Wmkci2MXyFilH0ti9HtY58V2riujuylhNbE78PsgUpeY5ssa/M+BtdSwrCedysDVz5fYTmCSHbGustDCdQZQts/4iy7RAb9StEXbbf3cYmGyW/lbzNf2RzgHElXuy0wtxW3RRrU5rdlQUB1HK+iY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961528; c=relaxed/simple; bh=lYyZqHkXHFyxnof2L7Df/mp3vOsznLTrgJocIG0dt90=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fBxhdIbE02J0ScxqopSmTr0AWUQNdDxzkukH9pbk5Bg7s1L5M8nOOfTbK/9q/VAgcj9001DP5fE8Fxd9UIfFUBhN+LGqehUzL3XVYLWxsooYp5m1glYaVOye9G54CRYfYJ/dmc84S1mitQSC+BejJBYE371evTs2JKHf90EuHS4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=AZs9s16y; 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="AZs9s16y" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1574C1F00A3A; Thu, 28 May 2026 09:45:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961525; bh=Pri96IU4NS08FR49/d+GfUfJQpQNedAlMdFrbWbz/4w=; h=From:To:Cc:Subject:Date:Reply-To; b=AZs9s16y/PWJHHskdLtjspdyrKwoZCXfJmKH176khZ7A8/qvQXa44iaVlnwtp5ppr KNwzXiSovE531ptRAI9I9aSDde/YI9A6ubcwJ1hRdIZIaACoQpZGFMSUhL9z2ZQTDi zifMS9hN2PsTqMW17g/Mvt5LV4zs1sUmOc3+GBak= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46238: batman-adv: stop caching unowned originator pointers in BAT IV Date: Thu, 28 May 2026 11:41:13 +0200 Message-ID: <2026052841-CVE-2026-46238-1c65@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=3001; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=k7BNlwQDY3e2bLtMxKOBZQV3Zlrf/R76jtGbENxQxwA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSvDO5HyS25W0/9WZGzrMQ30Sh98bp88NCKhdnti4q+ /P5lOHcjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIdk6GBef9gnabmS+T5LZt m+H3xuYgN1v1PoYFnZeX3lIzT0/q5Jutc+HCd/t4qVdSAA== 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 caching unowned originator pointers in BAT IV BAT IV keeps the last-hop neighbor address in each neigh_node, but some paths also cache an originator pointer derived from a temporary lookup. That pointer is not owned by the neigh_node and may no longer refer to a live originator entry after purge handling runs. Stop storing the auxiliary originator pointer in the BAT IV neighbor state. When BAT IV needs the neighbor originator data, resolve it from the stored neighbor address and drop the reference again after use. [sven: avoid bonding logic for outgoing OGM] The Linux kernel CVE team has assigned CVE-2026-46238 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.38 with commit c6c8fea29769d998d94fcec9b9f14d4b52b349d3 and fixed in 6.6.140 with commit aafcbaf1159ea224528ca4075d0ba8c10ef374af Issue introduced in 2.6.38 with commit c6c8fea29769d998d94fcec9b9f14d4b52b349d3 and fixed in 6.12.90 with commit 6e20700f8c524ac379ba8274ff5d453023b7c006 Issue introduced in 2.6.38 with commit c6c8fea29769d998d94fcec9b9f14d4b52b349d3 and fixed in 6.18.32 with commit 09dc0d1a12222ffca6481916eab3cfea477b9620 Issue introduced in 2.6.38 with commit c6c8fea29769d998d94fcec9b9f14d4b52b349d3 and fixed in 7.0.9 with commit 67bceeb22207f1f5a402973a3a0809e5f2698f38 Issue introduced in 2.6.38 with commit c6c8fea29769d998d94fcec9b9f14d4b52b349d3 and fixed in 7.1-rc4 with commit f03e8583532941b07761c5429de7d50766fa3110 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-46238 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/bat_iv_ogm.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/aafcbaf1159ea224528ca4075d0ba8c10ef374af https://git.kernel.org/stable/c/6e20700f8c524ac379ba8274ff5d453023b7c006 https://git.kernel.org/stable/c/09dc0d1a12222ffca6481916eab3cfea477b9620 https://git.kernel.org/stable/c/67bceeb22207f1f5a402973a3a0809e5f2698f38 https://git.kernel.org/stable/c/f03e8583532941b07761c5429de7d50766fa3110