[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175020303324.3735715.12082273700118012368.git-patchwork-notify@kernel.org>
Date: Tue, 17 Jun 2025 23:30:33 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Hyunwoo Kim <imv4bel@...il.com>
Cc: vinicius.gomes@...el.com, jhs@...atatu.com, xiyou.wangcong@...il.com,
jiri@...nulli.us, davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, horms@...nel.org, vladimir.oltean@....com,
netdev@...r.kernel.org, v4bel@...ori.io
Subject: Re: [PATCH v3] net/sched: fix use-after-free in taprio_dev_notifier
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Fri, 13 Jun 2025 20:54:57 -0400 you wrote:
> Since taprio’s taprio_dev_notifier() isn’t protected by an
> RCU read-side critical section, a race with advance_sched()
> can lead to a use-after-free.
>
> Adding rcu_read_lock() inside taprio_dev_notifier() prevents this.
>
> Fixes: fed87cc6718a ("net/sched: taprio: automatically calculate queueMaxSDU based on TC gate durations")
> Cc: stable@...r.kernel.org
> Signed-off-by: Hyunwoo Kim <imv4bel@...il.com>
>
> [...]
Here is the summary with links:
- [v3] net/sched: fix use-after-free in taprio_dev_notifier
https://git.kernel.org/netdev/net/c/b160766e26d4
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