------------[ cut here ]------------ WARNING: CPU: 0 PID: 5067 at fs/buffer.c:1081 mark_buffer_dirty+0x2c2/0x550 Modules linked in: CPU: 0 PID: 5067 Comm: syz-executor572 Not tainted 6.2.0-rc3-syzkaller-00376-g7c6984405241 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:mark_buffer_dirty+0x2c2/0x550 fs/buffer.c:1081 Code: 5d 41 5e 41 5f 5d c3 e8 0c 6f 8a ff eb 05 e8 05 6f 8a ff 4c 89 f7 5b 41 5c 41 5d 41 5e 41 5f 5d e9 43 39 e7 ff e8 ee 6e 8a ff <0f> 0b e9 77 fd ff ff e8 e2 6e 8a ff 48 ff cb e9 91 fe ff ff e8 d5 RSP: 0018:ffffc90003b3f3e8 EFLAGS: 00010293 RAX: ffffffff82016d12 RBX: ffff888018013301 RCX: ffff888027229d40 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90003b3f950 R08: ffffffff82016a83 R09: ffffed100eafae92 R10: ffffed100eafae92 R11: 1ffff1100eafae91 R12: 1ffff1100e5d49c5 R13: 1ffff1100e5d49c3 R14: ffff8880757d7488 R15: ffff888072ea4e18 FS: 000055555622e300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcca6a1040 CR3: 0000000029d5b000 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+0x33a/0x6f80 fs/nilfs2/segment.c:2025 nilfs_segctor_construct+0x143/0x8d0 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+0x537/0xbd0 fs/nilfs2/segment.c:2814 nilfs_put_super+0x4b/0x150 fs/nilfs2/super.c:468 generic_shutdown_super+0x130/0x310 fs/super.c:492 kill_block_super+0x79/0xd0 fs/super.c:1386 deactivate_locked_super+0xa7/0xf0 fs/super.c:332 cleanup_mnt+0x494/0x520 fs/namespace.c:1291 task_work_run+0x243/0x300 kernel/task_work.c:179 ptrace_notify+0x29a/0x340 kernel/signal.c:2354 ptrace_report_syscall include/linux/ptrace.h:411 [inline] ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline] syscall_exit_work+0x8c/0xe0 kernel/entry/common.c:251 syscall_exit_to_user_mode_prepare+0x63/0xc0 kernel/entry/common.c:278 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0xa/0x60 kernel/entry/common.c:296 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fadf3364d07 Code: 07 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffcca6a0f88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fadf3364d07 RDX: 00007ffcca6a104a RSI: 000000000000000a RDI: 00007ffcca6a1040 RBP: 00007ffcca6a1040 R08: 00000000ffffffff R09: 00007ffcca6a0e20 R10: 000055555622f653 R11: 0000000000000206 R12: 00007ffcca6a20b0 R13: 000055555622f5f0 R14: 00007ffcca6a0fb0 R15: 000000000000002d