NILFS (loop0): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 1 PID: 3613 Comm: segctord Not tainted 6.1.0-rc1-syzkaller-00158-g440b7895c990 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 RIP: 0010:nilfs_palloc_commit_free_entry+0xd2/0x570 fs/nilfs2/alloc.c:608 Code: 08 4c 89 f8 48 c1 e8 03 48 89 44 24 18 42 80 3c 20 00 74 08 4c 89 ff e8 4c 36 8b fe 49 8b 2f 48 83 c5 10 48 89 e8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 ef e8 2f 36 8b fe 48 8b 45 00 48 89 44 RSP: 0018:ffffc90003d8f280 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 1ffff1100e5b4044 RCX: 0000000000002000 RDX: 0000000000001801 RSI: 000000000000000a RDI: 000000000000003d RBP: 0000000000000010 R08: ffffffff835085a5 R09: ffffed100e093a2a R10: ffffed100e093a2a R11: 1ffff1100e093a29 R12: dffffc0000000000 R13: 0000000000002000 R14: ffff888072da0222 R15: ffff88802435cba0 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa887c6b1d0 CR3: 000000000c88e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_dat_commit_update+0x25/0x40 fs/nilfs2/dat.c:236 nilfs_btree_commit_update_v+0x91/0x420 fs/nilfs2/btree.c:1940 nilfs_btree_commit_propagate_v fs/nilfs2/btree.c:2016 [inline] nilfs_btree_propagate_v fs/nilfs2/btree.c:2046 [inline] nilfs_btree_propagate+0x972/0xe10 fs/nilfs2/btree.c:2088 nilfs_bmap_propagate+0x6d/0x120 fs/nilfs2/bmap.c:337 nilfs_collect_file_data+0x49/0xc0 fs/nilfs2/segment.c:568 nilfs_segctor_apply_buffers+0x192/0x380 fs/nilfs2/segment.c:1018 nilfs_segctor_scan_file+0x842/0xaf0 fs/nilfs2/segment.c:1067 nilfs_segctor_collect_blocks fs/nilfs2/segment.c:1197 [inline] nilfs_segctor_collect fs/nilfs2/segment.c:1503 [inline] nilfs_segctor_do_construct+0x1d2c/0x6f80 fs/nilfs2/segment.c:2045 nilfs_segctor_construct+0x143/0x8d0 fs/nilfs2/segment.c:2379 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2487 [inline] nilfs_segctor_thread+0x59e/0x11c0 fs/nilfs2/segment.c:2570 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:nilfs_palloc_commit_free_entry+0xd2/0x570 fs/nilfs2/alloc.c:608 Code: 08 4c 89 f8 48 c1 e8 03 48 89 44 24 18 42 80 3c 20 00 74 08 4c 89 ff e8 4c 36 8b fe 49 8b 2f 48 83 c5 10 48 89 e8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 ef e8 2f 36 8b fe 48 8b 45 00 48 89 44 RSP: 0018:ffffc90003d8f280 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 1ffff1100e5b4044 RCX: 0000000000002000 RDX: 0000000000001801 RSI: 000000000000000a RDI: 000000000000003d RBP: 0000000000000010 R08: ffffffff835085a5 R09: ffffed100e093a2a R10: ffffed100e093a2a R11: 1ffff1100e093a29 R12: dffffc0000000000 R13: 0000000000002000 R14: ffff888072da0222 R15: ffff88802435cba0 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa887c6b1d0 CR3: 000000000c88e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 08 4c 89 f8 or %cl,-0x8(%rcx,%rcx,4) 4: 48 c1 e8 03 shr $0x3,%rax 8: 48 89 44 24 18 mov %rax,0x18(%rsp) d: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) 12: 74 08 je 0x1c 14: 4c 89 ff mov %r15,%rdi 17: e8 4c 36 8b fe callq 0xfe8b3668 1c: 49 8b 2f mov (%r15),%rbp 1f: 48 83 c5 10 add $0x10,%rbp 23: 48 89 e8 mov %rbp,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 ef mov %rbp,%rdi 34: e8 2f 36 8b fe callq 0xfe8b3668 39: 48 8b 45 00 mov 0x0(%rbp),%rax 3d: 48 rex.W 3e: 89 .byte 0x89 3f: 44 rex.R