BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor instruction fetch in kernel mode #PF: error_code(0x0010) - not-present page PGD 7542b067 P4D 7542b067 PUD 0 Oops: 0010 [#1] PREEMPT SMP KASAN CPU: 0 PID: 3543 Comm: syz-executor.1 Not tainted 5.15.110-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:0x0 Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. RSP: 0018:ffffc90002def858 EFLAGS: 00010286 RAX: 1ffffffff152d78b RBX: ffffea0002768b80 RCX: ffffffff8a96bc58 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffea0002768b80 RBP: ffffc90002defb50 R08: ffffffff81aa61c9 R09: fffff940004ed171 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90002defae0 R13: ffffea0000ad6d00 R14: ffff88806be8e000 R15: ffffea0000ad6d00 FS: 0000555556992400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 0000000032308000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: get_next_nat_page fs/f2fs/node.c:158 [inline] __flush_nat_entry_set fs/f2fs/node.c:3009 [inline] f2fs_flush_nat_entries+0xd91/0x24e0 fs/f2fs/node.c:3113 f2fs_write_checkpoint+0x119d/0x1b50 fs/f2fs/checkpoint.c:1680 kill_f2fs_super+0x235/0x3c0 fs/f2fs/super.c:4504 deactivate_locked_super+0xa0/0x110 fs/super.c:335 cleanup_mnt+0x44e/0x500 fs/namespace.c:1143 task_work_run+0x129/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:175 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x5d/0x250 kernel/entry/common.c:301 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f258fe875d7 Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 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:00007fff65f64b28 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f258fe875d7 RDX: 00007fff65f64bfa RSI: 000000000000000a RDI: 00007fff65f64bf0 RBP: 00007fff65f64bf0 R08: 00000000ffffffff R09: 00007fff65f649c0 R10: 0000555556993873 R11: 0000000000000246 R12: 00007f258fee0cdc R13: 00007fff65f65cb0 R14: 0000555556993810 R15: 00007fff65f65cf0 Modules linked in: CR2: 0000000000000000 ---[ end trace fb492c097f10b008 ]--- RIP: 0010:0x0 Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. RSP: 0018:ffffc90002def858 EFLAGS: 00010286 RAX: 1ffffffff152d78b RBX: ffffea0002768b80 RCX: ffffffff8a96bc58 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffea0002768b80 RBP: ffffc90002defb50 R08: ffffffff81aa61c9 R09: fffff940004ed171 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90002defae0 R13: ffffea0000ad6d00 R14: ffff88806be8e000 R15: ffffea0000ad6d00 FS: 0000555556992400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 0000000032308000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400