------------[ cut here ]------------ kernel BUG at net/sctp/auth.c:401! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 28001 Comm: syz-executor.2 Not tainted 5.14.0-rc2-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 1c f5 1c f9 44 89 e0 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 05 f5 1c f9 <0f> 0b e8 fe f4 1c f9 48 8b 44 24 08 48 c1 e8 03 42 80 3c 20 00 0f RSP: 0018:ffffc90017befc28 EFLAGS: 00010206 RAX: 0000000000000140 RBX: ffff8880224d69c8 RCX: ffffc9000e410000 RDX: 0000000000040000 RSI: ffffffff8858957b RDI: ffff8880224d69ea RBP: ffff8880224d6000 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8858bbd6 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8880224d69c8 R15: 0000000000000000 FS: 00007f1ff178b700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005250b0 CR3: 0000000028ec6000 CR4: 00000000001506e0 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:2170 __do_sys_setsockopt net/socket.c:2181 [inline] __se_sys_setsockopt net/socket.c:2178 [inline] __x64_sys_setsockopt+0xba/0x150 net/socket.c:2178 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:0x4665e9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1ff178b188 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000000000017 RSI: 0000000000000084 RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000066 R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffdd21246af R14: 00007f1ff178b300 R15: 0000000000022000 Modules linked in: ---[ end trace 6ff59c1d0e4224fa ]--- 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 1c f5 1c f9 44 89 e0 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 05 f5 1c f9 <0f> 0b e8 fe f4 1c f9 48 8b 44 24 08 48 c1 e8 03 42 80 3c 20 00 0f RSP: 0018:ffffc90017befc28 EFLAGS: 00010206 RAX: 0000000000000140 RBX: ffff8880224d69c8 RCX: ffffc9000e410000 RDX: 0000000000040000 RSI: ffffffff8858957b RDI: ffff8880224d69ea RBP: ffff8880224d6000 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8858bbd6 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8880224d69c8 R15: 0000000000000000 FS: 00007f1ff178b700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb27e160010 CR3: 0000000028ec6000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400