bisecting fixing commit since ddef1e8e3f6eb26034833b7255e3fa584d54a230 building syzkaller on a41ca8fa8285754d8561dcc3ed54cca2da60eed7 testing commit ddef1e8e3f6eb26034833b7255e3fa584d54a230 with gcc (GCC) 8.1.0 kernel signature: cddde1ae70488fbe80b134f386ddfe892f162260ab3b6b8fe2f610e1e1ebd488 run #0: crashed: BUG: corrupted list in p9_fd_request run #1: crashed: BUG: corrupted list in p9_fd_request run #2: crashed: BUG: corrupted list in p9_write_work run #3: crashed: BUG: corrupted list in corrupted run #4: crashed: BUG: corrupted list in p9_fd_request run #5: crashed: BUG: corrupted list in p9_fd_request run #6: crashed: BUG: corrupted list in p9_fd_request run #7: crashed: BUG: corrupted list in p9_fd_request run #8: crashed: BUG: corrupted list in corrupted run #9: crashed: BUG: corrupted list in p9_fd_request testing current HEAD 78d697fc93f98054e36a3ab76dca1a88802ba7be testing commit 78d697fc93f98054e36a3ab76dca1a88802ba7be with gcc (GCC) 8.1.0 kernel signature: bbda2ec83baeb037c27df2679e4865f2de761c38b8795b9091060513030254f1 run #0: crashed: BUG: corrupted list in p9_conn_cancel run #1: crashed: BUG: corrupted list in p9_fd_request run #2: crashed: BUG: corrupted list in p9_fd_request run #3: crashed: BUG: corrupted list in p9_fd_request run #4: crashed: BUG: corrupted list in p9_fd_request run #5: crashed: BUG: corrupted list in p9_fd_request run #6: crashed: BUG: corrupted list in p9_fd_request run #7: crashed: BUG: corrupted list in corrupted run #8: crashed: BUG: corrupted list in p9_fd_request run #9: crashed: BUG: corrupted list in p9_fd_request revisions tested: 2, total time: 26m26.936533302s (build: 17m18.151985147s, test: 7m53.345461411s) the crash still happens on HEAD commit msg: Linux 4.14.172 crash: BUG: corrupted list in p9_fd_request IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready 8021q: adding VLAN 0 to HW filter on device batadv0 list_add double add: new=ffff88808c91a158, prev=ffff88808c91a158, next=ffff88809674f080. ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:31! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 10081 Comm: syz-executor.0 Not tainted 4.14.172-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88808b1e8540 task.stack: ffff88808da10000 RIP: 0010:__list_add_valid+0xaa/0xb0 lib/list_debug.c:29 RSP: 0018:ffff88808da179b0 EFLAGS: 00010282 RAX: 0000000000000058 RBX: ffff88809674f080 RCX: 0000000000000000 RDX: 0000000000000058 RSI: ffffffff868cf0a0 RDI: ffffed1011b42f2d RBP: ffff88808da179c8 R08: ffff88808b1e8e08 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000000 R12: ffff88808c91a158 R13: ffff88808c91a130 R14: ffff88808c91a158 R15: ffff88808c91a158 FS: 00007fd3158c7700(0000) GS:ffff8880aef00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001d48978 CR3: 000000009467d000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_add include/linux/list.h:60 [inline] list_add_tail include/linux/list.h:93 [inline] p9_fd_request+0xdd/0x2b0 net/9p/trans_fd.c:679 p9_client_rpc+0x1fd/0xe80 net/9p/client.c:774 p9_client_clunk+0x7b/0x120 net/9p/client.c:1507 v9fs_dentry_release+0x5e/0xc0 fs/9p/vfs_dentry.c:73 __dentry_kill+0x330/0x540 fs/dcache.c:596 dentry_kill fs/dcache.c:632 [inline] dput.part.27+0x49a/0x610 fs/dcache.c:847 dput fs/dcache.c:811 [inline] do_one_tree+0x36/0x40 fs/dcache.c:1507 shrink_dcache_for_umount+0x56/0x110 fs/dcache.c:1521 generic_shutdown_super+0x61/0x330 fs/super.c:431 kill_anon_super+0x37/0x50 fs/super.c:1006 v9fs_kill_super+0x39/0x90 fs/9p/vfs_super.c:230 deactivate_locked_super+0x62/0xb0 fs/super.c:319 deactivate_super+0x7d/0x90 fs/super.c:350 cleanup_mnt+0x9f/0x130 fs/namespace.c:1183 __cleanup_mnt+0xd/0x10 fs/namespace.c:1190 task_work_run+0xe5/0x170 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x16a/0x1b0 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x416/0x5b0 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459f49 RSP: 002b:00007fd3158c6c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000459f49 RDX: 0000000000000000 RSI: 000000000000000b RDI: 0000000020000140 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd3158c76d4 R13: 00000000004c9c3a R14: 00000000004e1860 R15: 00000000ffffffff Code: 75 e8 eb a9 48 89 f7 48 89 75 e8 e8 c1 e8 af fe 48 8b 75 e8 eb bb 48 89 f2 48 89 d9 4c 89 e6 48 c7 c7 20 de bc 86 e8 e3 44 76 fe <0f> 0b 0f 1f 40 00 48 b8 00 00 00 00 00 fc ff df 55 48 89 e5 41 RIP: __list_add_valid+0xaa/0xb0 lib/list_debug.c:29 RSP: ffff88808da179b0 ---[ end trace 168bd9750362526d ]---