general protection fault, probably for non-canonical address 0xdffffc000000002d: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000168-0x000000000000016f] CPU: 0 PID: 3608 Comm: segctord Not tainted 6.1.0-rc3-syzkaller-00299-g2f5065a0bc9d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:_compound_head include/linux/page-flags.h:253 [inline] RIP: 0010:lock_page+0x3b/0x2f0 include/linux/pagemap.h:958 Code: 5f 55 fe be bc 03 00 00 48 c7 c7 80 61 31 8a e8 fb 91 2b fe 2e 2e 2e 31 c0 4c 89 f2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 64 02 00 00 4c 8b 6d 08 31 ff 4d 89 ec 41 83 e4 RSP: 0018:ffffc90003f7fb10 EFLAGS: 00010216 RAX: dffffc0000000000 RBX: ffff888071f48ae0 RCX: 0000000000000001 RDX: 000000000000002d RSI: 0000000000000000 RDI: ffff88801f5a09e0 RBP: 0000000000000160 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000160 R13: dffffc0000000000 R14: 0000000000000168 R15: ffffea0001bc6000 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f51c55561d0 CR3: 000000000bc8e000 CR4: 0000000000350ef0 Call Trace: nilfs_segctor_prepare_write fs/nilfs2/segment.c:1664 [inline] nilfs_segctor_do_construct+0x2049/0x6af0 fs/nilfs2/segment.c:2074 nilfs_segctor_construct+0x8e3/0xb30 fs/nilfs2/segment.c:2379 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2487 [inline] nilfs_segctor_thread+0x3c3/0xf30 fs/nilfs2/segment.c:2570 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:_compound_head include/linux/page-flags.h:253 [inline] RIP: 0010:lock_page+0x3b/0x2f0 include/linux/pagemap.h:958 Code: 5f 55 fe be bc 03 00 00 48 c7 c7 80 61 31 8a e8 fb 91 2b fe 2e 2e 2e 31 c0 4c 89 f2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 64 02 00 00 4c 8b 6d 08 31 ff 4d 89 ec 41 83 e4 RSP: 0018:ffffc90003f7fb10 EFLAGS: 00010216 RAX: dffffc0000000000 RBX: ffff888071f48ae0 RCX: 0000000000000001 RDX: 000000000000002d RSI: 0000000000000000 RDI: ffff88801f5a09e0 RBP: 0000000000000160 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000160 R13: dffffc0000000000 R14: 0000000000000168 R15: ffffea0001bc6000 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f51c55561d0 CR3: 000000000bc8e000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess), 3 bytes skipped: 0: be bc 03 00 00 mov $0x3bc,%esi 5: 48 c7 c7 80 61 31 8a mov $0xffffffff8a316180,%rdi c: e8 fb 91 2b fe callq 0xfe2b920c 11: 2e 2e 2e 31 c0 cs cs cs xor %eax,%eax 16: 4c 89 f2 mov %r14,%rdx 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 c1 ea 03 shr $0x3,%rdx * 27: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2b: 0f 85 64 02 00 00 jne 0x295 31: 4c 8b 6d 08 mov 0x8(%rbp),%r13 35: 31 ff xor %edi,%edi 37: 4d 89 ec mov %r13,%r12 3a: 41 rex.B 3b: 83 .byte 0x83 3c: e4 .byte 0xe4