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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-04T15:54:52.459Z
- **Modified:** 2026-10-19T09:17:19.597Z

## Who should check

- Anyone running Linux \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< 3afaaee2f972aec9059110953adb62fa3cf5c4bd; \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< 22226a2c3b90f15b0925f1464470d3baa6c5677e; \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< 7c54fd8cfbcf371a5ef50db5c53fe6e85fb76686; \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< 3a0ad4fcdfa0b7dba1876de14a12cb65c8b5ca50; \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< c069f29da72324697aa4b7cab5b3647a7d24a575; \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< 3f4752996735e0628af559aa8da1d872c2fac13b; \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< 57f94d3f4dee8b54d63cefddf1112be4656ef9e6; \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< 50e5c6605cc9c2dd57bd2d1b3459674d19738983
- Anyone running Linux 5.15

## Description

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.

## Affected and fixed versions

- Linux: \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< 3afaaee2f972aec9059110953adb62fa3cf5c4bd; \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< 22226a2c3b90f15b0925f1464470d3baa6c5677e; \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< 7c54fd8cfbcf371a5ef50db5c53fe6e85fb76686; \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< 3a0ad4fcdfa0b7dba1876de14a12cb65c8b5ca50; \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< c069f29da72324697aa4b7cab5b3647a7d24a575; \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< 3f4752996735e0628af559aa8da1d872c2fac13b; \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< 57f94d3f4dee8b54d63cefddf1112be4656ef9e6; \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< 50e5c6605cc9c2dd57bd2d1b3459674d19738983 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 50e5c6605cc9c2dd57bd2d1b3459674d19738983 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-80842. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80842.md
Affected: Linux >= 7b54aaaf53cb784411426c64482af0435f7c845e, < 3afaaee2f972aec9059110953adb62fa3cf5c4bd; >= 7b54aaaf53cb784411426c64482af0435f7c845e, < 22226a2c3b90f15b0925f1464470d3baa6c5677e; >= 7b54aaaf53cb784411426c64482af0435f7c845e, < 7c54fd8cfbcf371a5ef50db5c53fe6e85fb76686; >= 7b54aaaf53cb784411426c6…
Fixed in: Linux 3afaaee2f972aec9059110953adb62fa3cf5c4bd, Linux 22226a2c3b90f15b0925f1464470d3baa6c5677e, Linux 7c54fd8cfbcf371a5ef50db5c53fe6e85fb76686, Linux 3a0ad4fcdfa0b7dba1876de14a12cb65c8b5ca50, Linux 3f4752996735e0628af559aa8da1d872c2fac13b, Linux 57f94d3f4dee8b54d63cefddf1112be4656ef9e6, Linux 50e5c…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-80842 being exploited?

There is no confirmed exploitation: CVE-2026-80842 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-80842?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-80842?

Linux \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< 3afaaee2f972aec9059110953adb62fa3cf5c4bd; \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< 22226a2c3b90f15b0925f1464470d3baa6c5677e; \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< 7c54fd8cfbcf371a5ef50db5c53fe6e85fb76686; \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< 3a0ad4fcdfa0b7dba1876de14a12cb65c8b5ca50; \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< c069f29da72324697aa4b7cab5b3647a7d24a575; \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< 3f4752996735e0628af559aa8da1d872c2fac13b; \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< 57f94d3f4dee8b54d63cefddf1112be4656ef9e6; \>= 7b54aaaf53cb784411426c64482af0435f7c845e, \< 50e5c6605cc9c2dd57bd2d1b3459674d19738983; Linux 5.15.

### Is there a fix for CVE-2026-80842?

Yes. Fixed in Linux 3afaaee2f972aec9059110953adb62fa3cf5c4bd, Linux 22226a2c3b90f15b0925f1464470d3baa6c5677e, Linux 7c54fd8cfbcf371a5ef50db5c53fe6e85fb76686, Linux 3a0ad4fcdfa0b7dba1876de14a12cb65c8b5ca50, Linux 3f4752996735e0628af559aa8da1d872c2fac13b, Linux 57f94d3f4dee8b54d63cefddf1112be4656ef9e6, Linux 50e5c6605cc9c2dd57bd2d1b3459674d19738983. Upgrade Linux to 50e5c6605cc9c2dd57bd2d1b3459674d19738983 or later.

### How do I check if I'm affected by CVE-2026-80842?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/3afaaee2f972aec9059110953adb62fa3cf5c4bd>
- other: <https://git.kernel.org/stable/c/22226a2c3b90f15b0925f1464470d3baa6c5677e>
- other: <https://git.kernel.org/stable/c/7c54fd8cfbcf371a5ef50db5c53fe6e85fb76686>
- other: <https://git.kernel.org/stable/c/3a0ad4fcdfa0b7dba1876de14a12cb65c8b5ca50>
- other: <https://git.kernel.org/stable/c/c069f29da72324697aa4b7cab5b3647a7d24a575>
- other: <https://git.kernel.org/stable/c/3f4752996735e0628af559aa8da1d872c2fac13b>
- other: <https://git.kernel.org/stable/c/57f94d3f4dee8b54d63cefddf1112be4656ef9e6>
- other: <https://git.kernel.org/stable/c/50e5c6605cc9c2dd57bd2d1b3459674d19738983>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-80842>

HTML: <https://flawdb.com/CVE-2026-80842> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-80842>
