------------[ cut here ]------------ kernel BUG at net/sctp/auth.c:401! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 10445 Comm: syz-executor.3 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 dc 90 1f f9 44 89 e0 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 c5 90 1f f9 <0f> 0b e8 be 90 1f f9 48 8b 44 24 08 48 c1 e8 03 42 80 3c 20 00 0f RSP: 0018:ffffc90016b07c28 EFLAGS: 00010216 RAX: 0000000000000129 RBX: ffff8880394889c8 RCX: ffffc9001026a000 RDX: 0000000000040000 RSI: ffffffff8855f80b RDI: ffff8880394889ea RBP: ffff888039488000 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff88561e66 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8880394889c8 R15: 0000000000000000 FS: 00007fbedfd56700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004e4da2 CR3: 000000005fb91000 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: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: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:00007fbedfd56188 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000000000017 RSI: 0000000000000084 RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000009 R09: 0000000000000000 R10: 0000000020000080 R11: 0000000000000246 R12: 000000000056bf80 R13: 0000000000a9fb1f R14: 00007fbedfd56300 R15: 0000000000022000 Modules linked in: ---[ end trace 2485d3c72af00882 ]--- 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 dc 90 1f f9 44 89 e0 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 c5 90 1f f9 <0f> 0b e8 be 90 1f f9 48 8b 44 24 08 48 c1 e8 03 42 80 3c 20 00 0f RSP: 0018:ffffc90016b07c28 EFLAGS: 00010216 RAX: 0000000000000129 RBX: ffff8880394889c8 RCX: ffffc9001026a000 RDX: 0000000000040000 RSI: ffffffff8855f80b RDI: ffff8880394889ea RBP: ffff888039488000 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff88561e66 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8880394889c8 R15: 0000000000000000 FS: 00007fbedfd56700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a2d0f02000 CR3: 000000005fb91000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400