bisecting fixing commit since ddef1e8e3f6eb26034833b7255e3fa584d54a230 building syzkaller on a41ca8fa8285754d8561dcc3ed54cca2da60eed7 testing commit ddef1e8e3f6eb26034833b7255e3fa584d54a230 with gcc (GCC) 8.1.0 kernel signature: ebaae54afa2696e9cab84488d9b8a5d399049897ecf4559e86af61e9084a21dc 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_fd_request run #3: crashed: BUG: corrupted list in corrupted run #4: crashed: BUG: corrupted list in p9_conn_cancel 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 p9_fd_request run #9: crashed: BUG: corrupted list in p9_fd_request testing current HEAD e0f8b8a65a473a8baa439cf865a694bbeb83fe90 testing commit e0f8b8a65a473a8baa439cf865a694bbeb83fe90 with gcc (GCC) 8.1.0 kernel signature: 32bd03fd84ed5e110a617f4073e0e8843dee0d4f8816a50f383fd9ba2ab296cf all runs: crashed: BUG: corrupted list in p9_fd_request revisions tested: 2, total time: 23m37.324421013s (build: 16m14.79694972s, test: 6m50.347116845s) the crash still happens on HEAD commit msg: Linux 4.14.170 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=ffff888091360258, prev=ffff888091360258, next=ffff8880a9ff2a40. ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:31! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 9939 Comm: syz-executor.5 Not tainted 4.14.170-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880a906e640 task.stack: ffff888094860000 RIP: 0010:__list_add_valid+0xaa/0xb0 lib/list_debug.c:29 RSP: 0018:ffff8880948679b0 EFLAGS: 00010282 RAX: 0000000000000058 RBX: ffff8880a9ff2a40 RCX: 0000000000000000 RDX: 0000000000000058 RSI: ffffffff868cf180 RDI: ffffed101290cf2d RBP: ffff8880948679c8 R08: ffff8880a906ef08 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000000 R12: ffff888091360258 R13: ffff888091360230 R14: ffff888091360258 R15: ffff888091360258 FS: 00007f6956ee2700(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001234978 CR3: 000000007f1f9000 CR4: 00000000001406f0 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:00007f6956ee1c78 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: 00007f6956ee26d4 R13: 00000000004c9c3a R14: 00000000004e1860 R15: 00000000ffffffff Code: 75 e8 eb a9 48 89 f7 48 89 75 e8 e8 f1 d9 af fe 48 8b 75 e8 eb bb 48 89 f2 48 89 d9 4c 89 e6 48 c7 c7 a0 dc bc 86 e8 83 33 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: ffff8880948679b0 ---[ end trace 9114bcd531a2a5a7 ]---