Skip to contentSkip to conversation

CVE-2026-46231: batman-adv: bla: put backbone reference on failed claim hash insert

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 28

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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