syzbot


kernel BUG in sctp_auth_asoc_init_active_key

Status: closed as invalid on 2021/10/04 21:06
Subsystems: sctp
[Documentation on labels]
First crash: 980d, last: 965d
Cause bisection: introduced by (bisect log) [no-op commit]:
commit b9fc8b4a591811546fec2dbef7e9f809362100c9
Author: Grant Seltzer <grantseltzer@gmail.com>
Date: Mon Feb 22 19:58:46 2021 +0000

  bpf: Add kernel/modules BTF presence checks to bpftool feature command

Crash: WARNING in kvm_wait (log)
Repro: C syz .config
  
Fix bisection the fix commit could be any of (bisect log):
  161dcc024288 net: ixp46x: fix ptp build failure
  0c0383918a3e net: hns3: make hclgevf_cmd_caps_bit_map0 and hclge_cmd_caps_bit_map0 static
  

Sample crash report:
------------[ 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

Crashes (106):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/07/21 18:57 net-old 161dcc024288 29c3f20f .config console log report syz C ci-upstream-net-this-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/08/05 14:07 upstream 251a1524293d 7f7bb950 .config console log report info ci-upstream-kasan-gce-smack-root kernel BUG in sctp_auth_asoc_init_active_key
2021/07/31 20:47 upstream c7d102232649 6c236867 .config console log report info ci-upstream-kasan-gce-smack-root kernel BUG in sctp_auth_asoc_init_active_key
2021/07/27 12:33 upstream ff1176468d36 fd511809 .config console log report info ci-upstream-kasan-gce-smack-root kernel BUG in sctp_auth_asoc_init_active_key
2021/07/26 20:41 upstream ff1176468d36 fd511809 .config console log report info ci-upstream-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/07/26 00:16 upstream d8079fac1681 4d1b57d4 .config console log report info ci-upstream-kasan-gce-selinux-root kernel BUG in sctp_auth_asoc_init_active_key
2021/07/25 18:55 upstream 7ffca2bb9d8b 4d1b57d4 .config console log report info ci-upstream-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/07/24 20:40 upstream f0fddcec6b62 4d1b57d4 .config console log report info ci-upstream-kasan-gce-root kernel BUG in sctp_auth_asoc_init_active_key
2021/07/24 13:40 upstream f0fddcec6b62 4d1b57d4 .config console log report info ci-upstream-kasan-gce-selinux-root kernel BUG in sctp_auth_asoc_init_active_key
2021/07/24 13:36 upstream f0fddcec6b62 4d1b57d4 .config console log report info ci-upstream-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/07/24 13:36 upstream f0fddcec6b62 4d1b57d4 .config console log report info ci-upstream-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/07/24 01:51 upstream 8baef6386baa bc5f1d88 .config console log report info ci-upstream-kasan-gce-selinux-root kernel BUG in sctp_auth_asoc_init_active_key
2021/07/24 01:00 upstream 8baef6386baa bc5f1d88 .config console log report info ci-upstream-kasan-gce-smack-root kernel BUG in sctp_auth_asoc_init_active_key
2021/07/23 22:50 upstream 8baef6386baa bc5f1d88 .config console log report info ci-upstream-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/07/23 22:36 upstream 8baef6386baa bc5f1d88 .config console log report info ci-upstream-kasan-gce-smack-root kernel BUG in sctp_auth_asoc_init_active_key
2021/07/23 22:15 upstream 9bead1b58c4c bc5f1d88 .config console log report info ci-upstream-kasan-gce-selinux-root kernel BUG in sctp_auth_asoc_init_active_key
2021/07/23 21:39 upstream 8baef6386baa bc5f1d88 .config console log report info ci-upstream-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/07/23 05:02 upstream 9bead1b58c4c bc5f1d88 .config console log report info ci-upstream-kasan-gce-selinux-root kernel BUG in sctp_auth_asoc_init_active_key
2021/07/23 05:02 upstream 9bead1b58c4c bc5f1d88 .config console log report info ci-upstream-kasan-gce-smack-root kernel BUG in sctp_auth_asoc_init_active_key
2021/07/23 04:39 upstream 9bead1b58c4c bc5f1d88 .config console log report info ci-upstream-kasan-gce-selinux-root kernel BUG in sctp_auth_asoc_init_active_key
2021/07/23 04:14 upstream 9bead1b58c4c bc5f1d88 .config console log report info ci-upstream-kasan-gce-root kernel BUG in sctp_auth_asoc_init_active_key
2021/07/23 03:45 upstream 9bead1b58c4c bc5f1d88 .config console log report info ci-upstream-kasan-gce-root kernel BUG in sctp_auth_asoc_init_active_key
2021/07/23 03:43 upstream 9bead1b58c4c bc5f1d88 .config console log report info ci-upstream-kasan-gce-root kernel BUG in sctp_auth_asoc_init_active_key
2021/07/23 03:19 upstream 9bead1b58c4c bc5f1d88 .config console log report info ci-upstream-kasan-gce-smack-root kernel BUG in sctp_auth_asoc_init_active_key
2021/07/23 03:10 upstream 9bead1b58c4c bc5f1d88 .config console log report info ci-upstream-kasan-gce-selinux-root kernel BUG in sctp_auth_asoc_init_active_key
2021/07/23 02:41 upstream 9bead1b58c4c bc5f1d88 .config console log report info ci-upstream-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/07/23 02:37 upstream 9bead1b58c4c bc5f1d88 .config console log report info ci-upstream-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/07/29 16:14 upstream 4010a528219e b44001ce .config console log report info ci-upstream-kasan-gce-386 kernel BUG in sctp_auth_asoc_init_active_key
2021/07/28 06:54 upstream 7d549995d4e0 17d6ab15 .config console log report info ci-upstream-kasan-gce-386 kernel BUG in sctp_auth_asoc_init_active_key
2021/07/23 05:49 upstream 9bead1b58c4c bc5f1d88 .config console log report info ci-qemu-upstream-386 kernel BUG in sctp_auth_asoc_init_active_key
2021/08/02 12:22 net-old 1159e25c1374 6c236867 .config console log report info ci-upstream-net-this-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/07/31 08:00 net-old 8d67041228ac 6c236867 .config console log report info ci-upstream-net-this-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/07/27 14:21 net-old 758684e49f4c fd511809 .config console log report info ci-upstream-net-this-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/07/24 19:09 net-old 5aa1959d1800 4d1b57d4 .config console log report info ci-upstream-net-this-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/07/21 17:12 net-old 161dcc024288 29c3f20f .config console log report info ci-upstream-net-this-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/08/05 03:08 net-next-old c2eecaa193ff b97d64c9 .config console log report info ci-upstream-net-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/07/31 19:39 net-next-old 3e12361b6d23 6c236867 .config console log report info ci-upstream-net-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/07/31 15:37 net-next-old 3e12361b6d23 6c236867 .config console log report info ci-upstream-net-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/07/30 12:40 net-next-old 3e12361b6d23 c585c7b0 .config console log report info ci-upstream-net-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/07/30 06:36 net-next-old 3e12361b6d23 c585c7b0 .config console log report info ci-upstream-net-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/07/29 16:04 net-next-old 883d71a55e96 b44001ce .config console log report info ci-upstream-net-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/07/27 09:37 net-next-old 268ca4129d8d fd511809 .config console log report info ci-upstream-net-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/07/26 18:31 net-next-old 9d32e4e7e9e1 fd511809 .config console log report info ci-upstream-net-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/07/26 16:53 net-next-old 9d32e4e7e9e1 fd511809 .config console log report info ci-upstream-net-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/07/26 04:33 net-next-old cc19862ffe45 4d1b57d4 .config console log report info ci-upstream-net-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/07/25 04:03 net-next-old c5381154393d 4d1b57d4 .config console log report info ci-upstream-net-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/07/25 01:06 net-next-old facfbf4f0b5a 4d1b57d4 .config console log report info ci-upstream-net-kasan-gce kernel BUG in sctp_auth_asoc_init_active_key
2021/08/01 20:38 linux-next 8d4b477da1a8 6c236867 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in sctp_auth_asoc_init_active_key
2021/07/30 23:10 linux-next 8d4b477da1a8 6c236867 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in sctp_auth_asoc_init_active_key
2021/07/27 23:48 linux-next 42d0b5f52c9b 17d6ab15 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in sctp_auth_asoc_init_active_key
2021/07/24 13:41 linux-next 90d856e71443 4d1b57d4 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in sctp_auth_asoc_init_active_key
2021/07/24 07:59 linux-next 90d856e71443 bc5f1d88 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in sctp_auth_asoc_init_active_key
* Struck through repros no longer work on HEAD.