# CVE-2026-45913: net: bridge: mcast: always update mdb\_n\_entries for vlan contexts

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **Published:** 2026-05-27T12:17:28.607Z
- **Modified:** 2026-11-06T16:18:51.350Z

## Who should check

- Anyone running Linux \>= b57e8d870d522d905720052e6fd9c3bc9bc5f6fb, \< d0fdad1bdd21a358cc2c85da3681ae27b86ce6ce; \>= b57e8d870d522d905720052e6fd9c3bc9bc5f6fb, \< 724a405ce0309676f1e993c173382b4c4a022beb; \>= b57e8d870d522d905720052e6fd9c3bc9bc5f6fb, \< fae260fc84e1eae8f590c7907e53e8768df2d986; \>= b57e8d870d522d905720052e6fd9c3bc9bc5f6fb, \< 45525fdfd4cb612d7b414dd5cfa1f43892a7cd71; \>= b57e8d870d522d905720052e6fd9c3bc9bc5f6fb, \< 8b769e311a86bb9d15c5658ad283b86fc8f080a2
- Anyone running Linux 6.3

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: bridge: mcast: always update mdb\_n\_entries for vlan contexts

syzbot triggered a warning\[1\] about the number of mdb entries in a context.
It turned out that there are multiple ways to trigger that warning today
(some got added during the years), the root cause of the problem is that
the increase is done conditionally, and over the years these different
conditions increased so there were new ways to trigger the warning, that is
to do a decrease which wasn't paired with a previous increase.

For example one way to trigger it is with flush:
 $ ip l add br0 up type bridge vlan\_filtering 1 mcast\_snooping 1
 $ ip l add dumdum up master br0 type dummy
 $ bridge mdb add dev br0 port dumdum grp 239.0.0.1 permanent vid 1
 $ ip link set dev br0 down
 $ ip link set dev br0 type bridge mcast\_vlan\_snooping 1
   ^^^^ this will enable snooping, but will not update mdb\_n\_entries
        because in \_\_br\_multicast\_enable\_port\_ctx() we check !netif\_running
 $ bridge mdb flush dev br0
   ^^^ this will trigger the warning because it will delete the pg which
       we added above, which will try to decrease mdb\_n\_entries

Fix the problem by removing the conditional increase and always keep the
count up-to-date while the vlan exists. In order to do that we have to
first initialize it on port-vlan context creation, and then always increase
or decrease the value regardless of mcast options. To keep the current
behaviour we have to enforce the mdb limit only if the context is port's or
if the port-vlan's mcast snooping is enabled.

\[1\]
 ------------\[ cut here \]------------
 n == 0
 WARNING: net/bridge/br\_multicast.c:718 at br\_multicast\_port\_ngroups\_dec\_one net/bridge/br\_multicast.c:718 \[inline\], CPU\#0: syz.4.4607/22043
 WARNING: net/bridge/br\_multicast.c:718 at br\_multicast\_port\_ngroups\_dec net/bridge/br\_multicast.c:771 \[inline\], CPU\#0: syz.4.4607/22043
 WARNING: net/bridge/br\_multicast.c:718 at br\_multicast\_del\_pg+0x1bbe/0x1e20 net/bridge/br\_multicast.c:825, CPU\#0: syz.4.4607/22043
 Modules linked in:
 CPU: 0 UID: 0 PID: 22043 Comm: syz.4.4607 Not tainted syzkaller \#0 PREEMPT(full)
 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026
 RIP: 0010:br\_multicast\_port\_ngroups\_dec\_one net/bridge/br\_multicast.c:718 \[inline\]
 RIP: 0010:br\_multicast\_port\_ngroups\_dec net/bridge/br\_multicast.c:771 \[inline\]
 RIP: 0010:br\_multicast\_del\_pg+0x1bbe/0x1e20 net/bridge/br\_multicast.c:825
 Code: 41 5f 5d e9 04 7a 48 f7 e8 3f 73 5c f7 90 0f 0b 90 e9 cf fd ff ff e8 31 73 5c f7 90 0f 0b 90 e9 16 fd ff ff e8 23 73 5c f7 90 \<0f\> 0b 90 e9 60 fd ff ff e8 15 73 5c f7 eb 05 e8 0e 73 5c f7 48 8b
 RSP: 0018:ffffc9000c207220 EFLAGS: 00010293
 RAX: ffffffff8a68042d RBX: ffff88807c6f1800 RCX: ffff888066e90000
 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
 RBP: 0000000000000000 R08: ffff888066e90000 R09: 000000000000000c
 R10: 000000000000000c R11: 0000000000000000 R12: ffff8880303ef800
 R13: dffffc0000000000 R14: ffff888050eb11c4 R15: 1ffff1100a1d6238
 FS:  00007fa45921b6c0(0000) GS:ffff8881256f5000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 00007fa4591f9ff8 CR3: 0000000081df2000 CR4: 00000000003526f0
 Call Trace:
  \<TASK\>
  br\_mdb\_flush\_pgs net/bridge/br\_mdb.c:1525 \[inline\]
  br\_mdb\_flush net/bridge/br\_mdb.c:1544 \[inline\]
  br\_mdb\_del\_bulk+0x5e2/0xb20 net/bridge/br\_mdb.c:1561
  rtnl\_mdb\_del+0x48a/0x640 net/core/rtnetlink.c:-1
  rtnetlink\_rcv\_msg+0x77e/0xbe0 net/core/rtnetlink.c:6967
  netlink\_rcv\_skb+0x232/0x4b0 net/netlink/af\_netlink.c:2550
  netlink\_unicast\_kernel net/netlink/af\_netlink.c:1318 \[inline\]
  netlink\_unicast+0x80f/0x9b0 net/netlink/af\_netlink.c:1344
  netlink\_sendmsg+0x813/0xb40 net/netlink/af\_netlink.c:1894
  sock\_sendmsg\_nosec net/socket.c:727 \[inline\]
  \_\_sock\_sendmsg net/socket.c:742 \[inline\]
  \_\_\_\_sys\_sendmsg+0xa68/0xad0 net/socket.c:2592
  \_\_\_sys\_sendmsg+0x2a5/0x360 net/socke
---truncated---

## Affected and fixed versions

- Linux: \>= b57e8d870d522d905720052e6fd9c3bc9bc5f6fb, \< d0fdad1bdd21a358cc2c85da3681ae27b86ce6ce; \>= b57e8d870d522d905720052e6fd9c3bc9bc5f6fb, \< 724a405ce0309676f1e993c173382b4c4a022beb; \>= b57e8d870d522d905720052e6fd9c3bc9bc5f6fb, \< fae260fc84e1eae8f590c7907e53e8768df2d986; \>= b57e8d870d522d905720052e6fd9c3bc9bc5f6fb, \< 45525fdfd4cb612d7b414dd5cfa1f43892a7cd71; \>= b57e8d870d522d905720052e6fd9c3bc9bc5f6fb, \< 8b769e311a86bb9d15c5658ad283b86fc8f080a2 (cvelist)
- Linux: 6.3 (cvelist)

## Mitigation

- Upgrade Linux to 8b769e311a86bb9d15c5658ad283b86fc8f080a2 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-45913. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-45913.md
Affected: Linux >= b57e8d870d522d905720052e6fd9c3bc9bc5f6fb, < d0fdad1bdd21a358cc2c85da3681ae27b86ce6ce; >= b57e8d870d522d905720052e6fd9c3bc9bc5f6fb, < 724a405ce0309676f1e993c173382b4c4a022beb; >= b57e8d870d522d905720052e6fd9c3bc9bc5f6fb, < fae260fc84e1eae8f590c7907e53e8768df2d986; >= b57e8d870d522d905720052…
Fixed in: Linux 724a405ce0309676f1e993c173382b4c4a022beb, Linux 45525fdfd4cb612d7b414dd5cfa1f43892a7cd71, Linux 8b769e311a86bb9d15c5658ad283b86fc8f080a2

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-45913 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= b57e8d870d522d905720052e6fd9c3bc9bc5f6fb, \< d0fdad1bdd21a358cc2c85da3681ae27b86ce6ce; \>= b57e8d870d522d905720052e6fd9c3bc9bc5f6fb, \< 724a405ce0309676f1e993c173382b4c4a022beb; \>= b57e8d870d522d905720052e6fd9c3bc9bc5f6fb, \< fae260fc84e1eae8f590c7907e53e8768df2d986; \>= b57e8d870d522d905720052e6fd9c3bc9bc5f6fb, \< 45525fdfd4cb612d7b414dd5cfa1f43892a7cd71; \>= b57e8d870d522d905720052e6fd9c3bc9bc5f6fb, \< 8b769e311a86bb9d15c5658ad283b86fc8f080a2; Linux 6.3.

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

Yes. Fixed in Linux 724a405ce0309676f1e993c173382b4c4a022beb, Linux 45525fdfd4cb612d7b414dd5cfa1f43892a7cd71, Linux 8b769e311a86bb9d15c5658ad283b86fc8f080a2. Upgrade Linux to 8b769e311a86bb9d15c5658ad283b86fc8f080a2 or later.

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

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

- patch: <https://git.kernel.org/stable/c/d0fdad1bdd21a358cc2c85da3681ae27b86ce6ce>
- patch: <https://git.kernel.org/stable/c/724a405ce0309676f1e993c173382b4c4a022beb>
- patch: <https://git.kernel.org/stable/c/fae260fc84e1eae8f590c7907e53e8768df2d986>
- patch: <https://git.kernel.org/stable/c/45525fdfd4cb612d7b414dd5cfa1f43892a7cd71>
- patch: <https://git.kernel.org/stable/c/8b769e311a86bb9d15c5658ad283b86fc8f080a2>

## 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-45913>

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