Xin Long
5cf02612b3
tipc: purge deferredq list for each grp member in tipc_group_delete
...
Syzbot reported a memleak caused by grp members' deferredq list not
purged when the grp is be deleted.
The issue occurs when more(msg_grp_bc_seqno(hdr), m->bc_rcv_nxt) in
tipc_group_filter_msg() and the skb will stay in deferredq.
So fix it by calling __skb_queue_purge for each member's deferredq
in tipc_group_delete() when a tipc sk leaves the grp.
Fixes: b87a5ea31c93 ("tipc: guarantee group unicast doesn't bypass group broadcast")
Reported-by: syzbot+78fbe679c8ca8d264a8d@syzkaller.appspotmail.com
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-06-16 20:42:05 -07:00
..
2019-05-30 11:26:41 -07:00
2019-05-30 11:29:21 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-16 14:22:37 -07:00
2019-05-09 09:44:17 -07:00
2019-05-21 10:50:46 +02:00
2019-05-30 11:29:53 -07:00
2019-05-21 10:50:46 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:29:22 -07:00
2019-06-07 23:03:54 +02:00
2019-05-21 10:50:46 +02:00
2019-06-16 14:15:58 -07:00
2019-05-30 11:29:52 -07:00
2019-05-30 11:26:32 -07:00
2019-05-24 17:36:42 +02:00
2019-05-21 10:50:46 +02:00
2019-06-07 09:29:14 -07:00
2019-05-30 11:26:32 -07:00
2019-05-23 09:29:44 -07:00
2019-05-30 11:26:41 -07:00
2019-05-21 10:50:46 +02:00
2019-06-16 14:15:07 -07:00
2019-06-12 11:00:11 -07:00
2019-05-30 11:26:32 -07:00
2019-05-21 10:50:46 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-24 17:27:12 +02:00
2019-05-28 17:25:23 -07:00
2019-06-14 09:36:51 -07:00
2019-05-30 11:26:41 -07:00
2019-06-12 09:42:34 -07:00
2019-05-30 11:26:32 -07:00
2019-05-31 08:34:32 -07:00
2019-05-21 11:28:45 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-14 08:48:08 -07:00
2019-05-21 10:50:46 +02:00
2019-06-11 11:54:01 -07:00
2019-06-07 09:29:14 -07:00
2019-05-21 12:33:38 -07:00
2019-05-21 10:50:46 +02:00
2019-05-22 08:28:16 -07:00
2019-06-06 10:32:16 -07:00
2019-05-21 11:28:45 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-14 19:29:57 -07:00
2019-06-14 19:27:24 -07:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-30 15:29:41 -04:00
2019-05-30 11:26:32 -07:00
2019-06-16 20:42:05 -07:00
2019-06-12 11:04:35 -07:00
2019-05-30 11:26:32 -07:00
2019-06-16 14:00:51 -07:00
2019-05-21 10:50:46 +02:00
2019-06-14 09:36:51 -07:00
2019-05-24 17:27:12 +02:00
2019-06-12 16:41:47 +02:00
2019-05-30 11:26:32 -07:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:46 +02:00
2019-02-28 08:24:23 -07:00
2019-05-30 11:26:32 -07:00
2019-05-21 10:50:45 +02:00