bisecting fixing commit since cbfa1702aaf69b2311ea1b35e04f113c48368c67 building syzkaller on 5abc3f1ab298244473b613c289f1536e366fcf04 testing commit cbfa1702aaf69b2311ea1b35e04f113c48368c67 with gcc (GCC) 8.1.0 kernel signature: 3926ae0c8d1ef880582e0db12d105f14afcb66a4bb558a464c02209953616f9c all runs: crashed: kernel BUG at fs/f2fs/inode.c:LINE! testing current HEAD 2b79150141611d3c6e1b55d4e70f49602482f0b8 testing commit 2b79150141611d3c6e1b55d4e70f49602482f0b8 with gcc (GCC) 8.1.0 kernel signature: cdaecebefe64c28573b3941107c40cc2396fcf5c52887c09c27c3c72fc84188d all runs: crashed: kernel BUG at fs/f2fs/inode.c:LINE! revisions tested: 2, total time: 22m46.30174384s (build: 16m11.972137843s, test: 5m53.661434358s) the crash still happens on HEAD commit msg: Linux 4.14.203 crash: kernel BUG at fs/f2fs/inode.c:LINE! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! ------------[ cut here ]------------ kernel BUG at fs/f2fs/inode.c:600! IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready invalid opcode: 0000 [#1] PREEMPT SMP KASAN batman_adv: batadv0: Interface activated: batadv_slave_1 Modules linked in: ieee80211 phy5: mac80211_hwsim_start CPU: 0 PID: 6512 Comm: syz-executor.4 Not tainted 4.14.203-syzkaller #0 ieee80211 phy5: mac80211_hwsim_add_interface (type=1 mac_addr=02:00:00:00:05:00) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ieee80211 phy5: mac80211_hwsim_bss_info_changed(changed=0xe vif->addr=02:00:00:00:05:00) task: ffff8880b1b2e340 task.stack: ffff8880b5798000 ieee80211 phy5: ERP_CTS_PROT: 0 RIP: 0010:f2fs_evict_inode+0xc5c/0xf70 fs/f2fs/inode.c:600 RSP: 0018:ffff8880b579fb48 EFLAGS: 00010202 RAX: 0000000000000142 RBX: ffff88809d150e40 RCX: 0000000000000001 RDX: 1ffff11011878578 RSI: 0000000000000001 RDI: ffff88809c6f2384 RBP: ffff8880b579fbc8 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000040 R12: ffff88808c3c2bc0 R13: ffff88809d151280 R14: ffff88809c6f2300 R15: ffff88808c3c27f0 FS: 0000000001a6d940(0000) GS:ffff8880ba800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001a76a98 CR3: 0000000096aed000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: evict+0x29c/0x590 fs/inode.c:555 ieee80211 phy5: ERP_PREAMBLE: 0 iput_final fs/inode.c:1524 [inline] iput+0x3ac/0x810 fs/inode.c:1551 ieee80211 phy5: ERP_SLOT: 0 dentry_unlink_inode+0x22d/0x2e0 fs/dcache.c:387 __dentry_kill+0x2d2/0x540 fs/dcache.c:591 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 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 ieee80211 phy5: mac80211_hwsim_conf_tx (queue=0 txop=47 cw_min=3 cw_max=7 aifs=2) ieee80211 phy5: mac80211_hwsim_conf_tx (queue=1 txop=94 cw_min=7 cw_max=15 aifs=2) entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x4607c7 RSP: 002b:00007ffc54ae2a38 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00000000004607c7 RDX: 0000000000403158 RSI: 0000000000000002 RDI: 00007ffc54ae2ae0 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000009 R10: 0000000000000005 R11: 0000000000000246 R12: 00007ffc54ae3b70 R13: 0000000001a6ea60 R14: 0000000000000000 R15: 00007ffc54ae3b70 Code: c0 0f 85 20 f9 ff ff 48 c7 c2 a0 ea fa 86 be 1d 01 00 00 48 c7 c7 00 eb fa 86 c6 05 ed 0c fe 05 ieee80211 phy5: mac80211_hwsim_conf_tx (queue=2 txop=0 cw_min=15 cw_max=1023 aifs=3) 01 ieee80211 phy5: mac80211_hwsim_conf_tx (queue=3 txop=0 cw_min=15 cw_max=1023 aifs=7) e8 ieee80211 phy5: mac80211_hwsim_bss_info_changed(changed=0x2000 vif->addr=02:00:00:00:05:00) 11 ieee80211 phy5: mac80211_hwsim_config (freq=2412(2412 - 0)/noht idle=1 ps=0 smps=static) fd 96 fe e9 fc f8 ff ff <0f> 0b e8 1d 01 d4 fe e9 e4 f4 ff ff 48 8b 7d a0 e8 0f 01 d4 fe RIP: f2fs_evict_inode+0xc5c/0xf70 fs/f2fs/inode.c:600 RSP: ffff8880b579fb48 ---[ end trace 260260d2663a2c57 ]--- ieee80211 phy5: mac80211_hwsim_configure_filter