lkml.org 
[lkml]   [2022]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH net] net: bonding: fix use-after-free after 802.3ad slave unbind
From
Date
Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 29 Jun 2022 04:29:14 +0300 you wrote:
> commit 0622cab0341c ("bonding: fix 802.3ad aggregator reselection"),
> resolve case, when there is several aggregation groups in the same bond.
> bond_3ad_unbind_slave will invalidate (clear) aggregator when
> __agg_active_ports return zero. So, ad_clear_agg can be executed even, when
> num_of_ports!=0. Than bond_3ad_unbind_slave can be executed again for,
> previously cleared aggregator. NOTE: at this time bond_3ad_unbind_slave
> will not update slave ports list, because lag_ports==NULL. So, here we
> got slave ports, pointing to freed aggregator memory.
>
> [...]

Here is the summary with links:
- [net] net: bonding: fix use-after-free after 802.3ad slave unbind
https://git.kernel.org/netdev/net/c/050133e1aa2c

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


\
 
 \ /
  Last update: 2022-06-30 06:01    [W:0.053 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site