Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795631183; b=j73oUqqVwdpTI62qoftBzhT6BALpjD8bJ3uNqPjpRspucaxqjRgV+PV+HY/NwDC4Pf6m lvVsw5kITeOFUcmQgCl1H3q/Nu96cmkoIRWhwaaWebZPntHNr0niFGW0H59hp33/AUwBm YgAHK8lPDvrkKS/NzvBTcl9N0ESlR8c46Xeg//7EDKx8m/l2NIamI3vRSEdubU103rTQG BtY75B4St1Uf8VopiD2OIuqv2OGk7/tZM9ARY2/3rnbz/eOT1wGaXBdpidaRw7rRXlQXM FZYZH5L4R2u9FOzxGYC+Yk+VOzleNCgO6xAjyolStZDuDrzsgaVWIozsKbv+nZoPiCw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795631183; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=iph3rbWFVjLA4o0BAymfoi5P3NIHsukMCj0QYWA+l/g=; b=psFb/Nl/5NFRiVRFdc6b+KhsGbunm2IAE88soIqzpYsBUqgdcPdMMUPWi4DB7A5y1lkg lxKnpV2Qp9qhxt24vrLg4Ord1a8FP713IatsixpgW0q6f8f9NQ3bHrpvgwZob6d4YKvOw pBLYjnO+/PyN6W8DAyJC6HmlbBewZDngYS1jc4bbg7SZy7wS8M/gmJBTd1SQ3yFybTdA+ K2moA5mRlXFGZNIFj/Yfe8fnQ3zlS6uUiv342c2yxzvXb6quQU6mbPOIEMZX6z659zxLb XjdwW70k319RiBcf/XnSJy1zJ+9V9wjRhlutTJ/arKgGcg2LbXHww3rhTBW1yUI63UA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=1bnvXJ5A; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 52AB2606A32D for ; Wed, 25 Nov 2026 18:26:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=1bnvXJ5A Received: by smtp.kernel.org (Postfix) with ESMTPSA id C87051F000C4; Wed, 25 Nov 2026 18:26:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795631182; bh=iph3rbWFVjLA4o0BAymfoi5P3NIHsukMCj0QYWA+l/g=; h=From:To:Cc:Subject:Date:Reply-To; b=1bnvXJ5A9rYtfE+h83ZQy9H0wh0sRUR+hfcWRLRXEecWMd5rhXIhaKWsN9Wd6pGWa iHwmWE/kuUM72L1mMCGOrAgJeL92mapR0w4ctNe1HZSm0VVpr319IdlbZeXJmPRmck O7bni0eGM/sW6asc0umM4mF3B4hI7H6YLko4lHgI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99805: net: limit priority VLAN untag depth Date: Wed, 25 Nov 2026 19:26:38 +0100 Message-ID: <2026112537-CVE-2026-99805-0d31@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4336; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qoIQwuoQ031cX91FJwST96lBDxRFC40WDAEg7wFgWUE=; b=owGbwMvMwCRo6H6F97bub03G02pJDNnsGrHRxUc23pPdLVq0qYb1vOaut/u+C908q1J3eAfP2 auX5n/h7YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJVE9kWDBzw6y2Wg3OTu5M MV/HC7y+aoUTtzAs2H7NqPOC8MYrz4v4r95beuf9Qbe0XwA= 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: net: limit priority VLAN untag depth The priority VLAN receive path can repeatedly remove VID 0 tags and retry packet processing. Unlike the read-only VLAN protocol parser, this path has no limit on the number of nested tags it consumes. Each skb_vlan_untag() advances skb->data and resets header offsets. The offsets are stored in 16-bit fields. With enough nested tags, the network or transport offset can wrap. A later protocol handler can then derive a large pull length from the wrapped offsets and access memory outside the skb allocation. Apply the existing VLAN_MAX_DEPTH limit to the exceptional VID 0 retry. Count the tag already stored in skb VLAN metadata as the first level, then stop before untagging a ninth level. Keep the accounting inside this uncommon branch so the regular VLAN receive path is unaffected. A single VID 0 priority tag before a real VLAN tag is valid. No normal deployment was found that intentionally emits multiple consecutive VID 0 tags; permitting eight levels is therefore conservative. The issue was found while researching the Linux network receive path for Google kvmCTF, with OpenAI Codex (gpt-5.6-sol) assisting the analysis. The affected path, reproducer and fix were manually reviewed and tested. The Linux kernel CVE team has assigned CVE-2026-99805 to this issue. Affected and fixed versions =========================== Issue introduced in 5.2 with commit 36b2f61a42c29add695f3bd192ce44d5c113c1eb and fixed in 5.10.275 with commit e80d07f6f08883c922d1e029a0a75ff3fd81e658 Issue introduced in 5.2 with commit 36b2f61a42c29add695f3bd192ce44d5c113c1eb and fixed in 5.15.226 with commit 376aa7635f7b2ded1012b6dbdef6ead4d072962e Issue introduced in 5.2 with commit 36b2f61a42c29add695f3bd192ce44d5c113c1eb and fixed in 6.1.193 with commit 834b0ab00c64886f1de280530c21a40374a6a75a Issue introduced in 5.2 with commit 36b2f61a42c29add695f3bd192ce44d5c113c1eb and fixed in 6.6.163 with commit 052a62de6e467646a2a5f8baced4ea319319ae75 Issue introduced in 5.2 with commit 36b2f61a42c29add695f3bd192ce44d5c113c1eb and fixed in 6.12.118 with commit dedb3f9aa54a3fcff41373ed948078d35c0cc50e Issue introduced in 5.2 with commit 36b2f61a42c29add695f3bd192ce44d5c113c1eb and fixed in 6.18.63 with commit 3646b7c04717004d0abfc71dd35d25a646c34f45 Issue introduced in 5.2 with commit 36b2f61a42c29add695f3bd192ce44d5c113c1eb and fixed in 7.3.4 with commit e9e219cc9f542041ab1eb7ac10bf6f01a9d7ed01 Issue introduced in 5.2 with commit 36b2f61a42c29add695f3bd192ce44d5c113c1eb and fixed in 7.4-rc1 with commit d3ff07f5acc573e5f72bf1c581bae5d05191ba61 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-99805 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/core/dev.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/e80d07f6f08883c922d1e029a0a75ff3fd81e658 https://git.kernel.org/stable/c/376aa7635f7b2ded1012b6dbdef6ead4d072962e https://git.kernel.org/stable/c/834b0ab00c64886f1de280530c21a40374a6a75a https://git.kernel.org/stable/c/052a62de6e467646a2a5f8baced4ea319319ae75 https://git.kernel.org/stable/c/dedb3f9aa54a3fcff41373ed948078d35c0cc50e https://git.kernel.org/stable/c/3646b7c04717004d0abfc71dd35d25a646c34f45 https://git.kernel.org/stable/c/e9e219cc9f542041ab1eb7ac10bf6f01a9d7ed01 https://git.kernel.org/stable/c/d3ff07f5acc573e5f72bf1c581bae5d05191ba61