CVE-2026-98487

Source
https://cve.org/CVERecord?id=CVE-2026-98487
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98487.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98487
Downstream
Published
2026-10-18T15:16:04Z
Modified
2026-10-19T02:45:50Z
Summary
net: bridge: mdb: restart port group walk after deletion
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98487.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a6acb535afb2a3b688a7858f05b61f0433e480d5
Fixed
46ec55855c972504258c371677ac039ba20e5d12
Fixed
ab3c4a4c85f2e1e8d04b5c1770dea8412d21c7fe
Fixed
fe2a42789c12eb7c5d3a42191e2cc735a6c35ead
Fixed
ab1404ac81154a89fb61ac50ae9a04cd8d4834dc

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98487.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.8.0
Fixed
6.12.112
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.55
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98487.json"