Messages in this thread | | | Subject | Re: [PATCH net] net: bonding: fix use-after-free after 802.3ad slave unbind | From | patchwork-bot+netdevbpf@kernel ... | Date | Thu, 30 Jun 2022 04:00:13 +0000 |
| |
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
| |