Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139244

bridge: mcast: Delete empty MDB entry when port group creation fails

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • b57e8d870d522d905720052e6fd9c3bc9bc5f6fb to < ba98118f6d71c60f0cae6b3262f1fcbd229c5dedaffected
  • b57e8d870d522d905720052e6fd9c3bc9bc5f6fb to < 0523403f29e5c012dc7e1cec73261e4249cce579affected
  • b57e8d870d522d905720052e6fd9c3bc9bc5f6fb to < 24d9d699edf2f64dba23bdf41105cdfbde142787affected
  • b57e8d870d522d905720052e6fd9c3bc9bc5f6fb to < 3842c22aaf34d66f272141d85a53ae50782d97aeaffected
  • b57e8d870d522d905720052e6fd9c3bc9bc5f6fb to < 1d0590f96fa4133578b7370ea9ce1d871f6bfc21affected

Linux Linux

Default version status: affected

  • 6.3affected
  • 0 to < 6.3unaffected
  • 6.6.163 to ≤ 6.6.*unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References