BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor instruction fetch in kernel mode #PF: error_code(0x0010) - not-present page PGD 7256d067 P4D 7256d067 PUD 0 Oops: 0010 [#1] PREEMPT SMP KASAN CPU: 1 PID: 17778 Comm: syz-executor.2 Not tainted 5.15.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:0x0 Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. RSP: 0018:ffffc9000373f838 EFLAGS: 00010282 RAX: 1ffffffff14be56b RBX: 00000000000005ff RCX: ffffffff8a5f2b58 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffea000287ad80 RBP: ffffc9000373fab0 R08: ffffffff81ae750c R09: fffff9400050f5b1 R10: fffff9400050f5b1 R11: 0000000000000000 R12: ffff888077f3cb10 R13: 0000000000000001 R14: ffff88803b16e000 R15: ffffea000287ad80 FS: 000055555730d400(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 0000000078169000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: f2fs_update_meta_page+0x4b/0x380 fs/f2fs/segment.c:2465 do_checkpoint fs/f2fs/checkpoint.c:1515 [inline] f2fs_write_checkpoint+0x2f7a/0x5220 fs/f2fs/checkpoint.c:1676 f2fs_issue_checkpoint+0x361/0x4e0 __sync_filesystem fs/sync.c:39 [inline] sync_filesystem+0x19e/0x200 fs/sync.c:67 generic_shutdown_super+0x6e/0x2b0 fs/super.c:448 kill_block_super+0x79/0xd0 fs/super.c:1395 kill_f2fs_super+0x2f9/0x3c0 fs/f2fs/super.c:4444 deactivate_locked_super+0xa7/0xf0 fs/super.c:335 cleanup_mnt+0x462/0x510 fs/namespace.c:1137 task_work_run+0x146/0x1c0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x209/0x220 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:300 do_syscall_64+0x53/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f21ce14ab67 Code: ff d0 48 89 c7 b8 3c 00 00 00 0f 05 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe0b848ba8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f21ce14ab67 RDX: 00007ffe0b848c7c RSI: 0000000000000002 RDI: 00007ffe0b848c70 RBP: 00007ffe0b848c70 R08: 00000000ffffffff R09: 00007ffe0b848a40 R10: 000055555730e8e3 R11: 0000000000000246 R12: 00007f21ce1a2e80 R13: 00007ffe0b849d30 R14: 000055555730e810 R15: 00007ffe0b849d70 Modules linked in: CR2: 0000000000000000 ---[ end trace 76c0cb59dc218f01 ]--- RIP: 0010:0x0 Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. RSP: 0018:ffffc9000373f838 EFLAGS: 00010282 RAX: 1ffffffff14be56b RBX: 00000000000005ff RCX: ffffffff8a5f2b58 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffea000287ad80 RBP: ffffc9000373fab0 R08: ffffffff81ae750c R09: fffff9400050f5b1 R10: fffff9400050f5b1 R11: 0000000000000000 R12: ffff888077f3cb10 R13: 0000000000000001 R14: ffff88803b16e000 R15: ffffea000287ad80 FS: 000055555730d400(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 0000000078169000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600