------------[ cut here ]------------ kernel BUG at net/sctp/auth.c:401! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8450 Comm: syz-executor112 Not tainted 5.14.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:sctp_auth_asoc_init_active_key.part.0+0x39b/0x550 net/sctp/auth.c:401 Code: 8b 1b 4c 39 eb 0f 85 d1 fe ff ff 45 31 e4 e8 5c aa 1f f9 44 89 e0 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 45 aa 1f f9 <0f> 0b e8 3e aa 1f f9 48 8b 44 24 08 48 c1 e8 03 42 80 3c 20 00 0f RSP: 0018:ffffc900018ffc28 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888033c409c8 RCX: 0000000000000000 RDX: ffff88801e488000 RSI: ffffffff8855dd7b RDI: ffff888033c409ea RBP: ffff888033c40000 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff885603d6 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888033c409c8 R15: 0000000000000000 FS: 00000000021a2300(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f02865d36c0 CR3: 000000003525d000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sctp_auth_asoc_init_active_key net/sctp/auth.c:392 [inline] sctp_auth_set_key+0x631/0x860 net/sctp/auth.c:864 sctp_setsockopt_auth_key net/sctp/socket.c:3643 [inline] sctp_setsockopt+0x4bbc/0xa880 net/sctp/socket.c:4686 __sys_setsockopt+0x2db/0x610 net/socket.c:2159 __do_sys_setsockopt net/socket.c:2170 [inline] __se_sys_setsockopt net/socket.c:2167 [inline] __x64_sys_setsockopt+0xba/0x150 net/socket.c:2167 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x43ef79 Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 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 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd4c33a788 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0100000000000000 RCX: 000000000043ef79 RDX: 0000000000000017 RSI: 0000000000000084 RDI: 0000000000000003 RBP: 0000000000402f60 R08: 0000000000000009 R09: 0000000000400488 R10: 0000000020000100 R11: 0000000000000246 R12: 0000000000402ff0 R13: 0000000000000000 R14: 00000000004ac018 R15: 0000000000400488 Modules linked in: ---[ end trace ce4a86ab3dcc2473 ]--- RIP: 0010:sctp_auth_asoc_init_active_key.part.0+0x39b/0x550 net/sctp/auth.c:401 Code: 8b 1b 4c 39 eb 0f 85 d1 fe ff ff 45 31 e4 e8 5c aa 1f f9 44 89 e0 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 45 aa 1f f9 <0f> 0b e8 3e aa 1f f9 48 8b 44 24 08 48 c1 e8 03 42 80 3c 20 00 0f RSP: 0018:ffffc900018ffc28 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888033c409c8 RCX: 0000000000000000 RDX: ffff88801e488000 RSI: ffffffff8855dd7b RDI: ffff888033c409ea RBP: ffff888033c40000 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff885603d6 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888033c409c8 R15: 0000000000000000 FS: 00000000021a2300(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f02865d36c0 CR3: 000000003525d000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400