general protection fault, probably for non-canonical address 0xdffffc0000000017: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000000b8-0x00000000000000bf] CPU: 1 PID: 7283 Comm: syz-executor883 Not tainted 5.7.0-rc1-next-20200415-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:sctp_ulpevent_nofity_peer_addr_change+0xed/0xa30 net/sctp/ulpevent.c:347 Code: 03 80 3c 02 00 0f 85 19 08 00 00 48 8b ab a8 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bd bc 00 00 00 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 70 RSP: 0018:ffffc90001a772f8 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: ffff888093764158 RCX: 0000000000000000 RDX: 0000000000000017 RSI: 0000000000000000 RDI: 00000000000000bc RBP: 0000000000000000 R08: ffff888091d98340 R09: ffffc90001a77348 R10: ffffc90001a773c7 R11: fffff5200034ee78 R12: 0000000000000000 R13: 0000000000000004 R14: 0000000000000000 R15: ffff888093764158 FS: 00007fbb62fb4700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000180 CR3: 00000000a8cec000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sctp_assoc_set_primary+0x6c/0x300 net/sctp/associola.c:435 sctp_assoc_rm_peer+0x822/0xa50 net/sctp/associola.c:508 sctp_assoc_update+0x50a/0xdf0 net/sctp/associola.c:1116 sctp_cmd_assoc_update net/sctp/sm_sideeffect.c:836 [inline] sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1305 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1185 [inline] sctp_do_sm+0x1e92/0x4eb0 net/sctp/sm_sideeffect.c:1156 sctp_assoc_bh_rcv+0x386/0x6d0 net/sctp/associola.c:1044 sctp_inq_push+0x1da/0x270 net/sctp/inqueue.c:80 sctp_backlog_rcv+0x1f3/0x12c0 net/sctp/input.c:344 sk_backlog_rcv include/net/sock.h:996 [inline] __release_sock+0x134/0x3a0 net/core/sock.c:2460 release_sock+0x54/0x1b0 net/core/sock.c:2976 sctp_wait_for_connect+0x300/0x530 net/sctp/socket.c:9295 __sctp_connect+0x9d2/0xc70 net/sctp/socket.c:1240 __sctp_setsockopt_connectx+0x12d/0x180 net/sctp/socket.c:1336 sctp_setsockopt_connectx net/sctp/socket.c:1368 [inline] sctp_setsockopt net/sctp/socket.c:4713 [inline] sctp_setsockopt+0x15a1/0x7090 net/sctp/socket.c:4670 __sys_setsockopt+0x248/0x480 net/socket.c:2132 __do_sys_setsockopt net/socket.c:2148 [inline] __se_sys_setsockopt net/socket.c:2145 [inline] __x64_sys_setsockopt+0xba/0x150 net/socket.c:2145 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x449e79 Code: e8 0c 1b 03 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 2b 0e fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fbb62fb3ce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00000000006e0c28 RCX: 0000000000449e79 RDX: 000000000000006e RSI: 0000000000000084 RDI: 0000000000000003 RBP: 00000000006e0c20 R08: 0000000000000020 R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 00000000006e0c2c R13: 00007fff4ed992ef R14: 00007fbb62fb49c0 R15: 00000000006e0c2c Modules linked in: ---[ end trace 713728bbf9efda83 ]--- RIP: 0010:sctp_ulpevent_nofity_peer_addr_change+0xed/0xa30 net/sctp/ulpevent.c:347 Code: 03 80 3c 02 00 0f 85 19 08 00 00 48 8b ab a8 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bd bc 00 00 00 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 70 RSP: 0018:ffffc90001a772f8 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: ffff888093764158 RCX: 0000000000000000 RDX: 0000000000000017 RSI: 0000000000000000 RDI: 00000000000000bc RBP: 0000000000000000 R08: ffff888091d98340 R09: ffffc90001a77348 R10: ffffc90001a773c7 R11: fffff5200034ee78 R12: 0000000000000000 R13: 0000000000000004 R14: 0000000000000000 R15: ffff888093764158 FS: 00007fbb62fb4700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5c8403e0d8 CR3: 00000000a8cec000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400