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 329493A1CF8 for ; Sun, 19 Jul 2026 15:02:24 +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=1784473345; cv=none; b=jQJgg64Mp7g0ujCokXpvwWRfxeZsLsMFkYfsA0xYFGdtJPXFGwPkFNYmCFVEL8b0+1DwJbKYaW44A3c/IPSbCuMt2XXwracjGAqfa71lsjpVFuMz39GXJGIkf++4HLEbx55/hbidthiOt31K71ve6HNyJ9Q0dHVhPyCev5kr9wQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473345; c=relaxed/simple; bh=Hajqx9kJUYHzEVvlp9/Ykx68gnXm0P1kAzp7NKH3IPI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RltJgMDEPUM0EG4b7eI7oLO3sEMHWEgZJFDEaWCWX9oSI96t1beEw70KlCeLIlRZGscNxbvRqDXbtlLD9nXQ5hg9sL1nnpA/QmI4L+6yRUe9+k+XY99fSUfIwhG4HI8X4yo4i6ZrL3h+T8L2lbqTgf2uVYNtflTpKbHYTLTIPu4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hIO/baQn; 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="hIO/baQn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 91F6D1F000E9; Sun, 19 Jul 2026 15:02:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784473344; bh=h0egvKm+WtOFIcnTG0JCk5ItT0b41/VEG7BznSYraUY=; h=From:To:Cc:Subject:Date:Reply-To; b=hIO/baQnzq4pl7ziM5bQGTvhkLBLIyYfAajoZdI0Q64k89VbZDTeRibLk4ctJ3/tt um9HH0vqUZYFOYkB/Op3LY8s9pC0D04L1DOGwG328VbjdyfOugvqmFy7BnEHLVg/Nc zd8cIYz5GSus9Araw2mgfcOeLraKeYiRAPsHznOg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63982: net/sched: Fix ethx:ingress -> ethy:egress -> ethx:ingress mirred loop Date: Sun, 19 Jul 2026 16:57:22 +0200 Message-ID: <2026071902-CVE-2026-63982-9bf5@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=2522; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=trSUxkF76Yhbz9XpZ70Muf+AyGIvmLka4WPNnPIyGWM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxT5t4bkWeXdfz1naf2ZsV/S3srR8vLvA+q6nF//U65 6N8+8OLO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAipcIMc4VubUrI8f+w+tD2 ydJ5ZS3RQXJSRgzzFA/w3lZX3b8vSPnB4i8ik0/2flsfAQA= 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: Fix ethx:ingress -> ethy:egress -> ethx:ingress mirred loop When mirred redirects to ingress (from either ingress or egress) the loop state from sched_mirred_dev array dev is lost because of 1) the packet deferral into the backlog and 2) the fact the sched_mirred_dev array is cleared. In such cases, if there was a loop we won't discover it. Here's a simple test to reproduce: ip a add dev port0 10.10.10.11/24 tc qdisc add dev port0 clsact tc filter add dev port0 egress protocol ip \ prio 10 matchall action mirred ingress redirect dev port1 tc qdisc add dev port1 clsact tc filter add dev port1 ingress protocol ip \ prio 10 matchall action mirred egress redirect dev port0 ping -c 1 -W0.01 10.10.10.10 The Linux kernel CVE team has assigned CVE-2026-63982 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit fe946a751d9b52b7c45ca34899723b314b79b249 and fixed in 7.0.12 with commit 45ac526a0d5733c3695946bd84ec57f24d8f5e66 Issue introduced in 6.19 with commit fe946a751d9b52b7c45ca34899723b314b79b249 and fixed in 7.1 with commit db875221ab08d213a83bf30196ae8b64d55a3403 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-63982 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/act_mirred.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/66f4607fe788fc7d81bce0e2f7b3726ed2f71284 https://git.kernel.org/stable/c/45ac526a0d5733c3695946bd84ec57f24d8f5e66 https://git.kernel.org/stable/c/db875221ab08d213a83bf30196ae8b64d55a3403