kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 24938 Comm: syz-executor.2 Not tainted 5.5.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:sctp_stream_free+0xe4/0x180 net/sctp/stream.c:183 Code: 07 48 89 d1 48 69 d2 aa 00 00 00 48 c1 e1 0c 48 29 d0 48 8d 04 40 48 8d 34 c1 e8 67 e7 53 fc 48 8d 78 08 48 89 fa 48 c1 ea 03 <42> 80 3c 32 00 75 6f 48 8b 78 08 e8 4c c8 76 fa 41 0f b6 45 00 84 RSP: 0018:ffffc900174d76b0 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff838fb6d6 RDX: 0000000000000001 RSI: ffffffff838fb750 RDI: 0000000000000008 RBP: ffffc900174d76e8 R08: ffff88809d5d4500 R09: fffffbfff1659bce R10: fffffbfff1659bcd R11: ffffffff8b2cde6f R12: ffff8880972886e8 R13: ffffed1012e510df R14: dffffc0000000000 R15: ffff8880972880a8 FS: 00000000020cd940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004d5090 CR3: 00000000a3126000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sctp_association_free+0x235/0x7e0 net/sctp/associola.c:350 sctp_cmd_delete_tcb net/sctp/sm_sideeffect.c:934 [inline] sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1322 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1189 [inline] sctp_do_sm+0x3a6a/0x5190 net/sctp/sm_sideeffect.c:1160 sctp_assoc_bh_rcv+0x3a9/0x700 net/sctp/associola.c:1045 sctp_inq_push+0x1e4/0x280 net/sctp/inqueue.c:80 sctp_backlog_rcv+0x222/0x1420 net/sctp/input.c:344 sk_backlog_rcv include/net/sock.h:954 [inline] __release_sock+0x129/0x390 net/core/sock.c:2437 release_sock+0x59/0x1c0 net/core/sock.c:2953 sctp_close+0x4ba/0x960 net/sctp/socket.c:1523 inet_release+0xed/0x200 net/ipv4/af_inet.c:427 inet6_release+0x53/0x80 net/ipv6/af_inet6.c:470 __sock_release+0xce/0x280 net/socket.c:592 sock_close+0x1e/0x30 net/socket.c:1270 __fput+0x2ff/0x890 fs/file_table.c:280 ____fput+0x16/0x20 fs/file_table.c:313 task_work_run+0x145/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x316/0x380 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x676/0x790 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4144b1 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 04 1b 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:0000000000a6fbf0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00000000004144b1 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000001 R08: 00000000c34fc4a7 R09: ffffffffffffffff R10: 0000000000a6fcd0 R11: 0000000000000293 R12: 000000000075c9a0 R13: 000000000075c9a0 R14: 00000000007607e0 R15: 000000000075bf2c Modules linked in: ---[ end trace 73df322a6f30a9a5 ]--- RIP: 0010:sctp_stream_free+0xe4/0x180 net/sctp/stream.c:183 Code: 07 48 89 d1 48 69 d2 aa 00 00 00 48 c1 e1 0c 48 29 d0 48 8d 04 40 48 8d 34 c1 e8 67 e7 53 fc 48 8d 78 08 48 89 fa 48 c1 ea 03 <42> 80 3c 32 00 75 6f 48 8b 78 08 e8 4c c8 76 fa 41 0f b6 45 00 84 RSP: 0018:ffffc900174d76b0 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff838fb6d6 RDX: 0000000000000001 RSI: ffffffff838fb750 RDI: 0000000000000008 RBP: ffffc900174d76e8 R08: ffff88809d5d4500 R09: fffffbfff1659bce R10: fffffbfff1659bcd R11: ffffffff8b2cde6f R12: ffff8880972886e8 R13: ffffed1012e510df R14: dffffc0000000000 R15: ffff8880972880a8 FS: 00000000020cd940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000075c000 CR3: 00000000a3126000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400