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=1794065619; b=ssAZUz3N5QKN5P8UIrbaIwA6t2JB8gXf3MCD9uw8yr5Z/5yymXfPsFWlQsN1WKR2Gmam dCqzqdLUUPczwLskCWvm/xFLly6vd2w5VqWNaAXuUpTPfxPXVq7O7ZndnhVTY4S4jRe3M rvC9FXk3Bnf/i7M76cY1i6rvD4HsGYn75tfDGHYjKbx9mEvBkWlMk+XbnnuN0PvrNcizs PtPL+U++cqyZN7+r2K7LH5IgbH74Hg6Z60+/naAsWfDxJgE4KE9H54p3eOqjpvakue0dR EVbk0EiO39EWGQ+qaEWhegV/ycP09KVODueS2tflowsvqRALFBB1BQ4rAKeVwf42IFg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794065619; 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=jlA9pNBOGk4PbQKFEAY85IU/CxFabNOYCN3w6sjxdqg=; b=szHtlmwZmpMAoXYvW1sOh/TssPgFL46FBeoid1spBmmh+Z0XwLVsHxUkURFX5zzw46x9 t6DHoxJe30EBMzJLZN3S65pKQaUXcxUPK9eFmubZaSse6JmJXjihwmf/nJhSyUW2ZAsmm DEa5tlQrEOUNE+cKmmCE8tWo9UCikW6gN6xz8ZeUnM6DfZoIfDl4Uypb+hoSe1dxBfah4 SYRq8FJdQaB/tvxfUFWQ/+yHanxDCO3bzKNE6Vjooaajyv5rJ8DDGoNNHLdtdKK40fh7U KHxf/KZIjCeCGdxZOgzN1rcFvMWDGJHoy3NKjyJ0565JJgAgdbQX1ePoqX9da259o9w== 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=kttcY7fI; 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 1837A606A33A for ; Sat, 7 Nov 2026 15:33:39 +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=kttcY7fI Received: by smtp.kernel.org (Postfix) with ESMTPSA id B4EB01F0089F; Sat, 7 Nov 2026 15:33:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1794065618; bh=jlA9pNBOGk4PbQKFEAY85IU/CxFabNOYCN3w6sjxdqg=; h=From:To:Cc:Subject:Date:Reply-To; b=kttcY7fIb1xS2Cg3WUUGBld4Al1NUln15hYE3EqyUJz2Ai63zh+XKju/Ra8jId88f mejvJUgQcKuMKRbwWJlV1uk9XlYuO6j5T8t453hPrwFTYokdwFFZvXtBASTyAkV2v/ hNgGEI2AhtmhycEss/9IrCUJs+SYop3SWC5tsMI8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99282: net/sched: sch_teql: fix use-after-free on lower qdisc drop Date: Sat, 7 Nov 2026 09:09:02 -0500 Message-ID: <2026110756-CVE-2026-99282-7c47@gregkh> X-Mailer: git-send-email 2.56.0 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=3598; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Ma0fr5R46s5aax0bR5q53J8cZv/GBeS13Mq0LCN/azc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnvDX6sWvVITSHSZUPPSXfv0JQXnjs8zwqYTqtf//G6H bffP87nHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRPfsZ5ueXbr22+C+Hgdi/ om3tFt9mb635cIZhFjPf7DI1VwdD5prCd1+67pmccckoAgA= 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/sched: sch_teql: fix use-after-free on lower qdisc drop The issue: teql_master_xmit() tests the slave's ndo_start_xmit() return value against NETDEV_TX_OK alone. A slave that consumes the skb but returns an error code (rc < NET_XMIT_MASK, e.g. NET_XMIT_DROP) is treated as if the skb were still owned, so the loop restores skb->dev and calls __skb_pull() on it. A VLAN slave returns the result of dev_queue_xmit() from its ndo_start_xmit() (propagated since cbbef5e18307), and when the lower qdisc drops the packet that value is NET_XMIT_DROP after the skb has been freed, giving a use-after-free in teql_master_xmit(). The Fix: test for consumption with dev_xmit_complete(), which accepts NETDEV_TX_OK and every rc < NET_XMIT_MASK, matching other callers that need to distinguish consumed results from busy. Only NETDEV_TX_OK keeps the packet counted in tx_packets/tx_bytes and advances the slave; a consumed result that is neither a success nor NET_XMIT_CN ends the attempt and is charged to tx_dropped, so lower-qdisc drops are no longer reported as good transmits. NET_XMIT_CN is counted like success because it can accompany acceptance of the current packet: pfifo_head_drop drops the old head, enqueues the current skb and returns NET_XMIT_CN. Conditions to recreate the bug: With CONFIG_NET_SCH_TEQL, CONFIG_VLAN_8021Q and CONFIG_DUMMY enabled, add lkrdummy0 (dummy) and lkrvlan0 (VLAN id 37 on lkrdummy0); set a pfifo limit 0 root on lkrdummy0 and a teql0 root on lkrvlan0; bring teql0 up with an address and send one UDP packet to it. The VLAN xmit returns NET_XMIT_DROP from the lower qdisc while holding a freed skb. The Linux kernel CVE team has assigned CVE-2026-99282 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.33 with commit 572a9d7b6fc7f20f573664063324c086be310c42 and fixed in 6.18.61 with commit fc55d92ae6a4b2e7d062cad6d4c67f6b061d9cde Issue introduced in 2.6.33 with commit 572a9d7b6fc7f20f573664063324c086be310c42 and fixed in 7.3.2 with commit 2702ae318630787c640ec0d0403ffd9d95c43e9e Issue introduced in 2.6.33 with commit 572a9d7b6fc7f20f573664063324c086be310c42 and fixed in 7.4-rc1 with commit 782d6bb8f9b8e9d8591181662222bf74cd3ecf79 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-99282 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/sched/sch_teql.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/fc55d92ae6a4b2e7d062cad6d4c67f6b061d9cde https://git.kernel.org/stable/c/2702ae318630787c640ec0d0403ffd9d95c43e9e https://git.kernel.org/stable/c/782d6bb8f9b8e9d8591181662222bf74cd3ecf79