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

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

From: Eric Dumazet <edumazet@google.com>
Date: 2022-01-31 19:31:43

On Mon, Jan 31, 2022 at 11:28 AM Vlad Buslov [off-list ref] wrote:
Yeah, but I also didn't get how the "chain" variable can get reused in
that other function (tcf_new_tfilter()). It seems to always be
unconditionally assigned with return value of tcf_chain_get().
This is why I removed the chain=NULL initialization which is not needed.

The potential issue about replay was really about @q variable.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help