From mboxrd@z Thu Jan 1 00:00:00 1970 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 D7DB838B7CD for ; Wed, 24 Jun 2026 07:14:55 +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=1782285296; cv=none; b=TDUJLmkyrhXhaKAVKwHWHn4am0gi5kSUJRlo5zkB2Bcg66swx+PiIYARhoPc9kM//TGFXIfEWu9Q0eYq5Om/0zjHT91YBupBG940aQ80VJ3Rez3oucuoGIWHu6kbG4J0QK043R44r+gNwDxAjYvW6XBhTFdqYYrfOD1uNLmWBFs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782285296; c=relaxed/simple; bh=xfWMMtX4lufVaMedeGaP8IA2IxXyU9mZYyXFZ+ZtnXU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=j3yyb/Kxnw5ntm1II+pyOrMwcca8sAHzCCjW5JnBxmlZYhnrRlFfCunjx3JlFovpxUPjbsZUAN8/bpkLVjYGwleqdnenhu3UWyCrB3sIExp4sRZiicq7xwpyrS8Qry99wJiMYYZQ19xScfKlbcOnMQQM3vdpej3UDGYAkcnU5Cc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HN2+Uig2; 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="HN2+Uig2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E6A3B1F000E9; Wed, 24 Jun 2026 07:14:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782285295; bh=gdUes6ukrm5JpSLG4Ymgskqxxp0vrL4e+sElYQJtcBE=; h=From:To:Cc:Subject:Date:Reply-To; b=HN2+Uig2md+2ExHKEKooe3nF94tXRXQa3DKf8SWouIUqQIqD7N8ye3DTJSeoPWlZ0 d2faV0rtOwBOrWnWcOSzeKjqlu5hWMQ96iP6fuTuPv5tbf6e+Qata8eifwDdLnyshF NEm7tTu71SjoFXnUrMlKy7/kpQ2OomxgdF5U3Lvk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-52922: batman-adv: dat: handle forward allocation error Date: Wed, 24 Jun 2026 09:13:37 +0200 Message-ID: <2026062430-CVE-2026-52922-fa85@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=3519; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vpbDaI0AE3slmVvAAGdiE/EBFemOSN31dYGOyFaQOtI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnWzbN6Tkql6c35E1d05IuFqqN3btacSZI7hfXij6/2N n1gryPcEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNRkmKYp6A7t/2yIFPC+ukb i37EbH+f5fr/PMOCdbtuqJxzF3ad3pgaVOhvJX5eSsgKAA== 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: dat: handle forward allocation error batadv_dat_forward_data() calls pskb_copy_for_clone() to duplicate an skb for each DHT candidate, but does not check the return value before passing it to batadv_send_skb_prepare_unicast_4addr(). That function dereferences the skb unconditionally, so a failed allocation triggers a NULL pointer dereference. Skip forwarding to the current DHT candidate on allocation failure. The Linux kernel CVE team has assigned CVE-2026-52922 to this issue. Affected and fixed versions =========================== Issue introduced in 3.8 with commit 785ea1144182c341b8b85b0f8180291839d176a8 and fixed in 5.10.258 with commit 9bcebaedfb8479cb4affb23c7a0d000ca9a20e73 Issue introduced in 3.8 with commit 785ea1144182c341b8b85b0f8180291839d176a8 and fixed in 5.15.209 with commit 2edb8aeb3cdda9d00ec4997252dc5bcd6f54d8ef Issue introduced in 3.8 with commit 785ea1144182c341b8b85b0f8180291839d176a8 and fixed in 6.1.175 with commit ce0c381199402a2c58f4599f4f6ed100d872d0da Issue introduced in 3.8 with commit 785ea1144182c341b8b85b0f8180291839d176a8 and fixed in 6.6.142 with commit 866ac1d57040ed0b44ca732e3c66b3aa6b93011c Issue introduced in 3.8 with commit 785ea1144182c341b8b85b0f8180291839d176a8 and fixed in 6.12.92 with commit 4d420d9ee70a220a2cd95aa0dd2e15acad66a505 Issue introduced in 3.8 with commit 785ea1144182c341b8b85b0f8180291839d176a8 and fixed in 6.18.34 with commit 9cceea8eeba710def2a5707ee00f00c74a9a1cac Issue introduced in 3.8 with commit 785ea1144182c341b8b85b0f8180291839d176a8 and fixed in 7.0.11 with commit cf48e75fc4fe0d5cc7721c82d454221d01367b93 Issue introduced in 3.8 with commit 785ea1144182c341b8b85b0f8180291839d176a8 and fixed in 7.1 with commit 2d8826a2d3657cea66fb0370f9e521575a673871 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-52922 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/distributed-arp-table.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/9bcebaedfb8479cb4affb23c7a0d000ca9a20e73 https://git.kernel.org/stable/c/2edb8aeb3cdda9d00ec4997252dc5bcd6f54d8ef https://git.kernel.org/stable/c/ce0c381199402a2c58f4599f4f6ed100d872d0da https://git.kernel.org/stable/c/866ac1d57040ed0b44ca732e3c66b3aa6b93011c https://git.kernel.org/stable/c/4d420d9ee70a220a2cd95aa0dd2e15acad66a505 https://git.kernel.org/stable/c/9cceea8eeba710def2a5707ee00f00c74a9a1cac https://git.kernel.org/stable/c/cf48e75fc4fe0d5cc7721c82d454221d01367b93 https://git.kernel.org/stable/c/2d8826a2d3657cea66fb0370f9e521575a673871