[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163300500736.24074.11602716887495391799.git-patchwork-notify@kernel.org>
Date: Thu, 30 Sep 2021 12:30:07 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Vlad Buslov <vladbu@...dia.com>
Cc: davem@...emloft.net, kuba@...nel.org, xiyou.wangcong@...il.com,
jhs@...atatu.com, jiri@...nulli.us, netdev@...r.kernel.org
Subject: Re: [PATCH net] net: sched: flower: protect fl_walk() with rcu
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Wed, 29 Sep 2021 18:08:49 +0300 you wrote:
> Patch that refactored fl_walk() to use idr_for_each_entry_continue_ul()
> also removed rcu protection of individual filters which causes following
> use-after-free when filter is deleted concurrently. Fix fl_walk() to obtain
> rcu read lock while iterating and taking the filter reference and temporary
> release the lock while calling arg->fn() callback that can sleep.
>
> KASAN trace:
>
> [...]
Here is the summary with links:
- [net] net: sched: flower: protect fl_walk() with rcu
https://git.kernel.org/netdev/net/c/d5ef190693a7
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists