From: Cong Wang <xiyou.wangc...@gmail.com> Date: Mon, 10 Dec 2018 15:23:30 -0800
> When TIPC_NLA_UDP_REMOTE is an IPv6 mcast address but > TIPC_NLA_UDP_LOCAL is an IPv4 address, a NULL-ptr deref is triggered > as the UDP tunnel sock is initialized to IPv4 or IPv6 sock merely > based on the protocol in local address. > > We should just error out when the remote address and local address > have different protocols. > > Reported-by: syzbot+eb4da3a20fad2e525...@syzkaller.appspotmail.com > Cc: Ying Xue <ying....@windriver.com> > Cc: Jon Maloy <jon.ma...@ericsson.com> > Signed-off-by: Cong Wang <xiyou.wangc...@gmail.com> Applied and queued up for -stable, thanks.