------------[ cut here ]------------ WARNING: CPU: 2 PID: 5181 at fs/nilfs2/sufile.c:539 nilfs_sufile_set_segment_usage+0x51c/0x6a0 fs/nilfs2/sufile.c:539 Modules linked in: CPU: 2 PID: 5181 Comm: syz-executor.3 Not tainted 6.2.0-syzkaller-12485-gf3a2439f20d9 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:nilfs_sufile_set_segment_usage+0x51c/0x6a0 fs/nilfs2/sufile.c:539 Code: 79 4d fe 48 8b 6c 24 48 48 85 ed 0f 85 5b ff ff ff e9 63 ff ff ff e8 13 79 4d fe e8 fe df c9 fd e9 db fe ff ff e8 04 79 4d fe <0f> 0b e9 0d fe ff ff e8 58 09 9e fe e9 c6 fb ff ff e8 4e 09 9e fe RSP: 0000:ffffc900024278b8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880280de218 RCX: 0000000000000000 RDX: ffff888071d1c040 RSI: ffffffff8336a9fc RDI: 0000000000000005 RBP: ffff8880257a2070 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000000 R13: 1ffff92000484f1c R14: ffff8880280de6a0 R15: 0000000063fcceb8 FS: 0000555555e7c400(0000) GS:ffff88802cb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001d30748 CR3: 00000000732f7000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_segctor_update_segusage fs/nilfs2/segment.c:1449 [inline] nilfs_segctor_do_construct+0x1820/0x7100 fs/nilfs2/segment.c:2073 nilfs_segctor_construct+0x8e3/0xb30 fs/nilfs2/segment.c:2381 nilfs_segctor_write_out fs/nilfs2/segment.c:2703 [inline] nilfs_segctor_destroy fs/nilfs2/segment.c:2736 [inline] nilfs_detach_log_writer+0x3bf/0x9f0 fs/nilfs2/segment.c:2816 nilfs_put_super+0x43/0x1b0 fs/nilfs2/super.c:477 generic_shutdown_super+0x158/0x480 fs/super.c:491 kill_block_super+0x9b/0xf0 fs/super.c:1398 deactivate_locked_super+0x98/0x160 fs/super.c:331 deactivate_super+0xb1/0xd0 fs/super.c:362 cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1177 task_work_run+0x16f/0x270 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:296 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7faa7268d567 Code: Unable to access opcode bytes at 0x7faa7268d53d. RSP: 002b:00007fff10b0f818 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007faa7268d567 RDX: 00007fff10b0f8ec RSI: 000000000000000a RDI: 00007fff10b0f8e0 RBP: 00007fff10b0f8e0 R08: 00000000ffffffff R09: 00007fff10b0f6b0 R10: 0000555555e7d8b3 R11: 0000000000000246 R12: 00007faa726e6b24 R13: 00007fff10b109a0 R14: 0000555555e7d810 R15: 00007fff10b109e0