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 18F0C3659FD for ; Wed, 24 Jun 2026 07:15:29 +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=1782285330; cv=none; b=QMCLUqlsF8U8C+UMJ3fQsc8y/6WWm0fRhLafUDsQDQHQTQ2Au1hyRno1I9V/L4SuSeiL3CBQrUjVKR/iMOT20e5prDP9+St4g6Q7Q/F8ArdMHIrESj4QtqKSuX9WIkjT8FdGt2Uu5KSozdfW/XW9Z5WRfFtIMV948TlV9rNKuKE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782285330; c=relaxed/simple; bh=+gDwES1QZm/hZsDI5X7MJlnwVAf1now5z3xJiNHdlSQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=id4bQ+GhuobkjPZpRiXo+FCcRNca3QAVvr4evU8UN0e+u9cpSJE2lKB/1gzFN6TtMEwt5T/oCwQAxl4l0BIbQ//B3FJvTysf3EplsdoCnXGpqrujfCJ74VF+nF6ponDRjMIDQTyMhr45UaUjfgobrXQo91/ot8ippyHWNMeBw1k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=h1K3gDcc; 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="h1K3gDcc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5EA271F000E9; Wed, 24 Jun 2026 07:15:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782285329; bh=b1f+znfOCpNZiHr9YOjd7VpFry4cnAYKHuBjqJxEYfM=; h=From:To:Cc:Subject:Date:Reply-To; b=h1K3gDccL5s4TMs2p/Q1SofS9T0D8DBBQFJj6AQ9ELUo4ryK7FevXU4361bkWhrnV 3k4CVsh83et0M0hWNnOvdcouR+EA7VH8nDQpurWBO0lQaCNqh9wue0k5Un96OTdiWX 1fO1WbyaCZL351d6gMsFUBO5bwX7q4QM5rmUDYCo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-52914: batman-adv: fix fragment reassembly length accounting Date: Wed, 24 Jun 2026 09:13:29 +0200 Message-ID: <2026062428-CVE-2026-52914-f89a@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=3816; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=S+IXxxN1mbNnR0vkMTc80KOqLemyok3oDfJKLaBuEEM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnWzTMTZs7s2HVVfJ/3TZ2PX+QFCjbmslWdvfOsmU+l8 rezbdbpjhgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjICzGGGf0WrrxZRyYp5Ff9 enVx+kHj8907GRac6XEKkF12NSiAJbjsh9Nb40nsR7MA 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: fix fragment reassembly length accounting batman-adv keeps a running payload length for queued fragments and uses it to validate a fragment chain before reassembly. That accounting currently allows the accumulated fragment length to be truncated during updates. As a result, malformed fragment chains can bypass the intended validation and drive reassembly with inconsistent length state, leading to a local denial of service. Fix the accounting by storing the accumulated length in a length-typed field and rejecting update overflows before the existing validation logic runs. The fix was verified against the original reproducer and against valid fragment reassembly paths. The Linux kernel CVE team has assigned CVE-2026-52914 to this issue. Affected and fixed versions =========================== Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 5.10.258 with commit e4f3f6b818aa6a678bc54a2d4e0bece2303c6a64 Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 5.15.209 with commit 37be61825b15534a16ff9cfc9546de155b6df982 Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 6.1.175 with commit 975563c5de1123dde1ec7946bf5556d20c89d74e Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 6.6.142 with commit f653b040dad1af70fa5cd4fe085e4758925480c9 Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 6.12.92 with commit e910dbf509125fe51ad68e4fa74dc8ab0a8e787a Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 6.18.34 with commit 3eb8bcb823391bd58997831b3c9c152a4ba8e255 Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 7.0.11 with commit fdb2c96efb2baeb3725e9ce3ede8f1e36f5490f0 Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 7.1 with commit 9cd3f16c320bfdadd4509358122368deb56a5741 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-52914 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/fragmentation.c net/batman-adv/types.h 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/e4f3f6b818aa6a678bc54a2d4e0bece2303c6a64 https://git.kernel.org/stable/c/37be61825b15534a16ff9cfc9546de155b6df982 https://git.kernel.org/stable/c/975563c5de1123dde1ec7946bf5556d20c89d74e https://git.kernel.org/stable/c/f653b040dad1af70fa5cd4fe085e4758925480c9 https://git.kernel.org/stable/c/e910dbf509125fe51ad68e4fa74dc8ab0a8e787a https://git.kernel.org/stable/c/3eb8bcb823391bd58997831b3c9c152a4ba8e255 https://git.kernel.org/stable/c/fdb2c96efb2baeb3725e9ce3ede8f1e36f5490f0 https://git.kernel.org/stable/c/9cd3f16c320bfdadd4509358122368deb56a5741