BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor instruction fetch in kernel mode #PF: error_code(0x0010) - not-present page PGD 267ed067 P4D 267ed067 PUD 7ed73067 PMD 0 Oops: 0010 [#1] PREEMPT SMP KASAN CPU: 0 PID: 20056 Comm: syz-executor.4 Not tainted 6.2.0-rc7-syzkaller-00018-g0983f6bf2bfc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0018:ffffc900157c7688 EFLAGS: 00010246 RAX: 1ffffffff164095c RBX: ffffea0001de8980 RCX: ffff88802a5cd7c0 RDX: 0000000000000000 RSI: ffffc900157c7ae0 RDI: ffffea0001de8980 RBP: ffffffff8b204ae0 R08: ffffffff81bc853a R09: fffffbfff1ca1256 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffffea0001de8980 R14: ffff8880305c5d30 R15: ffffc900157c7ae0 FS: 00007fdb52edd700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 0000000027b5a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __writepage+0x64/0x130 mm/page-writeback.c:2537 write_cache_pages+0x99a/0x16a0 mm/page-writeback.c:2472 generic_writepages mm/page-writeback.c:2563 [inline] do_writepages+0x413/0x670 mm/page-writeback.c:2583 filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:388 __filemap_fdatawrite_range mm/filemap.c:421 [inline] file_write_and_wait_range+0x20f/0x300 mm/filemap.c:777 __generic_file_fsync+0x72/0x190 fs/libfs.c:1132 generic_file_fsync+0x73/0xf0 fs/libfs.c:1173 generic_write_sync include/linux/fs.h:2885 [inline] udf_file_write_iter+0x4b7/0x5e0 fs/udf/file.c:176 call_write_iter include/linux/fs.h:2189 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7b2/0xbb0 fs/read_write.c:584 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fdb5c68c0f9 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:00007fdb52edd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fdb5c7ac050 RCX: 00007fdb5c68c0f9 RDX: 0000000000000008 RSI: 0000000020000080 RDI: 0000000000000004 RBP: 00007fdb5c6e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc83d4665f R14: 00007fdb52edd300 R15: 0000000000022000 Modules linked in: CR2: 0000000000000000 ---[ end trace 0000000000000000 ]--- RIP: 0010:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0018:ffffc900157c7688 EFLAGS: 00010246 RAX: 1ffffffff164095c RBX: ffffea0001de8980 RCX: ffff88802a5cd7c0 RDX: 0000000000000000 RSI: ffffc900157c7ae0 RDI: ffffea0001de8980 RBP: ffffffff8b204ae0 R08: ffffffff81bc853a R09: fffffbfff1ca1256 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffffea0001de8980 R14: ffff8880305c5d30 R15: ffffc900157c7ae0 FS: 00007fdb52edd700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 0000000027b5a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400