------------[ cut here ]------------ WARNING: CPU: 1 PID: 3637 at fs/buffer.c:1084 mark_buffer_dirty+0x406/0x590 Modules linked in: CPU: 1 PID: 3637 Comm: syz-executor.3 Not tainted 5.15.103-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:mark_buffer_dirty+0x406/0x590 fs/buffer.c:1084 Code: c7 c0 3e 97 8a be 3f 00 00 00 48 c7 c2 00 3f 97 8a e8 1e a7 7d ff e9 35 fd ff ff e8 b4 fe 9a ff e9 23 ff ff ff e8 aa fe 9a ff <0f> 0b e9 46 fc ff ff e8 9e fe 9a ff 0f 0b e9 65 fc ff ff e8 92 fe RSP: 0018:ffffc90002def5c8 EFLAGS: 00010293 RAX: ffffffff81e57a26 RBX: ffff8880344b2328 RCX: ffff88801c278000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81e57664 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff88807578b910 R13: dffffc0000000000 R14: 1ffff1100eaf1722 R15: ffff888023942140 FS: 0000555556b03400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e328000 CR3: 000000003253c000 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+0x2fd/0x7410 fs/nilfs2/segment.c:2025 nilfs_segctor_construct+0x145/0x8c0 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+0x534/0xbc0 fs/nilfs2/segment.c:2816 nilfs_put_super+0x4b/0x150 fs/nilfs2/super.c:477 generic_shutdown_super+0x136/0x2c0 fs/super.c:466 kill_block_super+0x7a/0xe0 fs/super.c:1396 deactivate_locked_super+0xa0/0x110 fs/super.c:335 cleanup_mnt+0x44e/0x500 fs/namespace.c:1143 task_work_run+0x129/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:175 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x5d/0x2b0 kernel/entry/common.c:300 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fce83356567 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:00007ffd5b75a7f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fce83356567 RDX: 00007ffd5b75a8cb RSI: 000000000000000a RDI: 00007ffd5b75a8c0 RBP: 00007ffd5b75a8c0 R08: 00000000ffffffff R09: 00007ffd5b75a690 R10: 0000555556b048b3 R11: 0000000000000246 R12: 00007fce833afb74 R13: 00007ffd5b75b980 R14: 0000555556b04810 R15: 00007ffd5b75b9c0