summaryrefslogtreecommitdiffstats
path: root/arch/parisc/mm
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2018-12-10 15:23:30 -0800
committerDavid S. Miller <davem@davemloft.net>2018-12-14 13:28:03 -0800
commitfb83ed496b9a654f60cd1d58a0e1e79ec5694808 (patch)
tree98e8d8c50854c2648a2d076417e522e64efc3b82 /arch/parisc/mm
parentacb4a33e9856d5fa3384b87d3d8369229be06d31 (diff)
downloadlinux-fb83ed496b9a654f60cd1d58a0e1e79ec5694808.tar.gz
linux-fb83ed496b9a654f60cd1d58a0e1e79ec5694808.tar.bz2
linux-fb83ed496b9a654f60cd1d58a0e1e79ec5694808.zip
tipc: compare remote and local protocols in tipc_udp_enable()
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+eb4da3a20fad2e52555d@syzkaller.appspotmail.com Cc: Ying Xue <ying.xue@windriver.com> Cc: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Acked-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/parisc/mm')
0 files changed, 0 insertions, 0 deletions