CVE-2026-139244

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

Published Nov 30, 2026 CVSS 3.1 · 4.3 Medium EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Linux kernel bridge creates a multicast database (MDB) entry for each group but fails to delete empty entries when port group creation fails. This empty entry never triggers its timer, yet it remains in the MDB count. When the maximum number of MDB entries is reached, the bridge disables multicast snooping, breaking multicast traffic for all hosts attached to the bridge. The flaw is a logic error that leads to improper resource accounting and a denial‑of‑service condition. This is a CWE‑400 (Uncontrolled Resource Consumption) vulnerability. Proper resource cleanup at failure time is required to avoid this path.

Affected Systems

All Linux kernel builds that include the bridge multicast subsystem and lack the commit that removes unused MDB entries are affected. The flaw is present in every kernel version before the inclusion of commit b57e8d870d52, regardless of distribution. Devices running an older kernel and acting as a multicast bridge are therefore at risk.

Risk and Exploitability

An attacker needs access to a port on the affected bridge and can send multicast reports for new groups to trigger the exploit. The attack is local or network scoped and does not provide code execution. No EPSS score is available. The vulnerability is not listed in CISA KEV, indicating no known widespread exploits. However, because the flaw can cause the bridge to disable snooping, it poses a non‑trivial denial‑of‑service risk to multicast communications. The CVSS score is unspecified, but the impact on multicast traffic can be significant in many environments.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the fix in commit b57e8d870d52.
  • Reboot or otherwise reload the network bridge after the kernel update to ensure the new code is active.
  • Configure the bridge to limit multicast group creation or to reject multicast reports from untrusted hosts to mitigate the impact until a full kernel update is available.

Generated by OpenCVE AI on December 1, 2026 at 08:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-400
Type Values Removed Values Added
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.
Title bridge: mcast: Delete empty MDB entry when port group creation fails
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:32 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:32 PM