CVE-2026-80842

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/09/2026
Last modified:
19/10/2026

Description

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

Impact