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 9A6383AFD1B for ; Thu, 28 May 2026 09:43:31 +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=1779961412; cv=none; b=IvM0YA/4D5Oy8b+oUGBg6N4pCer7MLe2vPUt0bba0m9dgHSzM2uYr0GpEA+zgNDoBLanQiG/cUwcFU9gi+/9mv27M5tdX3q6Jnb5RiTTOrDL823I0pqyk5UI+tS8Q7Ki61CVL0LPWD8VM+ZlrmsOsj8m2Jln7hNNiaA1h0ss4mI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961412; c=relaxed/simple; bh=GQUh8rYrHbg/22ltxG09bgRkbx4Woc2Njllz2wrb2TA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SeFivWtlnrzj8XYsbJOHsJL00D2TaaeO8o8v2HZFRUIkYNmbqPA2Ch7ZH4EG2C4mDYFUFo/MzNG94dAlPd6CVBNpLCy/fssmUSR1YwIVPN82f3X6+3RJl9vr9rxCNLdbT8ADmLC/laxQvpPecZMYrZJeTm+WIaa72fobeYHWtB8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=P20AKiWb; 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="P20AKiWb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E46861F000E9; Thu, 28 May 2026 09:43:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961411; bh=/K5Ukrobcy9smbfEOzZe3BnxEQ0SUrbElGx+I6KezGQ=; h=From:To:Cc:Subject:Date:Reply-To; b=P20AKiWbrA9TIU5b2Rtks+D+ChPu7jouRtH2qj+BJyBFLrLLCfavfsxOCJj9ZA3oT 05knN9f5dI0RggjZENTOO/JTaxuBYPelzwlzgFbtNjPF+sNj3LSeBP0XUFQ8yKnl+m 9d2vlz6p6Wn1ddn7A9MFB9wrH61WJgARlOLnI6f8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46212: batman-adv: bla: prevent use-after-free when deleting claims Date: Thu, 28 May 2026 11:40:47 +0200 Message-ID: <2026052835-CVE-2026-46212-2bca@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=2941; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ZvZVQOodNDuwsSYO7zD8OjERmCChpri4+9FY/7B/AOQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSvJMF1bwdb16XVdW/wiuZd/nevxU+MwteXyqY8ffoL Le8Kb7eHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRU+sYFlxckLLlECPv/i8e 3xznbjB5ON3tkwbDfFfL8MKlc5vcK0QOZO7KORfJNWXfYQA= 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: prevent use-after-free when deleting claims When batadv_bla_del_backbone_claims() removes all claims for a backbone, it does this by dropping the link entry in the hash list. This list entry itself was one of the references which need to be dropped at the same time via batadv_claim_put(). But the batadv_claim_put() must not be done before the last access to the claim object in this function. Otherwise the claim might be freed already by the batadv_claim_release() function before the list entry was dropped. The Linux kernel CVE team has assigned CVE-2026-46212 to this issue. Affected and fixed versions =========================== Issue introduced in 3.5 with commit 23721387c409087fd3b97e274f34d3ddc0970b74 and fixed in 6.6.140 with commit 368449e467d5f1e2c2e987bf2bd57000ba75e10b Issue introduced in 3.5 with commit 23721387c409087fd3b97e274f34d3ddc0970b74 and fixed in 6.12.90 with commit 6c5dc6d68e6ba7f0224a757a39ed52fcdb54d472 Issue introduced in 3.5 with commit 23721387c409087fd3b97e274f34d3ddc0970b74 and fixed in 6.18.32 with commit 00155f336a5e8b1006d2ca9ae7ad8fc4a44bb401 Issue introduced in 3.5 with commit 23721387c409087fd3b97e274f34d3ddc0970b74 and fixed in 7.0.9 with commit 0cc9847c64cb6e61118bc78c9187c8209a7197fa Issue introduced in 3.5 with commit 23721387c409087fd3b97e274f34d3ddc0970b74 and fixed in 7.1-rc4 with commit 4ae1709a314060a196981b344610d023ea841e57 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-46212 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/368449e467d5f1e2c2e987bf2bd57000ba75e10b https://git.kernel.org/stable/c/6c5dc6d68e6ba7f0224a757a39ed52fcdb54d472 https://git.kernel.org/stable/c/00155f336a5e8b1006d2ca9ae7ad8fc4a44bb401 https://git.kernel.org/stable/c/0cc9847c64cb6e61118bc78c9187c8209a7197fa https://git.kernel.org/stable/c/4ae1709a314060a196981b344610d023ea841e57