F2FS-fs (loop1): Mounted with checkpoint version = 48b305e5 F2FS-fs (loop1): f2fs_check_nid_range: out-of-range nid=1, run fsck to fix. F2FS-fs (loop1): f2fs_check_nid_range: out-of-range nid=2, run fsck to fix. ------------[ cut here ]------------ kernel BUG at fs/f2fs/node.c:1235! new mount options do not match the existing superblock, will be ignored ------------[ cut here ]------------ kernel BUG at fs/f2fs/node.c:1235! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 3613 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:f2fs_new_node_page+0x1942/0x1f40 fs/f2fs/node.c:1235 new mount options do not match the existing superblock, will be ignored Code: 8f f8 ff ff 4c 89 ef e8 4c 1f 7d fe e9 77 f7 ff ff e8 42 1f 7d fe e9 48 f3 ff ff e8 38 1f 7d fe e9 21 f7 ff ff e8 ce 42 47 fe <0f> 0b e8 c7 42 47 fe 4d 8d 75 ff e9 e8 f0 ff ff e8 b9 42 47 fe 48 RSP: 0018:ffff888094fa77e0 EFLAGS: 00010216 RAX: 0000000000040000 RBX: ffff888046475180 RCX: ffffc90006d26000 RDX: 0000000000000bc6 RSI: ffffffff831b42a2 RDI: 0000000000000005 RBP: ffffffff8b271190 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffffea00024b3e00 R13: 0000000000001002 R14: ffff888094fa7840 R15: 0000000000000000 FS: 00007f5568993700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d39af5c160 CR3: 00000000a9fef000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: f2fs_new_inode_page+0xc2/0x110 fs/f2fs/node.c:1209 f2fs_init_inode_metadata+0xcd/0x1430 fs/f2fs/dir.c:366 f2fs_do_tmpfile+0x3a/0x570 fs/f2fs/dir.c:656 __f2fs_tmpfile+0x179/0x3e0 fs/f2fs/namei.c:762 f2fs_tmpfile+0x15e/0x1d0 fs/f2fs/namei.c:811 vfs_tmpfile+0x208/0x370 fs/namei.c:3456 do_tmpfile fs/namei.c:3488 [inline] path_openat+0x1e02/0x2df0 fs/namei.c:3531 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f55714840f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5568993168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f55715a4050 RCX: 00007f55714840f9 RDX: 0000000000000000 RSI: 0000000000591002 RDI: 0000000020000100 RBP: 00007f55714dfae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe560e029f R14: 00007f5568993300 R15: 0000000000022000 Modules linked in: invalid opcode: 0000 [#2] PREEMPT SMP KASAN CPU: 0 PID: 3587 Comm: syz-executor.1 Tainted: G D 4.19.211-syzkaller #0 ---[ end trace 9009ea1567fe05e2 ]--- Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:f2fs_new_node_page+0x1942/0x1f40 fs/f2fs/node.c:1235 Code: 8f f8 ff ff 4c 89 ef e8 4c 1f 7d fe e9 77 f7 ff ff e8 42 1f 7d fe e9 48 f3 ff ff e8 38 1f 7d fe e9 21 f7 ff ff e8 ce 42 47 fe <0f> 0b e8 c7 42 47 fe 4d 8d 75 ff e9 e8 f0 ff ff e8 b9 42 47 fe 48 RIP: 0010:f2fs_new_node_page+0x1942/0x1f40 fs/f2fs/node.c:1235 RSP: 0018:ffff888042c17748 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff888046475180 RCX: ffffc90006924000 RDX: 0000000000040000 RSI: ffffffff831b42a2 RDI: 0000000000000005 RBP: ffffffff8b271190 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffffea0002534c40 R13: 0000000000001201 R14: ffff888042c177a8 R15: 0000000000000000 FS: 00007f556f9f6700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Code: 8f f8 ff ff 4c 89 ef e8 4c 1f 7d fe e9 77 f7 ff ff e8 42 1f 7d fe e9 48 f3 ff ff e8 38 1f 7d fe e9 21 f7 ff ff e8 ce 42 47 fe <0f> 0b e8 c7 42 47 fe 4d 8d 75 ff e9 e8 f0 ff ff e8 b9 42 47 fe 48 CR2: 00007f4d8792a018 CR3: 00000000a9fef000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: RSP: 0018:ffff888094fa77e0 EFLAGS: 00010216 f2fs_get_dnode_of_data+0x9f9/0x2260 fs/f2fs/node.c:765 RAX: 0000000000040000 RBX: ffff888046475180 RCX: ffffc90006d26000 f2fs_reserve_block+0x49/0x8d0 fs/f2fs/data.c:691 RDX: 0000000000000bc6 RSI: ffffffff831b42a2 RDI: 0000000000000005 f2fs_get_new_data_page+0xf9/0x1ae0 fs/f2fs/data.c:855 RBP: ffffffff8b271190 R08: 0000000000000000 R09: 0000000000000000 f2fs_add_regular_entry+0x468/0x1560 fs/f2fs/dir.c:537 R10: 0000000000000005 R11: 0000000000000000 R12: ffffea00024b3e00 R13: 0000000000001002 R14: ffff888094fa7840 R15: 0000000000000000 FS: 00007f5568993700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 f2fs_add_dentry+0x147/0x2f0 fs/f2fs/dir.c:604 f2fs_do_add_link+0x307/0x4f0 fs/f2fs/dir.c:644 f2fs_add_link fs/f2fs/f2fs.h:2862 [inline] f2fs_mkdir+0x339/0x610 fs/f2fs/namei.c:663 vfs_mkdir+0x508/0x7a0 fs/namei.c:3819 do_mkdirat+0x262/0x2d0 fs/namei.c:3842 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f55714840f9 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 CR2: 0000001b31e25000 CR3: 00000000a9fef000 CR4: 00000000003406e0 RSP: 002b:00007f556f9f6168 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 RAX: ffffffffffffffda RBX: 00007f55715a3f80 RCX: 00007f55714840f9 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 RDX: 0000000000000000 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f55714dfae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe560e029f R14: 00007f556f9f6300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 28 00 sub %al,(%rax) 2: 00 00 add %al,(%rax) 4: 75 05 jne 0xb 6: 48 83 c4 28 add $0x28,%rsp a: c3 retq b: e8 f1 19 00 00 callq 0x1a01 10: 90 nop 11: 48 89 f8 mov %rdi,%rax 14: 48 89 f7 mov %rsi,%rdi 17: 48 89 d6 mov %rdx,%rsi 1a: 48 89 ca mov %rcx,%rdx 1d: 4d 89 c2 mov %r8,%r10 20: 4d 89 c8 mov %r9,%r8 23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9 28: 0f 05 syscall * 2a: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 30: 73 01 jae 0x33 32: c3 retq 33: 48 c7 c1 b8 ff ff ff mov $0xffffffffffffffb8,%rcx 3a: f7 d8 neg %eax 3c: 64 89 01 mov %eax,%fs:(%rcx) 3f: 48 rex.W