bisecting fixing commit since cbfa1702aaf69b2311ea1b35e04f113c48368c67 building syzkaller on 5abc3f1ab298244473b613c289f1536e366fcf04 testing commit cbfa1702aaf69b2311ea1b35e04f113c48368c67 with gcc (GCC) 8.1.0 kernel signature: f72feda155b8263958376a30e66db916d48e9f9ca87795dab1dbfa5857823c04 all runs: crashed: kernel BUG at fs/f2fs/inode.c:LINE! testing current HEAD 87335852c5d9ec629f80bb2257b9a9945962b719 testing commit 87335852c5d9ec629f80bb2257b9a9945962b719 with gcc (GCC) 8.1.0 kernel signature: be6961db73e35105f678c59e4d767cc30c9fc8ff5d8c1ad0e61f9ae255bd99d2 all runs: crashed: kernel BUG at fs/f2fs/inode.c:LINE! revisions tested: 2, total time: 24m10.191785774s (build: 18m0.848212036s, test: 5m36.927991032s) the crash still happens on HEAD commit msg: Linux 4.14.209 crash: kernel BUG at fs/f2fs/inode.c:LINE! F2FS-fs (loop0): invalid crc value IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 ------------[ cut here ]------------ batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! kernel BUG at fs/f2fs/inode.c:600! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 CPU: 1 PID: 5811 Comm: syz-executor.2 Not tainted 4.14.209-syzkaller #0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8881e80e4080 task.stack: ffff8881e7f38000 RIP: 0010:f2fs_evict_inode+0xc5c/0xf70 fs/f2fs/inode.c:600 RSP: 0018:ffff8881e7f3fb48 EFLAGS: 00010202 RAX: 0000000000000142 RBX: ffff8881f3f06e80 RCX: 0000000000000001 RDX: 1ffff1103927f778 RSI: 0000000000000001 RDI: ffff8881f3e5c484 RBP: ffff8881e7f3fbc8 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000040 R12: ffff8881c93fbbc0 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 R13: ffff8881f3f072c0 R14: ffff8881f3e5c400 R15: ffff8881c93fb7f0 FS: 0000000001b58940(0000) GS:ffff8881f6700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d0bface000 CR3: 00000001ddd41004 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: evict+0x29c/0x590 fs/inode.c:555 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! iput_final fs/inode.c:1524 [inline] iput+0x3ac/0x810 fs/inode.c:1551 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 dentry_unlink_inode+0x22d/0x2e0 fs/dcache.c:387 __dentry_kill+0x2d2/0x540 fs/dcache.c:591 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! dentry_kill fs/dcache.c:632 [inline] dput.part.6+0x491/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_block_super+0x96/0xe0 fs/super.c:1161 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 kill_f2fs_super+0x8d/0xb0 fs/f2fs/super.c:2786 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+0x14a/0x190 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+0x46/0xbb RIP: 0033:0x4607c7 RSP: 002b:00007ffe4b55c0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 000000000000ba51 RCX: 00000000004607c7 RDX: 0000000000403158 RSI: 0000000000000002 RDI: 00007ffe4b55c190 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000009 R10: 0000000000000005 R11: 0000000000000246 R12: 00007ffe4b55d220 R13: 0000000001b59a60 R14: 0000000000000000 R15: 00007ffe4b55d220 Code: c0 0f 85 20 f9 ff ff 48 c7 c2 20 eb fa 86 be 1d 01 00 00 48 c7 c7 80 eb fa 86 c6 05 4d f2 fd 05 01 e8 d1 f7 96 fe e9 fc f8 ff ff <0f> 0b e8 6d fa d3 fe e9 e4 f4 ff ff 48 8b 7d a0 e8 5f fa d3 fe RIP: f2fs_evict_inode+0xc5c/0xf70 fs/f2fs/inode.c:600 RSP: ffff8881e7f3fb48 ---[ end trace edff22173c0366a4 ]--- batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!