------------[ cut here ]------------ WARNING: CPU: 1 PID: 4121 at fs/buffer.c:1081 mark_buffer_dirty+0x394/0x7d0 Modules linked in: CPU: 1 PID: 4121 Comm: syz-executor.5 Not tainted 6.1.23-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 RIP: 0010:mark_buffer_dirty+0x394/0x7d0 fs/buffer.c:1081 Code: 3e e1 ff 48 8b 7d 00 be 04 00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d e9 ab 74 fc ff e8 56 1e 8b ff e9 42 ff ff ff e8 4c 1e 8b ff <0f> 0b e9 b3 fc ff ff e8 40 1e 8b ff 0f 0b e9 f6 fc ff ff e8 34 1e RSP: 0018:ffffc90004d5f4e8 EFLAGS: 00010293 RAX: ffffffff81fe6f74 RBX: ffff8880791b9001 RCX: ffff888025f03a80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81fe6c21 R09: ffffed100a7ef01e R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100a7a6dc4 R13: 1ffff1100a7a6dc6 R14: ffff888053d36e30 R15: ffff888053f780e8 FS: 0000555555d03400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200bd038 CR3: 00000000597cb000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_segctor_collect_dirty_files fs/nilfs2/segment.c:1966 [inline] nilfs_segctor_do_construct+0x327/0x6f00 fs/nilfs2/segment.c:2025 nilfs_segctor_construct+0x145/0x8c0 fs/nilfs2/segment.c:2379 nilfs_segctor_write_out fs/nilfs2/segment.c:2701 [inline] nilfs_segctor_destroy fs/nilfs2/segment.c:2734 [inline] nilfs_detach_log_writer+0x532/0xbc0 fs/nilfs2/segment.c:2814 nilfs_put_super+0x4b/0x150 fs/nilfs2/super.c:477 generic_shutdown_super+0x130/0x340 fs/super.c:501 kill_block_super+0x7a/0xe0 fs/super.c:1450 deactivate_locked_super+0xa0/0x110 fs/super.c:332 cleanup_mnt+0x490/0x520 fs/namespace.c:1186 task_work_run+0x246/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xd9/0x100 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:297 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2622e8d5d7 Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff1712af38 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f2622e8d5d7 RDX: 00007fff1712b00a RSI: 000000000000000a RDI: 00007fff1712b000 RBP: 00007fff1712b000 R08: 00000000ffffffff R09: 00007fff1712add0 R10: 0000555555d048b3 R11: 0000000000000246 R12: 00007f2622ee6cdc R13: 00007fff1712c0c0 R14: 0000555555d04810 R15: 00007fff1712c100