Thread (11 messages) 11 messages, 3 authors, 2017-12-05

Re: [Patch net v2] tipc: fix a null pointer deref on error path

flat view

From: David Miller <davem@davemloft.net>
Date: 2017-12-05 19:53:41

From: Cong Wang <redacted>
Date: Mon,  4 Dec 2017 10:31:43 -0800
In tipc_topsrv_kern_subscr() when s->tipc_conn_new() fails
we call tipc_close_conn() to clean up, but in this case
calling conn_put() is just enough.

This fixes the folllowing crash:
 ...
Fixes: 14c04493cb77 ("tipc: add ability to order and receive topology events in driver")
Reported-by: syzbot <redacted>
Cc: Jon Maloy <redacted>
Cc: Ying Xue <redacted>
Signed-off-by: Cong Wang <redacted>
Applied and queued up for -stable.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help