------------[ cut here ]------------ WARNING: CPU: 0 PID: 18376 at fs/nilfs2/sufile.c:531 nilfs_sufile_set_segment_usage+0x518/0x6a0 fs/nilfs2/sufile.c:531 Modules linked in: CPU: 0 PID: 18376 Comm: segctord Not tainted 6.0.0-rc7-syzkaller-00239-gb357fd1c2afc #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:nilfs_sufile_set_segment_usage+0x518/0x6a0 fs/nilfs2/sufile.c:531 Code: f0 57 fe 48 8b 6c 24 48 48 85 ed 0f 85 5b ff ff ff e9 63 ff ff ff e8 d7 f0 57 fe e8 5c 2e dd fd e9 db fe ff ff e8 c8 f0 57 fe <0f> 0b e9 0d fe ff ff e8 7c 95 a3 fe e9 c6 fb ff ff e8 72 95 a3 fe RSP: 0018:ffffc90007f9fa80 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888045d56218 RCX: 0000000000000000 RDX: ffff888028032000 RSI: ffffffff83234658 RDI: 0000000000000005 RBP: ffff8880517cc050 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000000 R13: 1ffff92000ff3f55 R14: ffff888045d566a0 R15: 00000000633998f6 FS: 0000000000000000(0000) GS:ffff88802c800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33a29000 CR3: 000000002689a000 CR4: 0000000000150ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_segctor_update_segusage fs/nilfs2/segment.c:1441 [inline] nilfs_segctor_do_construct+0x1f6e/0x6970 fs/nilfs2/segment.c:2065 nilfs_segctor_construct+0x8e3/0xb30 fs/nilfs2/segment.c:2375 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2483 [inline] nilfs_segctor_thread+0x3c3/0xfe0 fs/nilfs2/segment.c:2566 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306