bisecting fixing commit since 14cfdbd39e316efd91ae6e403ef8211f0b022603 building syzkaller on 68660b21c27c417771037b3f1fe4aa072cfdeef9 testing commit 14cfdbd39e316efd91ae6e403ef8211f0b022603 with gcc (GCC) 8.1.0 kernel signature: 2a0bc43d75cc6fcc97194e3a42a980624bf114ba143f198f165d039e3f5fb85f run #0: crashed: kernel BUG at net/sctp/sm_sideeffect.c:LINE! run #1: crashed: kernel BUG at net/sctp/sm_sideeffect.c:LINE! run #2: crashed: kernel BUG at net/sctp/sm_sideeffect.c:LINE! run #3: crashed: kernel BUG at net/sctp/sm_sideeffect.c:LINE! run #4: crashed: kernel BUG at net/sctp/sm_sideeffect.c:LINE! run #5: crashed: kernel BUG at net/sctp/sm_sideeffect.c:LINE! run #6: crashed: kernel BUG at net/sctp/sm_sideeffect.c:LINE! run #7: crashed: kernel BUG at net/sctp/sm_sideeffect.c:LINE! run #8: OK run #9: OK testing current HEAD d18b78abc0c6e7d3119367c931c583e02d466495 testing commit d18b78abc0c6e7d3119367c931c583e02d466495 with gcc (GCC) 8.1.0 kernel signature: 689082ed1a0c43f009aec6bf1f003c717cdb480ab8396f49d898b6c3cce16e14 run #0: crashed: kernel BUG at net/sctp/sm_sideeffect.c:LINE! run #1: crashed: kernel BUG at net/sctp/sm_sideeffect.c:LINE! run #2: crashed: kernel BUG at net/sctp/sm_sideeffect.c:LINE! run #3: crashed: kernel BUG at net/sctp/sm_sideeffect.c:LINE! run #4: crashed: kernel BUG at net/sctp/sm_sideeffect.c:LINE! run #5: crashed: kernel BUG at net/sctp/sm_sideeffect.c:LINE! run #6: crashed: kernel BUG at net/sctp/sm_sideeffect.c:LINE! run #7: crashed: kernel BUG at net/sctp/sm_sideeffect.c:LINE! run #8: OK run #9: OK revisions tested: 2, total time: 40m54.463429331s (build: 19m27.185815552s, test: 19m59.888973235s) the crash still happens on HEAD commit msg: Linux 4.19.141 crash: kernel BUG at net/sctp/sm_sideeffect.c:LINE! IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready batman_adv: batadv0: Interface activated: batadv_slave_1 IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready ------------[ cut here ]------------ kernel BUG at net/sctp/sm_sideeffect.c:1538! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8009 Comm: syz-executor.5 Not tainted 4.19.141-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1538 [inline] RIP: 0010:sctp_side_effects net/sctp/sm_sideeffect.c:1199 [inline] RIP: 0010:sctp_do_sm+0x3a42/0x5040 net/sctp/sm_sideeffect.c:1170 Code: 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 74 08 3c 03 0f 8e d0 12 00 00 f6 83 b0 02 00 00 40 0f 85 7e e5 ff ff e9 a8 e5 ff ff <0f> 0b 49 8d 7d 12 48 89 fa 48 89 f9 48 c1 ea 03 83 e1 07 42 0f b6 RSP: 0018:ffff888091507958 EFLAGS: 00010246 RAX: ffff8880a7796bb0 RBX: ffff8880a77967c0 RCX: ffff8880a7796df0 RDX: 1ffff11014ef2d53 RSI: 0000000000000012 RDI: ffff8880a7796a98 RBP: ffff888091507c10 R08: ffff888091507b38 R09: ffff8880887357e8 R10: ffffed10110e4e08 R11: ffff888088727047 R12: 0000000000000000 R13: ffff888091507b78 R14: dffffc0000000000 R15: ffff888091507be8 FS: 00007febd46f1700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd84951dac CR3: 00000000a761f000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sctp_primitive_SHUTDOWN+0x7c/0xc0 net/sctp/primitive.c:104 sctp_close+0x354/0x750 net/sctp/socket.c:1560 inet_release+0xb4/0x1b0 net/ipv4/af_inet.c:427 inet6_release+0x46/0x60 net/ipv6/af_inet6.c:472 __sock_release+0xc2/0x290 net/socket.c:579 sock_close+0x10/0x20 net/socket.c:1140 __fput+0x249/0x7f0 fs/file_table.c:278 ____fput+0x9/0x10 fs/file_table.c:309 task_work_run+0x108/0x180 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x1a9/0x200 arch/x86/entry/common.c:167 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x413/0x4e0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c8c9 Code: 2d b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 fb b5 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007febd46f0c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: 0000000000000015 RBX: 00007febd46f16d4 RCX: 000000000045c8c9 RDX: 000000000000006e RSI: 0000000000000084 RDI: 0000000000000004 RBP: 000000000076bf00 R08: 0000000000000020 R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000ade R14: 00000000004d71b8 R15: 000000000076bf0c Modules linked in: ---[ end trace 59696fdd233c2b30 ]--- RIP: 0010:sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1538 [inline] RIP: 0010:sctp_side_effects net/sctp/sm_sideeffect.c:1199 [inline] RIP: 0010:sctp_do_sm+0x3a42/0x5040 net/sctp/sm_sideeffect.c:1170 Code: 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 74 08 3c 03 0f 8e d0 12 00 00 f6 83 b0 02 00 00 40 0f 85 7e e5 ff ff e9 a8 e5 ff ff <0f> 0b 49 8d 7d 12 48 89 fa 48 89 f9 48 c1 ea 03 83 e1 07 42 0f b6 RSP: 0018:ffff888091507958 EFLAGS: 00010246 RAX: ffff8880a7796bb0 RBX: ffff8880a77967c0 RCX: ffff8880a7796df0 RDX: 1ffff11014ef2d53 RSI: 0000000000000012 RDI: ffff8880a7796a98 RBP: ffff888091507c10 R08: ffff888091507b38 R09: ffff8880887357e8 R10: ffffed10110e4e08 R11: ffff888088727047 R12: 0000000000000000 R13: ffff888091507b78 R14: dffffc0000000000 R15: ffff888091507be8 FS: 00007febd46f1700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005587b1439970 CR3: 00000000a761f000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400