bisecting fixing commit since ad326970d25cc85128cd22d62398751ad072efff building syzkaller on ff4a3345a1b2a40ff1b8b983153d0b1fcc72f1c5 testing commit ad326970d25cc85128cd22d62398751ad072efff with gcc (GCC) 8.4.1 20210217 kernel signature: f875d81f7e442ce12f0074454486318838c2e9fcd389c0872a63924d696a5123 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 remove_wait_queue 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 remove_wait_queue 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 corrupted run #16: crashed: BUG: corrupted list in corrupted run #17: crashed: BUG: corrupted list in corrupted run #18: crashed: BUG: corrupted list in remove_wait_queue run #19: crashed: BUG: corrupted list in corrupted testing current HEAD 78fec1611cbf7b0bdaddfdbf174a3a2463663bff testing commit 78fec1611cbf7b0bdaddfdbf174a3a2463663bff with gcc (GCC) 8.4.1 20210217 kernel signature: c8bb91d797d3fd73b269fded55786a0b5251a618023938761ab0fcb5889a84d5 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 remove_wait_queue run #6: crashed: BUG: corrupted list in remove_wait_queue run #7: crashed: BUG: corrupted list in corrupted run #8: crashed: BUG: corrupted list in corrupted run #9: crashed: BUG: corrupted list in corrupted revisions tested: 2, total time: 34m45.457199815s (build: 16m15.274431778s, test: 18m4.917906792s) the crash still happens on HEAD commit msg: Linux 4.19.183 crash: BUG: corrupted list in corrupted bond0 (unregistering): Releasing backup interface bond_slave_1 bond0 (unregistering): Releasing backup interface bond_slave_0 bond0 (unregistering): Released all slaves list_del corruption, ffff8881e130f640->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: 15257 Comm: syz-executor839 Not tainted 4.19.183-syzkaller #0 list_del corruption, ffff8881d209f640->next is LIST_POISON1 (dead000000000100) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ------------[ cut here ]------------ RIP: 0010:__list_del_entry_valid.cold.1+0x26/0x4a lib/list_debug.c:45 kernel BUG at lib/list_debug.c:47! Code: f8 ff 0f 0b 4c 89 e2 48 89 de 48 c7 c7 40 64 8b 87 e8 99 33 f8 ff 0f 0b 4c 89 ea 48 89 de 48 c7 c7 e0 63 8b 87 e8 85 33 f8 ff <0f> 0b 48 89 de 48 c7 c7 00 65 8b 87 e8 74 33 f8 ff 0f 0b 48 89 de RSP: 0018:ffff8881e130f4d0 EFLAGS: 00010086 RAX: 000000000000004e RBX: ffff8881e130f640 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff878b6140 RDI: ffffffff8a3e4aa0 RBP: ffff8881e130f4e8 R08: ffffed103ece5081 R09: ffffed103ece5080 R10: ffffed103ece5080 R11: ffff8881f6728407 R12: dead000000000200 R13: dead000000000100 R14: ffff8881e7c20600 R15: ffff8881d890c8c0 FS: 00007f942696c700(0000) GS:ffff8881f6700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004d0600 CR3: 00000001d898c006 CR4: 00000000001606e0 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:1317 tipc_sendmsg+0x4b/0x70 net/tipc/socket.c:1276 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xac/0xf0 net/socket.c:632 ___sys_sendmsg+0x28e/0x950 net/socket.c:2115 __sys_sendmmsg+0x160/0x370 net/socket.c:2210 __do_sys_sendmmsg net/socket.c:2239 [inline] __se_sys_sendmmsg net/socket.c:2236 [inline] __x64_sys_sendmmsg+0x98/0x100 net/socket.c:2236 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4459c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f942696c318 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00000000004ca428 RCX: 00000000004459c9 RDX: 08000000000000b0 RSI: 0000000020000a40 RDI: 0000000000000004 RBP: 00000000004ca420 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000049a064 R13: 00007fff0429a22f R14: 00007f942696c400 R15: 0000000000022000 Modules linked in: ---[ end trace f4add992862555ca ]--- 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: 15263 Comm: syz-executor839 Tainted: G D 4.19.183-syzkaller #0 Code: f8 ff 0f 0b 4c 89 e2 48 89 de 48 c7 c7 40 64 8b 87 e8 99 33 f8 ff 0f 0b 4c 89 ea 48 89 de 48 c7 c7 e0 63 8b 87 e8 85 33 f8 ff <0f> 0b 48 89 de 48 c7 c7 00 65 8b 87 e8 74 33 f8 ff 0f 0b 48 89 de Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RSP: 0018:ffff8881e130f4d0 EFLAGS: 00010086 RIP: 0010:__list_del_entry_valid.cold.1+0x26/0x4a lib/list_debug.c:45 RAX: 000000000000004e RBX: ffff8881e130f640 RCX: 0000000000000000 Code: f8 ff 0f 0b 4c 89 e2 48 89 de 48 c7 c7 40 64 8b 87 e8 99 33 f8 ff 0f 0b 4c 89 ea 48 89 de 48 c7 c7 e0 63 8b 87 e8 85 33 f8 ff <0f> 0b 48 89 de 48 c7 c7 00 65 8b 87 e8 74 33 f8 ff 0f 0b 48 89 de RDX: 0000000000000000 RSI: ffffffff878b6140 RDI: ffffffff8a3e4aa0 RSP: 0018:ffff8881d209f4d0 EFLAGS: 00010086 RBP: ffff8881e130f4e8 R08: ffffed103ece5081 R09: ffffed103ece5080 RAX: 000000000000004e RBX: ffff8881d209f640 RCX: 0000000000000001 R10: ffffed103ece5080 R11: ffff8881f6728407 R12: dead000000000200 RDX: 0000000000000000 RSI: ffffffff878b6140 RDI: ffffffff8a3e4aa0 R13: dead000000000100 R14: ffff8881e7c20600 R15: ffff8881d890c8c0 RBP: ffff8881d209f4e8 R08: ffffed103ecc5081 R09: ffffed103ecc5080 R10: ffffed103ecc5080 R11: ffff8881f6628407 R12: dead000000000200 FS: 00007f942696c700(0000) GS:ffff8881f6700000(0000) knlGS:0000000000000000 R13: dead000000000100 R14: ffff8881d8e2a000 R15: ffff8881d890c300 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 FS: 00007f942696c700(0000) GS:ffff8881f6600000(0000) knlGS:0000000000000000 CR2: 00000000004d0600 CR3: 00000001d898c006 CR4: 00000000001606e0 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 CR2: 00000000004d0600 CR3: 00000001dbf69005 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400