bisecting fixing commit since 9f84340f012ee60c12aacc03662bcdd67419a31a building syzkaller on 55aa55c24fe77aae07d530662f91b4d50c4990f0 testing commit 9f84340f012ee60c12aacc03662bcdd67419a31a compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 1cda804d3e0416528b3e76e5d7c6293e2663971829fed77263219dad788c21c9 run #0: crashed: BUG: corrupted list in remove_wait_queue run #1: crashed: BUG: corrupted list in remove_wait_queue run #2: crashed: BUG: corrupted list in corrupted run #3: crashed: BUG: corrupted list in remove_wait_queue run #4: crashed: BUG: corrupted list in remove_wait_queue run #5: crashed: BUG: corrupted list in corrupted run #6: crashed: BUG: corrupted list in remove_wait_queue run #7: crashed: BUG: corrupted list in remove_wait_queue run #8: crashed: BUG: corrupted list in remove_wait_queue run #9: crashed: BUG: corrupted list in remove_wait_queue run #10: crashed: BUG: corrupted list in corrupted run #11: crashed: BUG: corrupted list in remove_wait_queue run #12: crashed: BUG: corrupted list in remove_wait_queue run #13: crashed: BUG: corrupted list in corrupted run #14: crashed: BUG: corrupted list in remove_wait_queue run #15: crashed: BUG: corrupted list in remove_wait_queue run #16: crashed: BUG: corrupted list in remove_wait_queue run #17: crashed: BUG: corrupted list in remove_wait_queue run #18: crashed: BUG: corrupted list in remove_wait_queue run #19: crashed: BUG: corrupted list in corrupted testing current HEAD 53bd76690e27f37c9df221a651a52cea04214da9 testing commit 53bd76690e27f37c9df221a651a52cea04214da9 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: b73930a4a842faf5f71ea40205dd8d44048c696375ae1e55443a0ade8ec7e688 run #0: crashed: BUG: corrupted list in remove_wait_queue run #1: crashed: BUG: corrupted list in remove_wait_queue run #2: crashed: BUG: corrupted list in remove_wait_queue run #3: crashed: BUG: corrupted list in remove_wait_queue run #4: crashed: BUG: corrupted list in remove_wait_queue run #5: crashed: BUG: corrupted list in corrupted run #6: crashed: BUG: corrupted list in remove_wait_queue run #7: crashed: BUG: corrupted list in remove_wait_queue run #8: crashed: BUG: corrupted list in remove_wait_queue run #9: crashed: BUG: corrupted list in remove_wait_queue revisions tested: 2, total time: 23m20.789503252s (build: 16m42.890440105s, test: 6m13.864415533s) the crash still happens on HEAD commit msg: Linux 4.19.200 crash: BUG: corrupted list in remove_wait_queue IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready list_del corruption, ffff88809b977640->next is LIST_POISON1 (dead000000000100) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:47! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 9911 Comm: syz-executor.5 Not tainted 4.19.200-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__list_del_entry_valid.cold.1+0x26/0x4a lib/list_debug.c:45 Code: f7 ff 0f 0b 4c 89 e2 48 89 de 48 c7 c7 80 24 50 88 e8 72 fb f7 ff 0f 0b 4c 89 ea 48 89 de 48 c7 c7 20 24 50 88 e8 5e fb f7 ff <0f> 0b 48 89 de 48 c7 c7 40 25 50 88 e8 4d fb f7 ff 0f 0b 48 89 de RSP: 0018:ffff88809b9774d0 EFLAGS: 00010086 RAX: 000000000000004e RBX: ffff88809b977640 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff88502180 RDI: ffffffff8bada720 RBP: ffff88809b9774e8 R08: ffffed1017464e99 R09: ffffed1017464e98 R10: ffffed1017464e98 R11: ffff8880ba3274c7 R12: dead000000000200 R13: dead000000000100 R14: ffff888098fe4e40 R15: ffff8880a4684600 FS: 00007fee71ac1700(0000) GS:ffff8880ba300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000529330 CR3: 00000000975a4000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_del_entry include/linux/list.h:117 [inline] list_del include/linux/list.h:125 [inline] __remove_wait_queue include/linux/wait.h:184 [inline] remove_wait_queue+0x30/0x1b0 kernel/sched/wait.c:44 tipc_send_group_bcast+0x33a/0xa10 net/tipc/socket.c:1022 tipc_send_group_mcast net/tipc/socket.c:1109 [inline] __tipc_sendmsg+0x449/0x12c0 net/tipc/socket.c:1320 tipc_sendmsg+0x4b/0x70 net/tipc/socket.c:1279 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xac/0xf0 net/socket.c:661 ___sys_sendmsg+0x28e/0x950 net/socket.c:2225 __sys_sendmmsg+0x160/0x370 net/socket.c:2320 __do_sys_sendmmsg net/socket.c:2349 [inline] __se_sys_sendmmsg net/socket.c:2346 [inline] __x64_sys_sendmmsg+0x98/0x100 net/socket.c:2346 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe list_del corruption, ffff88808cc9f640->next is LIST_POISON1 (dead000000000100) RIP: 0033:0x4665d9 ------------[ cut here ]------------ 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 kernel BUG at lib/list_debug.c:47! RSP: 002b:00007fee71ac1188 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 080000000000010b RSI: 0000000020000a40 RDI: 0000000000000003 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fff51d325df R14: 00007fee71ac1300 R15: 0000000000022000 Modules linked in: ---[ end trace 28c0f752df8f4592 ]--- invalid opcode: 0000 [#2] PREEMPT SMP KASAN RIP: 0010:__list_del_entry_valid.cold.1+0x26/0x4a lib/list_debug.c:45 CPU: 0 PID: 9956 Comm: syz-executor.1 Tainted: G D 4.19.200-syzkaller #0 Code: f7 ff 0f 0b 4c 89 e2 48 89 de 48 c7 c7 80 24 50 88 e8 72 fb f7 ff 0f 0b 4c 89 ea 48 89 de 48 c7 c7 20 24 50 88 e8 5e fb f7 ff <0f> 0b 48 89 de 48 c7 c7 40 25 50 88 e8 4d fb f7 ff 0f 0b 48 89 de Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RSP: 0018:ffff88809b9774d0 EFLAGS: 00010086 RIP: 0010:__list_del_entry_valid.cold.1+0x26/0x4a lib/list_debug.c:45 RAX: 000000000000004e RBX: ffff88809b977640 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff88502180 RDI: ffffffff8bada720 RBP: ffff88809b9774e8 R08: ffffed1017464e99 R09: ffffed1017464e98 R10: ffffed1017464e98 R11: ffff8880ba3274c7 R12: dead000000000200 R13: dead000000000100 R14: ffff888098fe4e40 R15: ffff8880a4684600 FS: 00007fee71ac1700(0000) GS:ffff8880ba300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000529330 CR3: 00000000975a4000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400