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 2D58A3AFB18 for ; Thu, 28 May 2026 09:43:12 +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=1779961394; cv=none; b=q5uzQYqbgaywzkEotwql8eY8/aLbPA9wWVh6eAF9GQe5W70PngWfBpt30GKU8beymDjptBMix5ftljG7R3xzFz32qOVr3TTujmeFiYIdesewnMAyM2L3w/oVBmIvRCeRxug9ZnyNVoiIeaTuOhKewHjf9lPHh8/Xa4HtAo3OkKU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961394; c=relaxed/simple; bh=ySie0zs8zQGs1xeqPqumn0qCi0SodRBQaSmBhtBRMgs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YabLB0zprgpsdh2ml6CVJQNLtBpN0H/ANvfsq18kro/4dbNEtld2fYFlcnMVQS4Rk/extnsHT88AB1Zj+vrEl2B+dmEj41fT09VexgX3aQjnyWf/u7FoGHEnLQF191E/NLSKpQIRFhTN16Rfvx3Pf6WWO0NbxZnntMnCTGfkPSo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mqvfdX0w; 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="mqvfdX0w" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43B811F000E9; Thu, 28 May 2026 09:43:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961392; bh=PY1s3MUuLQy8w2y1d/rkVO8oEOXc34pExe/juEWtbNA=; h=From:To:Cc:Subject:Date:Reply-To; b=mqvfdX0wNbnWjZEwwJtn48LQRsvFEOXqzKUfBjEMs6Lb8hDvsRKCeBhOwBd6WPfnl ayj0nU/TW54Io+/TQHQ1RKwAEI2ImtxamMLA8TloXKEmxZmnthJNnbHqXRI5hVcBOR 2Mq7Y67p4nX2lP2BC3/f0huBFsBcciWZphSDc2WE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46198: batman-adv: fix integer overflow on buff_pos Date: Thu, 28 May 2026 11:40:33 +0200 Message-ID: <2026052831-CVE-2026-46198-8c9b@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=2681; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=mgcA2mQQojMlxKe/UIEzR4eRm04d+JUl9+OoI9aaZWg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSvP2H3wkoF9g3/zBw0j/Us3e2y+zUM/m9ylFRuf0tD zeJvenviGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgInsYWaYZ9J7nV9s6/7vflq3 s7yZlnKZ6S6TZJhn88tU8NThXZeD39iE8ZtF/83omeQJAA== 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 integer overflow on buff_pos Fixing an integer overflow present in batadv_iv_ogm_send_to_if. The size check is done using the int type in batadv_iv_ogm_aggr_packet whereas the buff_pos variable uses the s16 type. This could lead to an out-of-bound read. The Linux kernel CVE team has assigned CVE-2026-46198 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.38 with commit c6c8fea29769d998d94fcec9b9f14d4b52b349d3 and fixed in 6.6.140 with commit f61499359fa529f0d45a53bf7c573a49eb6322e6 Issue introduced in 2.6.38 with commit c6c8fea29769d998d94fcec9b9f14d4b52b349d3 and fixed in 6.12.90 with commit 974542d1efc48b7e9fe16184e647615cba39969b Issue introduced in 2.6.38 with commit c6c8fea29769d998d94fcec9b9f14d4b52b349d3 and fixed in 6.18.32 with commit bf872db54f91ffe70104b98c20068b2d5910e018 Issue introduced in 2.6.38 with commit c6c8fea29769d998d94fcec9b9f14d4b52b349d3 and fixed in 7.0.9 with commit b252797bfced986d6d92ec2f4cfcca842ce8aa78 Issue introduced in 2.6.38 with commit c6c8fea29769d998d94fcec9b9f14d4b52b349d3 and fixed in 7.1-rc4 with commit 0799e5943611006b346b8813c7daf7dd5aa26bfd 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-46198 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/bat_iv_ogm.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/f61499359fa529f0d45a53bf7c573a49eb6322e6 https://git.kernel.org/stable/c/974542d1efc48b7e9fe16184e647615cba39969b https://git.kernel.org/stable/c/bf872db54f91ffe70104b98c20068b2d5910e018 https://git.kernel.org/stable/c/b252797bfced986d6d92ec2f4cfcca842ce8aa78 https://git.kernel.org/stable/c/0799e5943611006b346b8813c7daf7dd5aa26bfd