BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor instruction fetch in kernel mode #PF: error_code(0x0010) - not-present page PGD 74d6f067 P4D 74d6f067 PUD 7d1dd067 PMD 0 Oops: 0010 [#1] PREEMPT SMP KASAN CPU: 0 PID: 10711 Comm: syz-executor.2 Not tainted 6.3.0-rc7-syzkaller-00043-gaf67688dca57 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 RIP: 0010:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0018:ffffc900151cea18 EFLAGS: 00010246 RAX: 0000000000000020 RBX: 0000000000000000 RCX: ffffffff8b255d60 RDX: ffffc900151ced80 RSI: ffffc900151ced60 RDI: ffff888039539800 RBP: ffffc900151cef50 R08: ffffffff834b8add R09: ffffed101058e94c R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000081 R13: dffffc0000000000 R14: ffffc900151ced01 R15: 0000000000000001 FS: 00007fe6bec19700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 000000001cddc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_segctor_assign fs/nilfs2/segment.c:1631 [inline] nilfs_segctor_do_construct+0x3c63/0x6f70 fs/nilfs2/segment.c:2058 nilfs_construct_dsync_segment+0x5c4/0x6c0 fs/nilfs2/segment.c:2312 do_writepages+0x3a6/0x670 mm/page-writeback.c:2551 filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:390 __filemap_fdatawrite_range mm/filemap.c:423 [inline] filemap_write_and_wait_range+0x1d4/0x2c0 mm/filemap.c:678 __blockdev_direct_IO+0x77c/0x4300 fs/direct-io.c:1159 blockdev_direct_IO include/linux/fs.h:2789 [inline] nilfs_direct_IO+0xea/0x120 fs/nilfs2/inode.c:296 generic_file_read_iter+0x337/0x540 mm/filemap.c:2817 call_read_iter include/linux/fs.h:1845 [inline] generic_file_splice_read+0x240/0x640 fs/splice.c:402 do_splice_to fs/splice.c:885 [inline] splice_direct_to_actor+0x40c/0xbd0 fs/splice.c:956 do_splice_direct+0x283/0x3d0 fs/splice.c:1065 do_sendfile+0x620/0xff0 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1309 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:0x7fe6bde8c169 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:00007fe6bec19168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fe6bdfabf80 RCX: 00007fe6bde8c169 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000006 RBP: 00007fe6bdee7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdffa542bf R14: 00007fe6bec19300 R15: 0000000000022000 Modules linked in: CR2: 0000000000000000 ---[ end trace 0000000000000000 ]--- RIP: 0010:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0018:ffffc900151cea18 EFLAGS: 00010246 RAX: 0000000000000020 RBX: 0000000000000000 RCX: ffffffff8b255d60 RDX: ffffc900151ced80 RSI: ffffc900151ced60 RDI: ffff888039539800 RBP: ffffc900151cef50 R08: ffffffff834b8add R09: ffffed101058e94c R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000081 R13: dffffc0000000000 R14: ffffc900151ced01 R15: 0000000000000001 FS: 00007fe6bec19700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 000000001cddc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400