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 C4B2733372A for ; Thu, 24 Sep 2026 16:19:35 +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=1790266777; cv=none; b=uNAGcIrmyPXHuYCoy0AnI4Y80uo03mqvsoKeT3ZMz6Z/QtZF8txkBKqiDMiZc2b1H9lskRWsp/QySrbVBUf7NiPHfxKjnWEz/3mRVXkAtQOv7RD+F23TINKNS+vbV6dd27JW9lYMSTubN75VXEUXTnJUyJnIdnvWrYerfbuOUEU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790266777; c=relaxed/simple; bh=nYHwSCDZG/3b8pSgncszA8zUFtm0/Rj46beek8LDlYg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dceSzZDyEGx7zpNoUfm5EKpnFU5U3NEZBF6GaPpp8KaKwQA0qbqMj7PddfSsGcQBvCdNgd1KoOkcWx0bdRu1j0GRCFGXA5espqJqGMwjjqbnuZK4Rt9d1bYoUI8fky9ufb2XwLp+K+OqvrUTIPRpwLn5AXs/Hx1dRtJWN6mALVI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sHg0YiAZ; 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="sHg0YiAZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A69EC1F000FF; Thu, 24 Sep 2026 16:19:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790266775; bh=JFuuLg1iDu6h6Qb6nKpuAkuYHQnjZea0GSZTQYRdkBA=; h=From:To:Cc:Subject:Date:Reply-To; b=sHg0YiAZjXDQcAaKokuXqLIsN8FLMO+LhM2mQCbppgQVzIBWkdm7fmYkNjx0jzVeY L85xaI77qsQbIN5xiS6DO44WRe2jrMYM/h/SjlPa4liW0h+pIjD9WaVplvIN3HHU3d X0lqTIltAIPj6eWsN6SviHJJzFzvRdi/J6uf9FXE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97435: net: dsa: sja1105: flower: reject cross-chip redirect Date: Thu, 24 Sep 2026 18:03:35 +0200 Message-ID: <2026092430-CVE-2026-97435-f589@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=2303; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5nfG+Tp7f2AXjbSdi2CP2Q2AlHamJVVb2e0a7Y4iEwM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlbPad9fdDV++qG6t1/O7eKPnGb2uWbvfvFtS9rzFYJ7 z/MNfF3WUcsC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBMxOAtw4LV91ZdX1ksudlP 9CVfo6W3m5Z87V2G+SkC6dOeyRzd5L9yztu4DyGWkrPZzAE= 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: dsa: sja1105: flower: reject cross-chip redirect dsa_port_from_netdev() may return a valid port from a different switch chip. Programming another chip's port index into the local hardware causes redirection to the wrong port, or an out-of-bounds access if the index exceeds the local chip's port count. Apply a minimal fix that adds a check to catch this case and adjusts the extack message. When cls->common.skip_sw is not set, the operation could instead redirect to the upstream port and let the software or upstream switch(es) handle the forward, but that is not addressed here. The Linux kernel CVE team has assigned CVE-2026-97435 to this issue. Affected and fixed versions =========================== Fixed in 6.12.111 with commit c999cc39775381b68ed66eae57c1425452672c0f Fixed in 6.18.53 with commit abd7511e12b231798332afa04ed9bee9e84f9445 Fixed in 7.2 with commit cfa5274a5dc2a23b957da5dc806d2ac0c7a66af0 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-97435 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: drivers/net/dsa/sja1105/sja1105_flower.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/c999cc39775381b68ed66eae57c1425452672c0f https://git.kernel.org/stable/c/abd7511e12b231798332afa04ed9bee9e84f9445 https://git.kernel.org/stable/c/cfa5274a5dc2a23b957da5dc806d2ac0c7a66af0