loop5: detected capacity change from 0 to 264192 F2FS-fs (loop5): invalid crc_offset: 0 F2FS-fs (loop5): Found nat_bits in checkpoint F2FS-fs (loop5): Mounted with checkpoint version = 3651456e BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor instruction fetch in kernel mode #PF: error_code(0x0010) - not-present page PGD 1c9a2067 P4D 1c9a2067 PUD 1d3c6067 PMD 0 Oops: 0010 [#1] PREEMPT SMP KASAN CPU: 1 PID: 20061 Comm: syz-executor.5 Not tainted 6.0.0-syzkaller-09423-g493ffd6605b2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0018:ffffc90004a176d8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffffea0002143540 RCX: ffff8880280c5880 RDX: 0000000000000000 RSI: ffffea0002143540 RDI: ffff88808f809798 RBP: ffffc90004a178f0 R08: ffffffff81b5b45b R09: fffff940004286a9 R10: fffff940004286a9 R11: 1ffffd40004286a8 R12: ffff888078f29310 R13: 0000000000000001 R14: ffff88803a056000 R15: ffff88803b808000 FS: 00007f8e3666c700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 0000000017fd9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: f2fs_update_meta_page+0x45/0x60 fs/f2fs/segment.c:2369 do_checkpoint+0x1d62/0x40f0 fs/f2fs/checkpoint.c:1517 f2fs_write_checkpoint+0x15af/0x1d70 fs/f2fs/checkpoint.c:1679 f2fs_issue_checkpoint+0x309/0x4a0 sync_filesystem+0x1bc/0x220 fs/sync.c:66 generic_shutdown_super+0x6b/0x310 fs/super.c:473 kill_block_super+0x79/0xd0 fs/super.c:1427 kill_f2fs_super+0x2f9/0x3c0 fs/f2fs/super.c:4544 deactivate_locked_super+0xa7/0xf0 fs/super.c:331 cleanup_mnt+0x4ce/0x560 fs/namespace.c:1186 task_work_run+0x146/0x1c0 kernel/task_work.c:177 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x124/0x150 kernel/entry/common.c:169 exit_to_user_mode_prepare+0xb2/0x140 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x26/0x60 kernel/entry/common.c:294 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8e3548cada Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 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:00007f8e3666bf88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffea RBX: 0000000020000200 RCX: 00007f8e3548cada RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f8e3666bfe0 RBP: 00007f8e3666c020 R08: 00007f8e3666c020 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 R13: 0000000020000100 R14: 00007f8e3666bfe0 R15: 0000000020000040 Modules linked in: CR2: 0000000000000000 ---[ end trace 0000000000000000 ]--- RIP: 0010:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0018:ffffc90004a176d8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffffea0002143540 RCX: ffff8880280c5880 RDX: 0000000000000000 RSI: ffffea0002143540 RDI: ffff88808f809798 RBP: ffffc90004a178f0 R08: ffffffff81b5b45b R09: fffff940004286a9 R10: fffff940004286a9 R11: 1ffffd40004286a8 R12: ffff888078f29310 R13: 0000000000000001 R14: ffff88803a056000 R15: ffff88803b808000 FS: 00007f8e3666c700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 0000000017fd9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400