------------[ cut here ]------------ WARNING: CPU: 0 PID: 3540 at fs/buffer.c:1084 mark_buffer_dirty+0x325/0x4b0 Modules linked in: CPU: 0 PID: 3540 Comm: syz-executor.3 Not tainted 5.15.109-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:mark_buffer_dirty+0x325/0x4b0 fs/buffer.c:1084 Code: 89 df e8 3e a6 e4 ff 48 8b 3b be 04 00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d e9 67 85 fc ff e8 f2 4b 9b ff eb 80 e8 eb 4b 9b ff <0f> 0b e9 27 fd ff ff e8 df 4b 9b ff 0f 0b e9 46 fd ff ff e8 d3 4b RSP: 0018:ffffc90002f4f5c8 EFLAGS: 00010293 RAX: ffffffff81e49295 RBX: ffff888043150328 RCX: ffff888021e49d00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81e48fb4 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff888040156910 R13: dffffc0000000000 R14: 1ffff1100802ad22 R15: ffff88802b168e08 FS: 000055555726a400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbaa115ed80 CR3: 0000000044a6a000 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:1986 [inline] nilfs_segctor_do_construct+0x2fd/0x7150 fs/nilfs2/segment.c:2045 nilfs_segctor_construct+0x145/0x8c0 fs/nilfs2/segment.c:2401 nilfs_segctor_write_out fs/nilfs2/segment.c:2722 [inline] nilfs_segctor_destroy fs/nilfs2/segment.c:2755 [inline] nilfs_detach_log_writer+0x534/0xbc0 fs/nilfs2/segment.c:2835 nilfs_put_super+0x49/0x150 fs/nilfs2/super.c:477 generic_shutdown_super+0x136/0x2c0 fs/super.c:475 kill_block_super+0x7a/0xe0 fs/super.c:1405 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:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x5d/0x250 kernel/entry/common.c:301 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f137abd85d7 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:00007ffcd1a55128 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f137abd85d7 RDX: 00007ffcd1a551fa RSI: 000000000000000a RDI: 00007ffcd1a551f0 RBP: 00007ffcd1a551f0 R08: 00000000ffffffff R09: 00007ffcd1a54fc0 R10: 000055555726b893 R11: 0000000000000246 R12: 00007f137ac31cdc R13: 00007ffcd1a562b0 R14: 000055555726b810 R15: 00007ffcd1a562f0