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 06BC33B2FD9 for ; Thu, 28 May 2026 09:44:58 +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=1779961499; cv=none; b=CXR6Atzjq8hX1jpkPfahdKob4IZg8ER4z5ShRUdvcFVw8DhH28rZllSIzbRBwaAwp90ZiJogwsTlCYkYYNJBu41J0Wygdy7DFbvFSxrRjct5BQxeKjcxZ1kgOUePCWwGlkDpBvSUFXQQ7yM2318xIw0pgKLDpfaOLBANZPoSfGA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961499; c=relaxed/simple; bh=tOLYKRgndzQO1J2X6A9UIzaq0dxdjyd5zLrPyS8+nw8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Cexz1ZqbhVR1+60PzLI8Ru33gc6FGLgZVYXaAWHqlVZaUOcPf9doDxz6gmjQNyZhWeZRJGgkDGhw2/OcVeWGI4gtKt+bfh8yrlBtwfqzw/+It7eG3W4wKqJCWGhkXW8y824UC57M4UowcRG062Y4wlOyWs/NZPaj72fwUwP/EtY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=K6HtIUtR; 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="K6HtIUtR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 55FE11F000E9; Thu, 28 May 2026 09:44:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961497; bh=9HsCeXTDVn7Uo3J+CA+Z8nA3ST4bsGEFdDaKxzwW2gk=; h=From:To:Cc:Subject:Date:Reply-To; b=K6HtIUtRsZao9gKk0L+S/NXWDtLkrITytItPM9FaT2JMiUjeZvGkfhjkhWnFgSLKH J2aNmIHWuy4+TXGswua3Pa03adrB2X22DPVFkY8yUXdxCnhKYyjF3Eh1IBjonYKoCm ELzKgtnmNJI5vMj/pMBmzy7xjPz4y4/7HRGn43hY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46231: batman-adv: bla: put backbone reference on failed claim hash insert Date: Thu, 28 May 2026 11:41:06 +0200 Message-ID: <2026052839-CVE-2026-46231-7543@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=2902; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=RW/a6cp1WaTSZN6yXQDSYIHtHTwDoFoYdB+teId/20I=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSvNMP7lez3nZbPS6//e+rqdPYmlSPJhxae0Bpblyi+ D2DJdJMHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR5iaGBXN3NoZ5pdXfT+a5 sSvD4EHJnW5BX4Z5uhpzTgracPfHTbNKNPvTsnrl9OvvAA== 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: put backbone reference on failed claim hash insert When batadv_bla_add_claim() fails to insert a new claim into the hash, it leaked a reference to the backbone_gw for which the claim was intended. Call batadv_backbone_gw_put() on the error path to release the reference and avoid leaking the backbone_gw object. The Linux kernel CVE team has assigned CVE-2026-46231 to this issue. Affected and fixed versions =========================== Issue introduced in 4.7 with commit 3db0decf1185357d6ab2256d0dede1ca9efda03d and fixed in 6.6.140 with commit 65419eb4259a26a3cd3f56fa0e3b3c113bf8c256 Issue introduced in 4.7 with commit 3db0decf1185357d6ab2256d0dede1ca9efda03d and fixed in 6.12.90 with commit fd0ca034c1e71ca7613cde9dd892836b2c2831bd Issue introduced in 4.7 with commit 3db0decf1185357d6ab2256d0dede1ca9efda03d and fixed in 6.18.32 with commit 0baf4b659cdc7305cf685b5a5d60f9e3816ab5d0 Issue introduced in 4.7 with commit 3db0decf1185357d6ab2256d0dede1ca9efda03d and fixed in 7.0.9 with commit 7cccf4eb4f96d3c3af91a00b7a9caa652439542e Issue introduced in 4.7 with commit 3db0decf1185357d6ab2256d0dede1ca9efda03d and fixed in 7.1-rc4 with commit ba9d20ee9076dac32c371116bacbe72480eb356c Issue introduced in 3.16.39 with commit 3fdd337ac0b277a1f40aa73b35283520f426e517 Issue introduced in 4.4.217 with commit 485eedfabc2aefac8f09f98a82ba1c1e3e202a6d 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-46231 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/65419eb4259a26a3cd3f56fa0e3b3c113bf8c256 https://git.kernel.org/stable/c/fd0ca034c1e71ca7613cde9dd892836b2c2831bd https://git.kernel.org/stable/c/0baf4b659cdc7305cf685b5a5d60f9e3816ab5d0 https://git.kernel.org/stable/c/7cccf4eb4f96d3c3af91a00b7a9caa652439542e https://git.kernel.org/stable/c/ba9d20ee9076dac32c371116bacbe72480eb356c