[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190422.221822.843228393584991897.davem@davemloft.net>
Date: Mon, 22 Apr 2019 22:18:22 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: idosch@...lanox.com
Cc: netdev@...r.kernel.org, bridge@...ts.linux-foundation.org,
nikolay@...ulusnetworks.com, roopa@...ulusnetworks.com,
mlxsw@...lanox.com, mmanning@...tta.att-mail.com
Subject: Re: [PATCH net-next] bridge: Fix possible use-after-free when
deleting bridge port
From: Ido Schimmel <idosch@...lanox.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@...lanox.com>
> Cc: Mike Manning <mmanning@...tta.att-mail.com>
Applied, thanks.
Powered by blists - more mailing lists