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 A836A3BD635 for ; Thu, 24 Sep 2026 16:19:40 +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=1790266781; cv=none; b=KuS2RHDp454FBtk3TPAYYSe7VOTmDdpJbSuAbsT1fLphWlwYXzDZ5lmMkzNknZP3uAvhzlwQKFZsfIuHiV+blLGnqUXUdOApQv1Mb6/3t8exkve1ZmMqGwY0/3nNp6gLvIVIJkBqKGXj2GNmlwFwikocmpKthU+MnQabQuc2YZA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790266781; c=relaxed/simple; bh=zG2hSlmOlmjxO4aHtSxQZwOO2HAHIrcpK1glz1iss4k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=M5kvtO7vEzE0vVF5VQP2dpQh28SrTNFHY4KYSpJvhNkzq72c69dTDKRZw8KYPmMnzWaLtPHXJjD3yVUtqvQjCZBbe5+Gxb5e1k1Z/dNzcWddNT9w7s7ctI5K2D6KOI0L4CfjIeubXUywXDhLgNZND3+cX7lk4/bKUaRAE2Q85Pk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=f38vAQiA; 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="f38vAQiA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 581951F000FF; Thu, 24 Sep 2026 16:19:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790266780; bh=XdWAbpqOQRUnkxLRAkjdWYdXnluTNf3qH7KWPtisEgs=; h=From:To:Cc:Subject:Date:Reply-To; b=f38vAQiAWQqjxXsYmS9Xal+GgbUpGAHKDdGZMx8mGTtjDSqk2uabK3bUf1cHAsjAh qUB2SJQRUB732wI/HKcC9HnzLq1h5PcklClWd0USO2WAkx4zDikke9FRJnsu+fkVms eiAe1LN4jOyFo7aEGWxRS19JnT+WyCejT5zJDe0k= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97436: dpaa2-switch: rework FDB management on the bridge leave path Date: Thu, 24 Sep 2026 18:03:36 +0200 Message-ID: <2026092430-CVE-2026-97436-a00f@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=2720; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VZYeEG+wk7pLUJJjjaUpl/YaquVqUeSfUyrPE98NPpQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlbPaenMy2/d66tt/Ze1TahuJqomwGJzL4GEfFpb/Kfv DyReNSjI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbyawXDHK4r5Zf3LNR/K5yy wHB2T/TDWC6W9QzzNF9mndnksE3DWs5KcsYuv+8TGcX2AgA= 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: dpaa2-switch: rework FDB management on the bridge leave path On bridge leave, the dpaa2_switch_port_set_fdb() function always allocates a new FDB for the port which is becoming standalone. In case no FDB is found, then the port leaving a bridge will continue to use the current one. The above logic does not cover the case in which there are multiple bridges which have ports from the same DPSW instance. In this case, when the last port leaves bridge #1, it finds an unused FDB to switch to, but the old FDB is not marked as unused. Since the number of FDBs is equal to the number of DPSW interfaces, this will eventually lead to multiple ports sharing the same FDB. Fix this by changing how we are managing the FDBs on the leave path. Instead of directly allocating a new FDB, first verify if the current port is the last one to leave a bridge. If this is the case, then continue to use the current FDB and only allocate another FDB if there are other ports remaining in the bridge. The Linux kernel CVE team has assigned CVE-2026-97436 to this issue. Affected and fixed versions =========================== Fixed in 6.12.111 with commit abea361a11e4e48695ea149652ef5d3f308b6a49 Fixed in 6.18.53 with commit 5adbc4d02d7df8bd7aa02c21874f7a582a576b55 Fixed in 7.2 with commit efc1d92eacf03afa6f4d53bf7120e059b6f961f2 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-97436 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/ethernet/freescale/dpaa2/dpaa2-switch.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/abea361a11e4e48695ea149652ef5d3f308b6a49 https://git.kernel.org/stable/c/5adbc4d02d7df8bd7aa02c21874f7a582a576b55 https://git.kernel.org/stable/c/efc1d92eacf03afa6f4d53bf7120e059b6f961f2