bisecting fixing commit since cbfa1702aaf69b2311ea1b35e04f113c48368c67 building syzkaller on 5abc3f1ab298244473b613c289f1536e366fcf04 testing commit cbfa1702aaf69b2311ea1b35e04f113c48368c67 with gcc (GCC) 8.4.1 20210217 kernel signature: 4821566eb9e3e96f2866d4ede1046f17c4fd76a58a5acf5d880cf3603486b5f8 all runs: crashed: kernel BUG in f2fs_evict_inode testing current HEAD 7d7d1c0ab3eb7c8d8f63a126535018007823b207 testing commit 7d7d1c0ab3eb7c8d8f63a126535018007823b207 with gcc (GCC) 8.4.1 20210217 kernel signature: 20db6b6ddd6e251a0f001c2d5c69216fe48ed921334fabee2ac7ac32c9cf38d2 run #0: crashed: kernel BUG in f2fs_evict_inode run #1: crashed: kernel BUG in f2fs_evict_inode run #2: crashed: kernel BUG in corrupted run #3: crashed: kernel BUG in f2fs_evict_inode run #4: crashed: kernel BUG in f2fs_evict_inode run #5: crashed: kernel BUG in f2fs_evict_inode run #6: crashed: kernel BUG in f2fs_evict_inode run #7: crashed: kernel BUG in f2fs_evict_inode run #8: crashed: kernel BUG in f2fs_evict_inode run #9: crashed: kernel BUG in f2fs_evict_inode revisions tested: 2, total time: 26m20.212989841s (build: 19m13.19889553s, test: 6m34.357582588s) the crash still happens on HEAD commit msg: Linux 4.14.232 crash: kernel BUG in f2fs_evict_inode IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready batman_adv: batadv0: Interface activated: batadv_slave_0 IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready ------------[ cut here ]------------ kernel BUG at fs/f2fs/inode.c:600! invalid opcode: 0000 [#1] PREEMPT SMP KASAN ieee80211 phy6: mac80211_hwsim_bss_info_changed(changed=0x10 vif->addr=02:00:00:00:06:00) Modules linked in: ieee80211 phy6: HT: op_mode=0xb CPU: 1 PID: 5782 Comm: syz-executor.2 Not tainted 4.14.232-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8881e88126c0 task.stack: ffff8881e8df0000 RIP: 0010:f2fs_evict_inode+0xc5c/0xf70 fs/f2fs/inode.c:600 RSP: 0018:ffff8881e8df7b48 EFLAGS: 00010202 RAX: 0000000000000142 RBX: ffff8881d497adc0 RCX: 0000000000000001 RDX: 1ffff110393f0b78 RSI: 0000000000000001 RDI: ffff8881d4b30144 RBP: ffff8881e8df7bc8 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000040 R12: ffff8881c9f85bc0 R13: ffff8881d497b200 R14: ffff8881d4b300c0 R15: ffff8881c9f857f0 FS: 0000000002526400(0000) GS:ffff8881f6700000(0000) knlGS:0000000000000000 ieee80211 phy7: mac80211_hwsim_start CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 CR2: 000055c88ddd4000 CR3: 00000001f281d002 CR4: 00000000001606e0 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211 phy7: mac80211_hwsim_add_interface (type=1 mac_addr=02:00:00:00:07:00) evict+0x29c/0x590 fs/inode.c:555 iput_final fs/inode.c:1524 [inline] iput fs/inode.c:1551 [inline] iput+0x3ac/0x810 fs/inode.c:1536 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 ieee80211 phy6: mac80211_hwsim_config (freq=2412(2412 - 0)/noht idle=0 ps=0 smps=static) generic_shutdown_super+0x61/0x330 fs/super.c:431 ieee80211 phy7: mac80211_hwsim_bss_info_changed(changed=0xe vif->addr=02:00:00:00:07:00) 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 fs/super.c:350 [inline] deactivate_super+0x7d/0x90 fs/super.c:346 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:0x466ae7 ieee80211 phy7: ERP_CTS_PROT: 0 RSP: 002b:00007ffc7bd6be88 EFLAGS: 00000246 ieee80211 phy6: mac80211_hwsim_config (freq=2412(2412 - 0)/noht idle=0 ps=0 smps=static) ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000466ae7 RDX: 00007ffc7bd6bf59 RSI: 0000000000000002 RDI: 00007ffc7bd6bf50 RBP: 00007ffc7bd6bf50 R08: 00000000ffffffff R09: 00007ffc7bd6bd20 R10: 00000000025278e3 R11: 0000000000000246 R12: 00000000004ae4b9 R13: 00007ffc7bd6d000 R14: 0000000002527810 R15: 0000000000000001 Code: c0 0f 85 20 f9 ff ff 48 c7 c2 20 08 fb 86 be 1d 01 00 00 48 c7 c7 80 08 fb 86 c6 05 76 78 ieee80211 phy6: mac80211_hwsim_bss_info_changed(changed=0x40000 vif->addr=02:00:00:00:06:00) 03 06 01 e8 74 ef a9 03 e9 fc f8 ff ff <0f> 0b e8 dd 28 d7 fe e9 e4 f4 ff ff 48 8b 7d a0 e8 cf 28 d7 fe RIP: f2fs_evict_inode+0xc5c/0xf70 fs/f2fs/inode.c:600 RSP: ffff8881e8df7b48 ---[ end trace f4e0d60b3717b439 ]--- ieee80211 phy7: ERP_PREAMBLE: 0