# CVE-2026-98487: net: bridge: mdb: restart port group walk after deletion

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-10-18T15:16:04.746Z
- Modified: 2026-10-24T14:16:43.960Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: bridge: mdb: restart port group walk after deletion

br_mdb_flush_pgs() keeps a pointer-to-pointer cursor while walking
mp->ports. br_multicast_del_pg() can re-enter the same MDB entry through
br_multicast_sg_del_exclude_ports() and unlink other port groups. If the
cursor points into one of those groups, the next iteration dereferences a
stale cursor and can leave mp->ports pointing at freed memory.

A following RTM_GETMDB exposes the dangling pointer:

  BUG: KASAN: slab-use-after-free in br_mdb_dump
  Read of size 8
    br_mdb_dump
    rtnl_mdb_dump
    rtnl_dumpit
    netlink_dump

Reset the cursor to mp->ports after every deletion. The deletion removes at
least the selected group, so the restarted walk always makes progress.

(As written by CVE List.)

## Affected

- Linux Linux: from a6acb535afb2a3b688a7858f05b61f0433e480d5 before 46ec55855c972504258c371677ac039ba20e5d12; from a6acb535afb2a3b688a7858f05b61f0433e480d5 before ab3c4a4c85f2e1e8d04b5c1770dea8412d21c7fe; from a6acb535afb2a3b688a7858f05b61f0433e480d5 before fe2a42789c12eb7c5d3a42191e2cc735a6c35ead; from a6acb535afb2a3b688a7858f05b61f0433e480d5 before ab1404ac81154a89fb61ac50ae9a04cd8d4834dc; 6.8 (not affected: before 6.8; from 6.12.112 up to 6.12.*; from 6.18.55 up to 6.18.*; from 7.2.9 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/46ec55855c972504258c371677ac039ba20e5d12>
- <https://git.kernel.org/stable/c/ab3c4a4c85f2e1e8d04b5c1770dea8412d21c7fe>
- <https://git.kernel.org/stable/c/fe2a42789c12eb7c5d3a42191e2cc735a6c35ead>
- <https://git.kernel.org/stable/c/ab1404ac81154a89fb61ac50ae9a04cd8d4834dc>

## Sources

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

---

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