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 58C5C3B2FEB for ; Thu, 28 May 2026 09:45:10 +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=1779961511; cv=none; b=PagPmMxvWctMJzcg56fGF81urZFyKwUTpK1/SMLma6q5IpBDLUNtY77NtW0I/insnAG384dEmBrNVZnID+tFe4Q4jqtXXL597iSZYeRfyjzozGkHYU7vNUp3lSXAT4Np+qL8GtbNylatWcFBH2QjWWg+MlLhJEgi0Fo7CL/ZZl4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961511; c=relaxed/simple; bh=pLtWk7E9qgdCt8otvUMuYTwxo26BNpPz4DgFS3ScDQs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OZJa8YSG2KgXE07vGZA+FprRO3PcR/6UDtvAQrFSQCJUeuODleziDGT+jOuOI1NW6yuZQ7dG6ADUkssrPEyyp+tC/hNFOXvzpkKe1sVFsVOZ3HVIldCTLALll+SB8DMnSJZxjWGAky6537qFhNcyp1ZU89ToK2vLJgmxqM96Hs0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tyGaBiXW; 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="tyGaBiXW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D6981F00A3A; Thu, 28 May 2026 09:45:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961510; bh=uiJbeh2TgHPAC6g5YnKIDCMp+H1b3Ty8E78cG3K2vmo=; h=From:To:Cc:Subject:Date:Reply-To; b=tyGaBiXW2r9AMJe8ywTAWCxRzFWS7A9G8lTjCgJGuposrbG8YrlwROkajql/hTHTL /cVzETRNacXv0rsURgUksQ1PSPRsArPbODsY78wO8XyauX0wPN/WJUt/L0i6GN5Y+p nLEB0/uTCkUXleOB8X0JVks4qp6jR8494pdVKX6Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46233: batman-adv: bla: only purge non-released claims Date: Thu, 28 May 2026 11:41:08 +0200 Message-ID: <2026052840-CVE-2026-46233-1e33@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=3069; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=n35w37pCmdcvCBVKiMSkY9yUDMctKke9S8dhP8MS5+w=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSvDNuPPrEr3Eow+SvNleiZvCloxryb+/8zb60KEJyd +jZ5WJ1HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjAR9V0M8xOiHr7MDtnpfypH 5q3DRCnp1flJixgWzBKoOXr2zIFLK6pt8veHCrHnSLMwAgA= 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: bla: only purge non-released claims When batadv_bla_purge_claims() goes through the list of claims, it is only traversing the hash list with an rcu_read_lock(). Due to a potential parallel batadv_claim_put(), it can happen that it encounters a claim which was actually in the process of being released+freed by batadv_claim_release(). In this case, backbone_gw is set to NULL before the delayed RCU kfree is started. Calling batadv_bla_claim_get_backbone_gw() is then no longer allowed because it would cause a NULL-ptr derefence. To avoid this, only claims with a valid reference counter must be purged. All others are already taken care of. The Linux kernel CVE team has assigned CVE-2026-46233 to this issue. Affected and fixed versions =========================== Issue introduced in 3.5 with commit 23721387c409087fd3b97e274f34d3ddc0970b74 and fixed in 6.6.140 with commit 7b8fbcee3184d848b5aee085ca16d0cf05c9b641 Issue introduced in 3.5 with commit 23721387c409087fd3b97e274f34d3ddc0970b74 and fixed in 6.12.90 with commit 7b7ebb7222a5524ce58e48cc9c6d688320ea6cfe Issue introduced in 3.5 with commit 23721387c409087fd3b97e274f34d3ddc0970b74 and fixed in 6.18.32 with commit b65365d2b1e6095c538d49baeb140dd1c166c1b3 Issue introduced in 3.5 with commit 23721387c409087fd3b97e274f34d3ddc0970b74 and fixed in 7.0.9 with commit ab3dbd07a809a8eb30c7ddfab9ac886ed30dce8d Issue introduced in 3.5 with commit 23721387c409087fd3b97e274f34d3ddc0970b74 and fixed in 7.1-rc4 with commit cf6b604011591865ae39ac82de8978c1120d17af 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-46233 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/bridge_loop_avoidance.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/7b8fbcee3184d848b5aee085ca16d0cf05c9b641 https://git.kernel.org/stable/c/7b7ebb7222a5524ce58e48cc9c6d688320ea6cfe https://git.kernel.org/stable/c/b65365d2b1e6095c538d49baeb140dd1c166c1b3 https://git.kernel.org/stable/c/ab3dbd07a809a8eb30c7ddfab9ac886ed30dce8d https://git.kernel.org/stable/c/cf6b604011591865ae39ac82de8978c1120d17af