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 668363D1CC6 for ; Fri, 28 Aug 2026 06:50:37 +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=1787899838; cv=none; b=Qu3zujZiTS51YVUqJqcT5iEJbxFOUa1rYy2eBSYdHVBm+e8soCaF8mpB79gkirTWz4MttkqO/+xuP7vcuFEslVUvzSTeh7sj6/sT7xFlNazkjdlM5bW0GYyfvUJsF+mk/NaL5dsBIowx0BGXMieMyIDIrgr3l4ZkH448uW6XBZY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787899838; c=relaxed/simple; bh=8v3c7x8yatLO6DY6om95SEKiKcyJQ8CqnPLi1rAcPs4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Vsp/cVAmeUvkDjZJdiga4xlE0cm9JvXJvpHuqia8d+2AVe5S7ezdbucUT3SJ58v6pWAGQCeDbk/M7ZfDfu/x3FTrWtGkIdL2UIi1vA6+fCBrSOEqdceADVRbb+ru9/MCwrGBsz0Dk+RfcwhNIYY2TLWT97fgmi1uXETc2YMhQ4Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=J99FpvZV; 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="J99FpvZV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA3B21F000E9; Fri, 28 Aug 2026 06:50:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787899837; bh=M3QwhuFP1AyP+d3WyibiGNoGQ0IS0wnovCs98T/SzoA=; h=From:To:Cc:Subject:Date:Reply-To; b=J99FpvZVyq2NMWXRQ6gsq7uQsObCRyaRhYHYvxge08cca7XMA7URNDJu+e2SMuaWB QdbIjc+lHtF6tIRcrDdemA9qQ1Y5CZ/kVASd/3XQOYh3/Z/mwYIuJlVUYDRi5HHXot MYxETyNmX0MK4aquBuB8N9D/zf1H2NTNdpV5YTfs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80634: netfilter: flowtable: avoid num_encaps underflow on bridge VLAN untag Date: Fri, 28 Aug 2026 08:49:11 +0200 Message-ID: <2026082839-CVE-2026-80634-0f62@gregkh> X-Mailer: git-send-email 2.55.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=2529; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vJx79etQklb6gOsr1nLQDS13e1+sxhox3MCLkGGz8oE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkT9d0lJyy9llt7sX1Lze7H1zZeftRU/jb5lHzV5JOhM w3V3uRpdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEdmYyzGZx+3v358ut6dfW 3BQTK58SmX9mki/DXOl8QX1H3tWHYiW5mRjmXN8vfpp/HgA= 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: netfilter: flowtable: avoid num_encaps underflow on bridge VLAN untag The DEV_PATH_BR_VLAN_UNTAG case post-decrements info->num_encaps inside WARN_ON_ONCE(). num_encaps is u8, so if it's already 0 the decrement still happens and wraps it to 255. The break only leaves the inner switch -- a later path entry can set info->indev back to a real device, and we end up returning with num_encaps == 255. nft_dev_forward_path() then walks info.encap[] (size 2) up to num_encaps, which means an OOB stack read and a bogus count copied into the route descriptor. Should only happen on a malformed bridge path stack, hence the WARN, but worth handling sanely. Move the decrement out of the WARN. [ While at this, remove the WARN_ON_ONCE since this can only happen with a buggy bridge path stack --pablo ]. The Linux kernel CVE team has assigned CVE-2026-80634 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit e990cef6516daa4e1e236433579e333f74fd38cb and fixed in 7.1.5 with commit 2f55fa28011c97d6495d5787808db10a8c2d690d Issue introduced in 5.13 with commit e990cef6516daa4e1e236433579e333f74fd38cb and fixed in 7.2 with commit e052f920773b73be49eb4d8702a9f85de7464363 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-80634 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/netfilter/nf_flow_table_path.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/2f55fa28011c97d6495d5787808db10a8c2d690d https://git.kernel.org/stable/c/e052f920773b73be49eb4d8702a9f85de7464363