In the Linux kernel, the following vulnerability has been resolved: net: bridge: mdb: restart port group walk after deletion br_mdb_flush_pgs()… (CVE-2026-98487)
Description
A use-after-free vulnerability in the Linux kernel's network bridge multicast database (MDB) handling was resolved. The issue occurs when the br_mdb_flush_pgs() function walks through port groups and a deletion causes the cursor to point to freed memory, leading to a stale pointer dereference. This can be triggered by an RTM_GETMDB operation, resulting in a kernel slab-use-after-free error detected by KASAN.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's net: bridge: mdb subsystem involves the br_mdb_flush_pgs() function maintaining a pointer-to-pointer cursor while iterating over mp->ports. The br_multicast_del_pg() function can re-enter the same MDB entry and unlink other port groups during deletion. If the cursor points to one of these deleted groups, subsequent iterations dereference a stale pointer, causing use-after-free. An RTM_GETMDB netlink request can expose this dangling pointer, leading to a KASAN slab-use-after-free error. The fix resets the cursor to mp->ports after each deletion to ensure the walk progresses safely without referencing freed memory.
Potential Impact
The vulnerability causes a kernel use-after-free condition, which can lead to kernel crashes or instability when the affected code path is exercised. This impacts the network bridge multicast database handling and can be triggered by specific netlink requests. There is no indication of remote code execution or privilege escalation from the provided data.
Mitigation Recommendations
A fix has been implemented that resets the cursor after each deletion to prevent stale pointer dereferences. Since the vulnerability is resolved in the Linux kernel, users should apply the official kernel updates containing this fix. No additional mitigation steps are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-vh4c-7r22-fq6w
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98487"]
Threat ID: 6ad520b02cdf04f656993af0
Added to database: 10/18/2026, 19:40:32 UTC
Last enriched: 10/18/2026, 20:18:51 UTC
Last updated: 10/18/2026, 22:02:57 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.