# CVE-2026-97436: dpaa2-switch: rework FDB management on the bridge leave path

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-09-24T16:03:49.183Z
- Modified: 2026-10-03T11:17:55.083Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 539dda3c5d190c5088b5e57944b1b482fcb464de before ec41bfd281a8bc8027a42d2674eac5b74947ff7a; from 539dda3c5d190c5088b5e57944b1b482fcb464de before e07ff2338f45adbf572850335d761c2f97545935; from 539dda3c5d190c5088b5e57944b1b482fcb464de before dc626f2abb3052881911b6166a9425739ce80085; from 539dda3c5d190c5088b5e57944b1b482fcb464de before abea361a11e4e48695ea149652ef5d3f308b6a49; from 539dda3c5d190c5088b5e57944b1b482fcb464de before 5adbc4d02d7df8bd7aa02c21874f7a582a576b55; from 539dda3c5d190c5088b5e57944b1b482fcb464de before efc1d92eacf03afa6f4d53bf7120e059b6f961f2; 5.13 (not affected: before 5.13; from 5.15.222 up to 5.15.*; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/ec41bfd281a8bc8027a42d2674eac5b74947ff7a>
- <https://git.kernel.org/stable/c/e07ff2338f45adbf572850335d761c2f97545935>
- <https://git.kernel.org/stable/c/dc626f2abb3052881911b6166a9425739ce80085>
- <https://git.kernel.org/stable/c/abea361a11e4e48695ea149652ef5d3f308b6a49>
- <https://git.kernel.org/stable/c/5adbc4d02d7df8bd7aa02c21874f7a582a576b55>
- <https://git.kernel.org/stable/c/efc1d92eacf03afa6f4d53bf7120e059b6f961f2>

## Sources

- CVE List: [CVE-2026-97436](https://www.cve.org/CVERecord?id=CVE-2026-97436), CVE Terms of Use, modified 2026-10-03
- NVD: [CVE-2026-97436](https://nvd.nist.gov/vuln/detail/CVE-2026-97436), Public domain, modified 2026-10-03

---

Page: https://cve.day/CVE-2026-97436 · Whole record: https://cve.day/CVE-2026-97436.json · Rebuilt by cve.day 2026-11-25T22:59:40.852Z
