# CVE-2024-27415: netfilter: bridge: confirm multicast packets before passing them up the stack

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

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.36% (percentile 22, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2024-05-17T11:51:00.711Z
- **Modified:** 2026-08-05T11:29:44.276Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7c3f28599652acf431a2211168de4a583f30b6d5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2b1414d5e94e477edff1d2c79030f1d742625ea0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 80cd0487f630b5382734997c3e5e3003a77db315; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< cb734975b0ffa688ff6cc0eed463865bf07b6c01; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 62e7151ae3eb465e0ab52a20c941ff33bb6332e9
- Anyone running Linux 2.6.12

## Description

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

netfilter: bridge: confirm multicast packets before passing them up the stack

conntrack nf\_confirm logic cannot handle cloned skbs referencing
the same nf\_conn entry, which will happen for multicast (broadcast)
frames on bridges.

 Example:
    macvlan0
       \|
      br0
     /  \\
  ethX    ethY

 ethX (or Y) receives a L2 multicast or broadcast packet containing
 an IP packet, flow is not yet in conntrack table.

 1. skb passes through bridge and fake-ip (br\_netfilter)Prerouting.
    -\> skb-\>\_nfct now references a unconfirmed entry
 2. skb is broad/mcast packet. bridge now passes clones out on each bridge
    interface.
 3. skb gets passed up the stack.
 4. In macvlan case, macvlan driver retains clone(s) of the mcast skb
    and schedules a work queue to send them out on the lower devices.

    The clone skb-\>\_nfct is not a copy, it is the same entry as the
    original skb.  The macvlan rx handler then returns RX\_HANDLER\_PASS.
 5. Normal conntrack hooks (in NF\_INET\_LOCAL\_IN) confirm the orig skb.

The Macvlan broadcast worker and normal confirm path will race.

This race will not happen if step 2 already confirmed a clone. In that
case later steps perform skb\_clone() with skb-\>\_nfct already confirmed (in
hash table).  This works fine.

But such confirmation won't happen when eb/ip/nftables rules dropped the
packets before they reached the nf\_confirm step in postrouting.

Pablo points out that nf\_conntrack\_bridge doesn't allow use of stateful
nat, so we can safely discard the nf\_conn entry and let inet call
conntrack again.

This doesn't work for bridge netfilter: skb could have a nat
transformation. Also bridge nf prevents re-invocation of inet prerouting
via 'sabotage\_in' hook.

Work around this problem by explicit confirmation of the entry at LOCAL\_IN
time, before upper layer has a chance to clone the unconfirmed entry.

The downside is that this disables NAT and conntrack helpers.

Alternative fix would be to add locking to all code parts that deal with
unconfirmed packets, but even if that could be done in a sane way this
opens up other problems, for example:

-m physdev --physdev-out eth0 -j SNAT --snat-to 1.2.3.4
-m physdev --physdev-out eth1 -j SNAT --snat-to 1.2.3.5

For multicast case, only one of such conflicting mappings will be
created, conntrack only handles 1:1 NAT mappings.

Users should set create a setup that explicitly marks such traffic
NOTRACK (conntrack bypass) to avoid this, but we cannot auto-bypass
them, ruleset might have accept rules for untracked traffic already,
so user-visible behaviour would change.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7c3f28599652acf431a2211168de4a583f30b6d5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2b1414d5e94e477edff1d2c79030f1d742625ea0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 80cd0487f630b5382734997c3e5e3003a77db315; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< cb734975b0ffa688ff6cc0eed463865bf07b6c01; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 62e7151ae3eb465e0ab52a20c941ff33bb6332e9 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- Upgrade Linux to 62e7151ae3eb465e0ab52a20c941ff33bb6332e9 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-27415. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-27415.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7c3f28599652acf431a2211168de4a583f30b6d5; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2b1414d5e94e477edff1d2c79030f1d742625ea0; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 80cd0487f630b5382734997c3e5e3003a77db315; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 7c3f28599652acf431a2211168de4a583f30b6d5, Linux 2b1414d5e94e477edff1d2c79030f1d742625ea0, Linux 80cd0487f630b5382734997c3e5e3003a77db315, Linux 62e7151ae3eb465e0ab52a20c941ff33bb6332e9

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-2024-27415 being exploited?

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

### How serious is CVE-2024-27415?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-27415?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7c3f28599652acf431a2211168de4a583f30b6d5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2b1414d5e94e477edff1d2c79030f1d742625ea0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 80cd0487f630b5382734997c3e5e3003a77db315; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< cb734975b0ffa688ff6cc0eed463865bf07b6c01; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 62e7151ae3eb465e0ab52a20c941ff33bb6332e9; Linux 2.6.12.

### Is there a fix for CVE-2024-27415?

Yes. Fixed in Linux 7c3f28599652acf431a2211168de4a583f30b6d5, Linux 2b1414d5e94e477edff1d2c79030f1d742625ea0, Linux 80cd0487f630b5382734997c3e5e3003a77db315, Linux 62e7151ae3eb465e0ab52a20c941ff33bb6332e9. Upgrade Linux to 62e7151ae3eb465e0ab52a20c941ff33bb6332e9 or later.

### How do I check if I'm affected by CVE-2024-27415?

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/7c3f28599652acf431a2211168de4a583f30b6d5>
- patch: <https://git.kernel.org/stable/c/2b1414d5e94e477edff1d2c79030f1d742625ea0>
- patch: <https://git.kernel.org/stable/c/80cd0487f630b5382734997c3e5e3003a77db315>
- patch: <https://git.kernel.org/stable/c/cb734975b0ffa688ff6cc0eed463865bf07b6c01>
- patch: <https://git.kernel.org/stable/c/62e7151ae3eb465e0ab52a20c941ff33bb6332e9>

## 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-2024-27415>

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