[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190616.204240.717937021550114907.davem@davemloft.net>
Date: Sun, 16 Jun 2019 20:42:40 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: lucien.xin@...il.com
Cc: netdev@...r.kernel.org, jon.maloy@...csson.com,
ying.xue@...driver.com, tipc-discussion@...ts.sourceforge.net,
syzkaller-bugs@...glegroups.com
Subject: Re: [PATCH net] tipc: purge deferredq list for each grp member in
tipc_group_delete
From: Xin Long <lucien.xin@...il.com>
Date: Sun, 16 Jun 2019 17:24:07 +0800
> 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@...kaller.appspotmail.com
> Signed-off-by: Xin Long <lucien.xin@...il.com>
Applied, thanks.
Powered by blists - more mailing lists