CVE-2024-26837
net: bridge: switchdev: Skip MDB replays of deferred events on offload
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 4f2673b3a2b6246729a1ff13b8945a040839dbd3, < 2d5b4b3376fa146a23917b8577064906d643925f; >= 4f2673b3a2b6246729a1ff13b8945a040839dbd3, < 603be95437e7fd85ba694e75918067fb9e7754db; >= 4f2673b3a2b6246729a1ff13b8945a040839dbd3, < e0b4c5b1d760008f1dd18c07c35af0442e54f9c8; >= 4f2673b3a2b6246729a1ff13b8945a040839dbd3, < dc489f86257cab5056e747344f17a164f63bff4b
- Anyone running Linux 5.13
Vulnerability facts
- Affected
- Linux >= 4f2673b3a2b6246729a1ff13b8945a040839dbd3, < 2d5b4b3376fa146a23917b8577064906d643925f; >= 4f2673b3a2b6246729a1ff13b8945a040839dbd3, < 603be95437e7fd85ba694e75918067fb9e7754db; >= 4f2673b3a2b6246729a1ff13b8945a040839dbd3, < e0b4c5b1d760008f1dd18c07c35af0442e54f9c8; >= 4f2673b3a2b6246729a1ff13b8945a040839dbd3, < dc489f86257cab5056e747344f17a164f63bff4b; Linux 5.13
- Fixed in
- Linux 2d5b4b3376fa146a23917b8577064906d643925f, Linux 603be95437e7fd85ba694e75918067fb9e7754db
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 4.7 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.22% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- CWE
- CWE-362
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: net: bridge: switchdev: Skip MDB replays of deferred events on offload Before this change, generation of the list of MDB events to replay would race against the creation of new group memberships, either from the IGMP/MLD snooping logic or from user configuration. While new memberships are immediately visible to walkers of br->mdb_list, the notification of their existence to switchdev event subscribers is deferred until a later point in time. So if a replay list was generated during a time that overlapped with such a window, it would also contain a replay of the not-yet-delivered event. The driver would thus receive two copies of what the bridge internally considered to be one single event. On destruction of the bridge, only a single membership deletion event was therefore sent. As a consequence of this, drivers which reference count memberships (at least DSA), would be left with orphan groups in their hardware database when the bridge was destroyed. This is only an issue when replaying additions. While deletion events may still be pending on the deferred queue, they will already have been removed from br->mdb_list, so no duplicates can be generated in that scenario. To a user this meant that old group memberships, from a bridge in which a port was previously attached, could be reanimated (in hardware) when the port joined a new bridge, without the new bridge's knowledge. For example, on an mv88e6xxx system, create a snooping bridge and immediately add a port to it: root@infix-06-0b-00:~$ ip link add dev br0 up type bridge mcast_snooping 1 && \ > ip link set dev x3 up master br0 And then destroy the bridge: root@infix-06-0b-00:~$ ip link del dev br0 root@infix-06-0b-00:~$ mvls atu ADDRESS FID STATE Q F 0 1 2 3 4 5 6 7 8 9 a DEV:0 Marvell 88E6393X 33:33:00:00:00:6a 1 static - - 0 . . . . . . . . . . 33:33:ff:87:e4:3f 1 static - - 0 . . . . . . . . . . ff:ff:ff:ff:ff:ff 1 static - - 0 1 2 3 4 5 6 7 8 9 a root@infix-06-0b-00:~$ The two IPv6 groups remain in the hardware database because the port (x3) is notified of the host's membership twice: once via the original event and once via a replay. Since only a single delete notification is sent, the count remains at 1 when the bridge is destroyed. Then add the same port (or another port belonging to the same hardware domain) to a new bridge, this time with snooping disabled: root@infix-06-0b-00:~$ ip link add dev br1 up type bridge mcast_snooping 0 && \ > ip link set dev x3 up master br1 All multicast, including the two IPv6 groups from br0, should now be flooded, according to the policy of br1. But instead the old memberships are still active in the hardware database, causing the switch to only forward traffic to those groups towards the CPU (port 0). Eliminate the race in two steps: 1. Grab the write-side lock of the MDB while generating the replay list. This prevents new memberships from showing up while we are generating the replay list. But it leaves the scenario in which a deferred event was already generated, but not delivered, before we grabbed the lock. Therefore: 2. Make sure that no deferred version of a replay event is already enqueued to the switchdev deferred queue, before adding it to the replay list, when replaying additions.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 4f2673b3a2b6246729a1ff13b8945a040839dbd3, < 2d5b4b3376fa146a23917b8577064906d643925f; >= 4f2673b3a2b6246729a1ff13b8945a040839dbd3, < 603be95437e7fd85ba694e75918067fb9e7754db; >= 4f2673b3a2b6246729a1ff13b8945a040839dbd3, < e0b4c5b1d760008f1dd18c07c35af0442e54f9c8; >= 4f2673b3a2b6246729a1ff13b8945a040839dbd3, < dc489f86257cab5056e747344f17a164f63bff4b | — | cvelist |
| Linux | 5.13 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-26837. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-26837.md Affected: Linux >= 4f2673b3a2b6246729a1ff13b8945a040839dbd3, < 2d5b4b3376fa146a23917b8577064906d643925f; >= 4f2673b3a2b6246729a1ff13b8945a040839dbd3, < 603be95437e7fd85ba694e75918067fb9e7754db; >= 4f2673b3a2b6246729a1ff13b8945a040839dbd3, < e0b4c5b1d760008f1dd18c07c35af0442e54f9c8; >= 4f2673b3a2b6246729a1ff1… Fixed in: Linux 2d5b4b3376fa146a23917b8577064906d643925f, Linux 603be95437e7fd85ba694e75918067fb9e7754db 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.
References
FAQ
Is CVE-2024-26837 being exploited?
There is no confirmed exploitation: CVE-2024-26837 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-2024-26837?
Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2024-26837?
Linux >= 4f2673b3a2b6246729a1ff13b8945a040839dbd3, < 2d5b4b3376fa146a23917b8577064906d643925f; >= 4f2673b3a2b6246729a1ff13b8945a040839dbd3, < 603be95437e7fd85ba694e75918067fb9e7754db; >= 4f2673b3a2b6246729a1ff13b8945a040839dbd3, < e0b4c5b1d760008f1dd18c07c35af0442e54f9c8; >= 4f2673b3a2b6246729a1ff13b8945a040839dbd3, < dc489f86257cab5056e747344f17a164f63bff4b; Linux 5.13.
Is there a fix for CVE-2024-26837?
Yes. Fixed in Linux 2d5b4b3376fa146a23917b8577064906d643925f, Linux 603be95437e7fd85ba694e75918067fb9e7754db. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-26837?
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.