Thread (8 messages) 8 messages, 5 authors, 2022-04-01

Re: [PATCH net] net: sched: fix use-after-free in tc_new_tfilter()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-02-02 04:20:14

Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski [off-list ref]:

On Mon, 31 Jan 2022 09:20:18 -0800 you wrote:
From: Eric Dumazet <edumazet@google.com>

Whenever tc_new_tfilter() jumps back to replay: label,
we need to make sure @q and @chain local variables are cleared again,
or risk use-after-free as in [1]

For consistency, apply the same fix in tc_ctl_chain()

[...]
Here is the summary with links:
  - [net] net: sched: fix use-after-free in tc_new_tfilter()
    https://git.kernel.org/netdev/net/c/04c2a47ffb13

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help