Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97436 Overview
CVE-2026-97436 is a Linux kernel vulnerability in the dpaa2-switch driver. The flaw affects Forwarding Database (FDB) management when a port leaves a bridge. The dpaa2_switch_port_set_fdb() function always allocates a new FDB for the port transitioning to standalone mode. This logic fails to handle environments with multiple bridges containing ports from the same DPSW instance. As ports leave bridges, previously assigned FDBs remain marked as in use. Over time, multiple ports can end up sharing the same FDB, corrupting Layer 2 forwarding behavior on NXP DPAA2 switch hardware.
Critical Impact
Incorrect FDB reuse can cause multiple switch ports to share forwarding state, leading to Layer 2 traffic leakage and unpredictable bridge behavior on affected DPAA2-based platforms.
Affected Products
- Linux kernel versions containing the dpaa2-switch driver prior to the fix commits
- NXP DPAA2 Ethernet switch (DPSW) hardware platforms
- Linux stable branches referenced by commits 5adbc4d, abea361, and efc1d92
Discovery Timeline
- 2026-09-24 - CVE-2026-97436 published to NVD
- 2026-09-25 - Last updated in NVD database
Technical Details for CVE-2026-97436
Vulnerability Analysis
The dpaa2-switch driver manages FDB instances for ports attached to Data Path Switch (DPSW) hardware. When a port leaves a bridge, the driver must transition that port to standalone mode with its own FDB. The existing implementation calls dpaa2_switch_port_set_fdb(), which searches for an unused FDB and assigns it to the leaving port. The old FDB that the port was using remains flagged as allocated, even when no other port continues to use it.
This logic is incorrect when multiple bridges contain ports from the same DPSW instance. Because the number of FDBs equals the number of DPSW interfaces, repeated bridge leave operations exhaust the FDB pool. Eventually, the driver assigns an already-active FDB to a new port, causing two or more ports to share one forwarding table.
Root Cause
The root cause is incorrect reference tracking of FDB usage on the bridge leave path. The driver does not evaluate whether the leaving port is the last remaining member of its current bridge before allocating a replacement FDB. The old FDB is never released, producing a resource accounting error that scales with the number of bridges configured on the DPSW instance.
Attack Vector
The issue is triggered by legitimate network configuration operations rather than a remote attack. An administrator or orchestration system that repeatedly adds and removes DPAA2 switch ports from multiple Linux bridges can exhaust the FDB pool. Shared FDBs then allow MAC address learning and forwarding decisions from one bridge domain to influence another. This can produce traffic leakage between segmented networks on the same hardware switch.
The upstream fix reworks the leave path. The driver now checks whether the current port is the last member of its bridge. If so, the port retains its existing FDB. A new FDB is allocated only when other ports remain in the bridge. See the kernel commits 5adbc4d, abea361, and efc1d92 for the full patch.
Detection Methods for CVE-2026-97436
Indicators of Compromise
- Unexpected MAC address entries appearing in bridge FDBs that should be isolated from each other on DPAA2 switch hardware
- Traffic observed crossing between separate bridges configured on the same DPSW instance
- Kernel log entries from the dpaa2-switch driver referencing FDB allocation during repeated bridge add or remove operations
Detection Strategies
- Audit running kernel versions on NXP DPAA2-based systems and compare against the fixed commit hashes 5adbc4d, abea361, and efc1d92
- Inspect bridge FDB contents with bridge fdb show and verify that entries align with the expected port-to-bridge membership
- Correlate configuration change events against unexpected Layer 2 forwarding anomalies
Monitoring Recommendations
- Monitor interface bridge membership changes on DPAA2 switch ports through system logs and configuration management
- Track MAC learning behavior per bridge to identify anomalous cross-bridge entries
- Collect kernel ring buffer messages from the dpaa2-switch driver and forward them to centralized logging
How to Mitigate CVE-2026-97436
Immediate Actions Required
- Identify systems running the dpaa2-switch driver by checking for the fsl_dpaa2_switch kernel module and DPSW hardware
- Apply the stable kernel release that contains commits 5adbc4d, abea361, and efc1d92
- Reboot affected systems after installing the patched kernel to ensure the corrected FDB management logic is loaded
Patch Information
The fix is available in Linux stable kernel commits 5adbc4d, abea361, and efc1d92. The patch restructures dpaa2_switch_port_set_fdb() to check bridge membership before allocating a new FDB on the leave path. Distribution maintainers should backport these commits into supported kernel branches.
Workarounds
- Avoid configurations where multiple Linux bridges contain ports from the same DPSW instance until the patch is applied
- Minimize repeated add and remove operations on DPAA2 switch ports across different bridges to reduce FDB pool exhaustion
- Reboot the system to reset FDB allocation state if abnormal forwarding behavior is observed before patching is possible
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

