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: 1 PID: 8536 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:flex_array_get+0x27/0x250 lib/flex_array.c:320 Code: 90 90 90 41 56 41 55 41 54 55 89 f5 53 48 89 fb 48 83 ec 08 e8 1a a0 ee fd 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e b7 01 00 00 44 8b 2b 31 ff 44 RSP: 0018:ffff8880479a79e0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90005e0d000 RDX: 0000000000000000 RSI: ffffffff8373e556 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88809a3447a8 R13: 0000000000000000 R14: ffff8880a449a780 R15: 1ffff110134688f9 FS: 00007f959acfb700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f223000 CR3: 000000009b6a2000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sctp_stream_out include/net/sctp/structs.h:1474 [inline] sctp_sched_dequeue_done+0x1f8/0x2e0 net/sctp/stream_sched.c:255 __sctp_outq_teardown+0x6cc/0xc20 net/sctp/outqueue.c:268 sctp_association_free+0x212/0x7b0 net/sctp/associola.c:361 sctp_cmd_delete_tcb net/sctp/sm_sideeffect.c:944 [inline] sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1332 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1199 [inline] sctp_do_sm+0x39ee/0x5110 net/sctp/sm_sideeffect.c:1170 sctp_primitive_SHUTDOWN+0x9b/0xc0 net/sctp/primitive.c:104 sctp_shutdown+0x12b/0x170 net/sctp/socket.c:4868 inet_shutdown+0x1a8/0x3a0 net/ipv4/af_inet.c:870 __sys_shutdown+0xf3/0x1a0 net/socket.c:2077 __do_sys_shutdown net/socket.c:2085 [inline] __se_sys_shutdown net/socket.c:2083 [inline] __x64_sys_shutdown+0x50/0x70 net/socket.c:2083 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f959c7aa0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f959acfb168 EFLAGS: 00000246 ORIG_RAX: 0000000000000030 RAX: ffffffffffffffda RBX: 00007f959c8ca050 RCX: 00007f959c7aa0c9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000004 RBP: 00007f959c805ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe35e6466f R14: 00007f959acfb300 R15: 0000000000022000 Modules linked in: ---[ end trace 1456f570c1ed3d68 ]--- RIP: 0010:flex_array_get+0x27/0x250 lib/flex_array.c:320 Code: 90 90 90 41 56 41 55 41 54 55 89 f5 53 48 89 fb 48 83 ec 08 e8 1a a0 ee fd 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e b7 01 00 00 44 8b 2b 31 ff 44 RSP: 0018:ffff8880479a79e0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90005e0d000 RDX: 0000000000000000 RSI: ffffffff8373e556 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88809a3447a8 audit: type=1804 audit(1673743816.924:1191): pid=8562 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir697474085/syzkaller.Pu41jc/1040/bus" dev="sda1" ino=14607 res=1 R13: 0000000000000000 R14: ffff8880a449a780 R15: 1ffff110134688f9 FS: 00007f959acfb700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000009b6a2000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess): 0: 90 nop 1: 90 nop 2: 90 nop 3: 41 56 push %r14 5: 41 55 push %r13 7: 41 54 push %r12 9: 55 push %rbp a: 89 f5 mov %esi,%ebp c: 53 push %rbx d: 48 89 fb mov %rdi,%rbx 10: 48 83 ec 08 sub $0x8,%rsp 14: e8 1a a0 ee fd callq 0xfdeea033 19: 48 89 da mov %rbx,%rdx 1c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 23: fc ff df 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 74 08 je 0x3a 32: 3c 03 cmp $0x3,%al 34: 0f 8e b7 01 00 00 jle 0x1f1 3a: 44 8b 2b mov (%rbx),%r13d 3d: 31 ff xor %edi,%edi 3f: 44 rex.R