[Bridge] [PATCH net-next] bridge: Fix possible use-after-free when deleting bridge port

David Miller davem at davemloft.net
Tue Apr 23 05:18:22 UTC 2019

From: Ido Schimmel <idosch at mellanox.com>
Date: Mon, 22 Apr 2019 09:33:19 +0000

> When a bridge port is being deleted, do not dereference it later in
> br_vlan_port_event() as it can result in a use-after-free [1] if the RCU
> callback was executed before invoking the function.
> [1]
> Fixes: 9c0ec2e7182a ("bridge: support binding vlan dev link state to vlan member bridge ports")
> Signed-off-by: Ido Schimmel <idosch at mellanox.com>
> Cc: Mike Manning <mmanning at vyatta.att-mail.com>

Applied, thanks.

More information about the Bridge mailing list