bridge: mcast: Delete empty MDB entry when port group creation fails
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
bridge: mcast: Delete empty MDB entry when port group creation fails
When a port group cannot be created for a new group, the MDB entry that was created for it is left with no ports and is not joined by the host. Its timer is never armed, so the entry is never deleted, but it is counted towards mcast_hash_max. When this maximum is reached, the bridge disables multicast snooping.
Since commit b57e8d870d52 ("net: bridge: Maintain number of MDB entries in net_bridge_mcast_port"), port group creation also fails when the port reached its mcast_max_groups limit. A host behind such a port can therefore disable snooping by sending reports for new groups, which is what the limit is meant to prevent. The RTM_NEWMDB path has the same problem.
Fix by deleting the entry after a failure if it is unused. Delete it immediately rather than arming its timer, so that it stops counting towards the maximum right away.
| Product | Versions |
|---|---|
| Linux Linux | b57e8d870d522d905720052e6fd9c3bc9bc5f6fb to before ba98118f6d71c60f0cae6b3262f1fcbd229c5ded Affectedb57e8d870d522d905720052e6fd9c3bc9bc5f6fb to before 0523403f29e5c012dc7e1cec73261e4249cce579 Affectedb57e8d870d522d905720052e6fd9c3bc9bc5f6fb to before 24d9d699edf2f64dba23bdf41105cdfbde142787 Affectedb57e8d870d522d905720052e6fd9c3bc9bc5f6fb to before 3842c22aaf34d66f272141d85a53ae50782d97ae Affectedb57e8d870d522d905720052e6fd9c3bc9bc5f6fb to before 1d0590f96fa4133578b7370ea9ce1d871f6bfc21 Affected |
| Linux Linux | 6.3 Affectedbefore 6.3 Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/ba98118f6d71c60f0cae6b3262f1fcbd229c5ded
- https://git.kernel.org/stable/c/0523403f29e5c012dc7e1cec73261e4249cce579
- https://git.kernel.org/stable/c/24d9d699edf2f64dba23bdf41105cdfbde142787
- https://git.kernel.org/stable/c/3842c22aaf34d66f272141d85a53ae50782d97ae
- https://git.kernel.org/stable/c/1d0590f96fa4133578b7370ea9ce1d871f6bfc21
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.