← Back to search

CVE-2026-98487

7.8 HIGH

Published 2026-10-18 · Updated 2026-10-24

AI risk analysis

Summary
A use-after-free bug in the Linux kernel's bridge multicast database (MDB) port group walk occurs when br_mdb_flush_pgs() continues iterating over freed memory after br_multicast_del_pg() re-enters and deletes other port groups, leading to crashes or potential information disclosure during RTM_GETMDB operations.
Exploitability
Exploitation requires local access with low privileges (PR:L) and no user interaction; however, triggering the exact race condition is non-trivial and depends on concurrent MDB modifications.
Blast radius
Successful exploitation could allow a local attacker to read sensitive kernel memory or cause a denial of service via system crash, but remote exploitation is not possible due to the local attack vector.
Detection
Look for KASAN use-after-free reports in kernel logs (e.g., 'BUG: KASAN: slab-use-after-free in br_mdb_dump'), especially when RTM_GETMDB is invoked shortly after MDB modifications. No reliable network or host indicator exists beyond such kernel memory error messages.
Prioritized remediation
Apply the kernel patch referenced in the commit that restarts the port group walk after deletion; if unable to patch immediately, restrict untrusted users from modifying bridge MDB entries via RTM_NEWMDB or disable bridge multicast functionality where not required.
use-after-freekernellocal-exploitationdenial-of-serviceinformation-disclosurenetworking

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

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

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.