NILFS (loop0): nilfs_sufile_update: invalid segment number: 46
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5081 at fs/nilfs2/segment.c:1484 nilfs_segctor_truncate_segments fs/nilfs2/segment.c:1484 [inline]
WARNING: CPU: 1 PID: 5081 at fs/nilfs2/segment.c:1484 nilfs_segctor_collect fs/nilfs2/segment.c:1536 [inline]
WARNING: CPU: 1 PID: 5081 at fs/nilfs2/segment.c:1484 nilfs_segctor_do_construct+0x4473/0x7100 fs/nilfs2/segment.c:2047
Modules linked in:
CPU: 1 PID: 5081 Comm: segctord Not tainted 6.2.0-rc5-next-20230127-syzkaller-08766-ge2f86c02fdc9 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
RIP: 0010:nilfs_segctor_truncate_segments fs/nilfs2/segment.c:1484 [inline]
RIP: 0010:nilfs_segctor_collect fs/nilfs2/segment.c:1536 [inline]
RIP: 0010:nilfs_segctor_do_construct+0x4473/0x7100 fs/nilfs2/segment.c:2047
Code: dd 0f 84 90 15 00 00 e8 5b 8f 50 fe 49 83 ed 48 41 bc 18 00 00 00 31 db 4c 89 ac 24 60 01 00 00 e9 17 f9 ff ff e8 3d 8f 50 fe <0f> 0b e9 f5 cc ff ff e8 31 8f 50 fe 48 8b ac 24 40 01 00 00 48 85
RSP: 0018:ffffc90003d2fb38 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88807df7f000 RCX: 0000000000000000
RDX: ffff88807aefd7c0 RSI: ffffffff833425e3 RDI: 0000000000000005
RBP: 00000000ffffffea R08: 0000000000000005 R09: 0000000000000000
R10: 00000000ffffffea R11: 0000000000000000 R12: ffff888076dea160
R13: ffffed100fbefe1b R14: dffffc0000000000 R15: ffff88807359f600
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056221fd5b0a8 CR3: 000000002bca8000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
nilfs_segctor_construct+0x8e3/0xb30 fs/nilfs2/segment.c:2381
nilfs_segctor_thread_construct fs/nilfs2/segment.c:2489 [inline]
nilfs_segctor_thread+0x3c7/0xf30 fs/nilfs2/segment.c:2572
kthread+0x2e8/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
</TASK>