F2FS-fs (loop4): Mounted with checkpoint version = 753bd00b ------------[ cut here ]------------ kernel BUG at fs/f2fs/checkpoint.c:91! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 8041 Comm: syz-executor.4 Not tainted 4.14.305-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 task: ffff8880a2472200 task.stack: ffff8880a2788000 RIP: 0010:__get_meta_page+0x860/0x940 fs/f2fs/checkpoint.c:91 RSP: 0018:ffff8880a278f840 EFLAGS: 00010297 RAX: ffff8880a2472200 RBX: dffffc0000000000 RCX: 1ffff1101448e56f RDX: 0000000000000000 RSI: 0000000000000007 RDI: ffff88809136c3c0 RBP: 0000000000901280 R08: ffffffff8b9ce720 R09: 0000000000000006 R10: 0000000000000000 R11: ffff8880a2472200 R12: ffffea0002a48a00 R13: ffff888042294a00 R14: ffff88808dc28a40 R15: ffffea0002a48a20 FS: 0000555555cb3400(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30a22000 CR3: 00000000a1d7b000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: get_next_nat_page fs/f2fs/node.c:137 [inline] __flush_nat_entry_set fs/f2fs/node.c:2480 [inline] flush_nat_entries+0xe16/0x25e0 fs/f2fs/node.c:2571 write_checkpoint+0x311/0x45f0 fs/f2fs/checkpoint.c:1411 f2fs_sync_fs+0x178/0x3f0 fs/f2fs/super.c:873 __sync_filesystem fs/sync.c:39 [inline] sync_filesystem fs/sync.c:67 [inline] sync_filesystem+0x185/0x230 fs/sync.c:48 generic_shutdown_super+0x70/0x370 fs/super.c:432 kill_block_super+0x95/0xe0 fs/super.c:1161 deactivate_locked_super+0x6c/0xd0 fs/super.c:319 deactivate_super+0x7f/0xa0 fs/super.c:350 cleanup_mnt+0x186/0x2c0 fs/namespace.c:1183 task_work_run+0x11f/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1ad/0x200 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+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f080491a567 RSP: 002b:00007ffdc321e7c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f080491a567 RDX: 00007ffdc321e898 RSI: 000000000000000a RDI: 00007ffdc321e890 RBP: 00007ffdc321e890 R08: 00000000ffffffff R09: 00007ffdc321e660 R10: 0000555555cb48e3 R11: 0000000000000246 R12: 00007f0804973b24 R13: 00007ffdc321f950 R14: 0000555555cb4810 R15: 00007ffdc321f990 Code: f6 48 c1 e7 29 48 c1 e0 27 ba 00 10 00 00 4c 01 e7 48 c1 ff 06 48 c1 e7 0c 48 01 c7 e8 ba 01 b8 fe 31 f6 4c 89 f7 e8 50 f6 ff ff <0f> 0b 48 89 df e8 a6 0e b8 fe e9 32 fa ff ff e8 9c 0e b8 fe e9 RIP: __get_meta_page+0x860/0x940 fs/f2fs/checkpoint.c:91 RSP: ffff8880a278f840 ---[ end trace da7f5c12ca72bed2 ]---