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 C4C9C389DE3 for ; Wed, 24 Jun 2026 07:15: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=1782285359; cv=none; b=PVSiTEwmAooS4IgZR+KQww2ZCvKQEW7U7LWjFvXhe8TUlGYOiQZYT+mipHvNB486uy2EmtliN9icGbqpnAhlzEkR4uw2Nj1zjibx45qDYKavoRtrxt6cwvMlYoFUTqYQgT7xo76OLt7luRQo053UGt+CBkUkc+hK9PlE0CsfpFg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782285359; c=relaxed/simple; bh=6lKqNWdNW1z75SKbhFOJnB7skLEni8NYgTDwjNFRhm0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=V+zy8TyUufL4maF0LydhFKTuuhKP5IFHPjdPKs7N7Jln/LvgE+on+sF6dRm5RtjLkejJzWnNjpWE9UJTkQbSjDZCZOUTQX+FjTna51qEfP4oUZyhMNL3E4nB4rqUvKhETvMp/SGayx2lo/U5yHO3qfuy1FR3oyWrGIz5NHOvv+8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Xx2LmVZd; 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="Xx2LmVZd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D434E1F000E9; Wed, 24 Jun 2026 07:15:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782285358; bh=6sNL4zpmCBfQfuEX3jQzSCTrUn4mKaYpo8iL2ydaxfQ=; h=From:To:Cc:Subject:Date:Reply-To; b=Xx2LmVZdtEWOC0A8t84OnvhAydo/rgvHApE1duR4Udl+jAw3sVHpV1gvLzLUk3ozg 0J6wYPtuaUO+l2LXKMVd3CEdKryLaBQRkBxVPN9IkV6+kT6/NbhwwGQ4dypsEOqADN wk70foea3M3ZiVrJPaLFAWFrK2hR+1+cOt0flx7c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-52916: batman-adv: frag: disallow unicast fragment in fragment Date: Wed, 24 Jun 2026 09:13:31 +0200 Message-ID: <2026062429-CVE-2026-52916-3619@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=3879; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=J0PnEws92H1f51U/1dPG+mSyD+F/yymtCHkc9Au1vKw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnWzTNnMyUzLFq5eItjv43C9T8bbQpikvrO6LBetHPff qemQH97RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwkXpdhweqp+ev/77v76X11 JdOa3DnvpTZbVTDMd3ruoW31I9nwWI+U0DTNQ08+W9hsBgA= 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: frag: disallow unicast fragment in fragment batadv_frag_skb_buffer() is called by batadv_batman_skb_recv() when a BATADV_UNICAST_FRAG packet is received. Once all fragments are collected and the packet is reassembled, batadv_recv_frag_packet() calls batadv_batman_skb_recv() again to process the defragmented payload. A malicious sender can craft a BATADV_UNICAST_FRAG packet whose reassembled payload is itself a BATADV_UNICAST_FRAG packet (matryoshka-style nesting). Each nesting level recurses through batadv_batman_skb_recv() without bound, growing the kernel stack until it is exhausted. Since refragmentation or fragments in fragments are not actually allowed, discard all packets which are still BATADV_UNICAST_FRAG packets after the defragmentation process. The Linux kernel CVE team has assigned CVE-2026-52916 to this issue. Affected and fixed versions =========================== Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 5.10.258 with commit 0c208fa3859e3a33a1c38bebc41d021166e94ac8 Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 5.15.209 with commit bcda4814dc6524283c0b958882cb963d75fe411d Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 6.1.175 with commit aea54d0bbe156d5ab7d00d68f66149ff41f4612a Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 6.6.142 with commit b54e459cf86943583c1aa2ee3081874e7ab1f5f3 Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 6.12.92 with commit 5418be6c2e117bf8a316582795a8e3ff90f45e5d Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 6.18.34 with commit 5895ad21c7059a652da83fb817510f7a1e962abf Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 7.0.11 with commit 7138c35c9ad39a2fca6264af6b87466471f04ffc Issue introduced in 3.13 with commit 610bfc6bc99bc83680d190ebc69359a05fc7f605 and fixed in 7.1 with commit bc62216dc8e221e3781afa14430f45208bfa9af9 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-52916 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 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/0c208fa3859e3a33a1c38bebc41d021166e94ac8 https://git.kernel.org/stable/c/bcda4814dc6524283c0b958882cb963d75fe411d https://git.kernel.org/stable/c/aea54d0bbe156d5ab7d00d68f66149ff41f4612a https://git.kernel.org/stable/c/b54e459cf86943583c1aa2ee3081874e7ab1f5f3 https://git.kernel.org/stable/c/5418be6c2e117bf8a316582795a8e3ff90f45e5d https://git.kernel.org/stable/c/5895ad21c7059a652da83fb817510f7a1e962abf https://git.kernel.org/stable/c/7138c35c9ad39a2fca6264af6b87466471f04ffc https://git.kernel.org/stable/c/bc62216dc8e221e3781afa14430f45208bfa9af9