F2FS-fs (loop2): Found nat_bits in checkpoint F2FS-fs (loop2): Mounted with checkpoint version = 48b305e5 ------------[ cut here ]------------ kernel BUG at fs/f2fs/node.c:1069! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 9530 Comm: syz-executor.2 Not tainted 4.14.305-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 task: ffff88804e464200 task.stack: ffff88804e468000 RIP: 0010:new_node_page+0xd1d/0x1180 fs/f2fs/node.c:1069 RSP: 0018:ffff88804e46f410 EFLAGS: 00010212 RAX: 0000000000040000 RBX: ffff88804e46f6a0 RCX: ffffc900063e2000 RDX: 0000000000000a8b RSI: ffffffff82cb436d RDI: ffff8880af933298 RBP: ffff88809e60cec0 R08: 0000000000000001 R09: 0000000000000003 R10: 0000000000000000 R11: 0000000000000000 R12: ffffea000253abc0 R13: 00000000000007f9 R14: ffff88804e46f458 R15: 0000000000000001 FS: 00007f387eb83700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3221bf2740 CR3: 000000008f86f000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: get_dnode_of_data+0x8fb/0x1ca0 fs/f2fs/node.c:633 f2fs_reserve_block+0x49/0x6c0 fs/f2fs/data.c:604 get_new_data_page+0xe6/0x1310 fs/f2fs/data.c:767 f2fs_add_regular_entry+0x42a/0xfb0 fs/f2fs/dir.c:544 __f2fs_do_add_link+0x255/0x2f0 fs/f2fs/dir.c:608 __f2fs_add_link+0x304/0x4e0 fs/f2fs/dir.c:649 f2fs_add_link fs/f2fs/f2fs.h:2501 [inline] f2fs_create+0x454/0x710 fs/f2fs/namei.c:197 lookup_open+0x77a/0x1750 fs/namei.c:3241 do_last fs/namei.c:3334 [inline] path_openat+0xe08/0x2970 fs/namei.c:3571 do_filp_open+0x179/0x3c0 fs/namei.c:3605 do_sys_open+0x296/0x410 fs/open.c:1081 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f38806110f9 RSP: 002b:00007f387eb83168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f3880730f80 RCX: 00007f38806110f9 RDX: 0000000000000000 RSI: 0000000000143142 RDI: 0000000020002000 RBP: 00007f388066cae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe94ee014f R14: 00007f387eb83300 R15: 0000000000022000 Code: 00 44 89 ad 78 04 00 00 be 01 00 00 00 48 89 ef e8 99 a3 f7 ff e9 ea fc ff ff 49 c7 c4 ff ff ff ff e9 de fc ff ff e8 43 13 8a fe <0f> 0b 48 89 44 24 10 e8 37 13 8a fe 48 8b 44 24 10 4c 8d 70 ff RIP: new_node_page+0xd1d/0x1180 fs/f2fs/node.c:1069 RSP: ffff88804e46f410 ---[ end trace c8943241278bf953 ]---