------------[ cut here ]------------ WARNING: CPU: 0 PID: 3616 at fs/buffer.c:1081 mark_buffer_dirty+0x67b/0xa40 fs/buffer.c:1081 Modules linked in: CPU: 0 PID: 3616 Comm: syz-executor.0 Not tainted 6.1.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 RIP: 0010:mark_buffer_dirty+0x67b/0xa40 fs/buffer.c:1081 Code: 89 f5 41 83 e5 01 4c 89 ee e8 d1 6e 94 ff 4d 85 ed 0f 84 d3 fd ff ff e8 d3 71 94 ff 49 8d 5e ff e9 c5 fd ff ff e8 c5 71 94 ff <0f> 0b e9 b4 f9 ff ff e8 b9 71 94 ff 0f 0b e9 06 fa ff ff e8 ad 71 RSP: 0018:ffffc900041df950 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888073cd7d98 RCX: 0000000000000000 RDX: ffff88801862ba80 RSI: ffffffff81e829db RDI: 0000000000000001 RBP: ffff88806bec4e00 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: dffffc0000000000 R13: ffff88806e0161f0 R14: ffff888073cd7d98 R15: ffff88806bec4e28 FS: 0000555555b7e400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4e1a5a8000 CR3: 00000000748eb000 CR4: 0000000000350ef0 Call Trace: nilfs_segctor_collect_dirty_files fs/nilfs2/segment.c:1966 [inline] nilfs_segctor_do_construct+0x480/0x6af0 fs/nilfs2/segment.c:2025 nilfs_segctor_construct+0x8e3/0xb30 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+0x3bb/0x9f0 fs/nilfs2/segment.c:2813 nilfs_put_super+0x3f/0x1a0 fs/nilfs2/super.c:468 generic_shutdown_super+0x154/0x410 fs/super.c:491 kill_block_super+0x97/0xf0 fs/super.c:1427 deactivate_locked_super+0x94/0x160 fs/super.c:331 deactivate_super+0xad/0xd0 fs/super.c:362 cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1186 task_work_run+0x16b/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+0x19/0x50 kernel/entry/common.c:296 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f1fd3c8ca67 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:00007ffe76df9aa8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f1fd3c8ca67 RDX: 00007ffe76df9b7a RSI: 000000000000000a RDI: 00007ffe76df9b70 RBP: 00007ffe76df9b70 R08: 00000000ffffffff R09: 00007ffe76df9940 R10: 0000555555b7f8b3 R11: 0000000000000246 R12: 00007f1fd3ce5826 R13: 00007ffe76dfac30 R14: 0000555555b7f810 R15: 00007ffe76dfac70