------------[ cut here ]------------ WARNING: CPU: 0 PID: 4037 at fs/buffer.c:1081 mark_buffer_dirty+0x2a4/0x590 fs/buffer.c:1081 Modules linked in: CPU: 0 PID: 4037 Comm: syz-executor Not tainted 6.2.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:mark_buffer_dirty+0x2a4/0x590 fs/buffer.c:1081 Code: e8 b1 90 f5 ff 49 8b 3e be 04 00 00 00 5b 41 5c 41 5e 41 5f 5d e9 ac 31 fe ff e8 07 30 d6 ff e9 6d ff ff ff e8 fd 2f d6 ff 90 <0f> 0b 90 e9 97 fd ff ff e8 ef 2f d6 ff 90 0f 0b 90 e9 b6 fd ff ff RSP: 0018:ffffc90001ae3b50 EFLAGS: 00010293 RAX: ffffffff815b4aa3 RBX: 0000000000000001 RCX: ffff888102bfb500 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff815b4836 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff81263950 R12: ffff888104aa5c00 R13: ffff88811d4b4758 R14: ffff8881093c8b28 R15: ffff888114798b28 FS: 00005555558f2500(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002000f000 CR3: 0000000107b82000 CR4: 00000000003506f0 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+0xb3/0x2a80 fs/nilfs2/segment.c:2025 nilfs_segctor_construct+0x9c/0x3e0 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+0x2c5/0x5a0 fs/nilfs2/segment.c:2814 nilfs_put_super+0x22/0xb0 fs/nilfs2/super.c:468 generic_shutdown_super+0x9e/0x1c0 fs/super.c:492 kill_block_super+0x2d/0x80 fs/super.c:1386 deactivate_locked_super+0x5c/0xc0 fs/super.c:332 cleanup_mnt+0x16c/0x1d0 fs/namespace.c:1291 task_work_run+0x102/0x140 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xb8/0xe0 kernel/entry/common.c:171 exit_to_user_mode_prepare+0x6c/0xf0 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x2d/0x230 kernel/entry/common.c:296 do_syscall_64+0x55/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x73/0xdd RIP: 0033:0x7fca4a56f327 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 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 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffcf46b5138 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fca4a5e0134 RCX: 00007fca4a56f327 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffcf46b51f0 RBP: 00007ffcf46b51f0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffcf46b6270 R13: 00007fca4a5e0134 R14: 00000000000151e3 R15: 00007ffcf46b62b0