VDB

CVE-2026-80842

CVE-2026-80842 PUBLISHED

net: bridge: mcast: fix use-after-free of a master VLAN's multicast context

Reported by linux · Published September 4, 2026

In the Linux kernel, the following vulnerability has been resolved: net: bridge: mcast: fix use-after-free of a master VLAN's multicast context br_multicast_toggle_one_vlan() clears BR_VLFLAG_MCAST_ENABLED under br->multicast_lock before stopping a VLAN's multicast context. That is the teardown handshake: lockless readers gate on the flag through br_multicast_ctx_should_use() -> br_multicast_ctx_vlan_disabled(), so once it is cleared under the lock no reader can arm the context again. For a master VLAN the handshake never runs. __vlan_del() clears BRIDGE_VLAN_INFO_BRENTRY before calling br_vlan_put_master(), so br_multicast_toggle_one_vlan(masterv, false) returns early on !br_vlan_is_brentry(vlan): the flag stays set and br->multicast_lock is never taken. br_vlan_put_master() then drains the context in br_multicast_ctx_deinit() and frees the VLAN through call_rcu(), while a reader still inside rcu_read_lock() sees the context as enabled and re-arms it. The port and port-VLAN branch of the function has no br_vlan_is_brentry() test and flips the flag under br->multicast_lock, so it is not affected. The reader is the bridge transmit path. For a master VLAN br_multicast_rcv() selects brmctx = &vlan->br_mcast_ctx with pmctx = NULL, so IGMP sent to the bridge device re-arms the context's timers after br_multicast_ctx_deinit() has already stopped them. BUG: KASAN: slab-use-after-free in detach_if_pending+0x412/0x4a0 Write of size 8 at addr ffff88810ac39918 by task brmc/601 __mod_timer+0x51a/0xc50 br_multicast_host_join+0x25b/0x390 __br_multicast_add_group+0x468/0x530 br_ip4_multicast_add_group+0x1a0/0x260 br_multicast_rcv+0x2cda/0x61e0 br_dev_xmit+0x6c4/0x1540 Allocated by task 610: br_vlan_add+0x111/0xb40 br_vlan_info+0x370/0x3e0 Freed by task 0: kfree+0x1a7/0x4f0 rcu_core+0x7dc/0x10a0 Only test br_vlan_is_brentry() when enabling, like the br_multicast_ctx_vlan_global_disabled() test next to it. Disabling then always clears BR_VLFLAG_MCAST_ENABLED under br->multicast_lock before br_multicast_ctx_deinit() drains the context.

EPSS 0.18% · 7.4th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-modules-extraAmazon Linux1:6.1.188-233.385.amzn2023
kernel-toolsAmazon Linux1:6.1.188-233.385.amzn2023
bpftoolAmazon Linux1:6.1.188-233.385.amzn2023
kernel-modules-extraerrata.rockylinux.org0:4.18.0-553.185.1.el8_10.x86_64
kernel6.12-headersAmazon Linux1:6.12.110-135.201.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.51-120.162.amzn2023
kernel-rt-debug-coreerrata.rockylinux.org0:4.18.0-553.185.1.rt7.526.el8_10.x86_64
perf6.18Amazon Linux1:6.18.51-120.162.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.51-120.162.amzn2023
kernel-coreerrata.rockylinux.org0:4.18.0-553.185.1.el8_10.aarch64
kernel-rt-debuginfoerrata.rockylinux.org0:4.18.0-553.185.1.rt7.526.el8_10.x86_64
LinuxLinux5.15, 3a0ad4fcdfa0b7dba1876de14a12cb65c8b5ca50

Risk scores

EPSS Score
0.18%
7.4th percentile

Affected products

VendorProductVersions
LinuxLinux7b54aaaf53cb784411426c64482af0435f7c845e, 7b54aaaf53cb784411426c64482af0435f7c845e, 7b54aaaf53cb784411426c64482af0435f7c845e
LinuxLinux5.15, 0, 5.15.220
amazon:2023kernel-modules-extra0
amazon:2023kernel-tools0
amazon:2023bpftool0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.18-tools-devel0
amazon:2023perf6.180
amazon:2023kernel6.18-modules-extra-common0
LinuxLinux7b54aaaf53cb784411426c64482af0435f7c845e, 7.3, 7.2.3
amazon:2023kernel6.180
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.120
amazon:2023bpftool6.180
amazon:2023perf0
amazon:2023kernel6.12-modules-extra0
amazon:2023python3-perf6.180
amazon:2023kernel6.12-tools-devel0
amazon:2023perf6.120
amazon:2023kernel6.12-devel0

…and 18 more

Timeline

  • Sep 4, 2026 Coalition ESS Score
  • Sep 4, 2026 CVE Published
  • Sep 5, 2026 EPSS Score (10 in total, the first dated here)
  • Oct 19, 2026 CVE Updated
  • Nov 12, 2026 Distribution Patch (6 in total, the first dated here)
  • Nov 12, 2026 Security Advisory (5 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-80842
vulnetix vdb fixes CVE-2026-80842

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-80842/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›