------------[ cut here ]------------ WARNING: CPU: 0 PID: 3599 at fs/buffer.c:1081 mark_buffer_dirty+0x394/0x7d0 Modules linked in: CPU: 0 PID: 3599 Comm: syz-executor.2 Not tainted 6.1.26-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:mark_buffer_dirty+0x394/0x7d0 fs/buffer.c:1081 Code: 1d e1 ff 48 8b 7d 00 be 04 00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d e9 2b 72 fc ff e8 d6 d5 8a ff e9 42 ff ff ff e8 cc d5 8a ff <0f> 0b e9 b3 fc ff ff e8 c0 d5 8a ff 0f 0b e9 f6 fc ff ff e8 b4 d5 RSP: 0018:ffffc90004eff4e8 EFLAGS: 00010293 RAX: ffffffff81fef2f4 RBX: ffff888073dd9801 RCX: ffff8880284a57c0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81feefa1 R09: ffffed10125add7a R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1101258fa90 R13: 1ffff1101258fa92 R14: ffff888092c7d490 R15: ffff888092d6ebc8 FS: 0000555555ebb400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe7b4586058 CR3: 0000000086a4f000 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+0x327/0x6c70 fs/nilfs2/segment.c:2045 nilfs_segctor_construct+0x145/0x8c0 fs/nilfs2/segment.c:2399 nilfs_segctor_write_out fs/nilfs2/segment.c:2720 [inline] nilfs_segctor_destroy fs/nilfs2/segment.c:2753 [inline] nilfs_detach_log_writer+0x532/0xbc0 fs/nilfs2/segment.c:2833 nilfs_put_super+0x49/0x150 fs/nilfs2/super.c:477 generic_shutdown_super+0x130/0x340 fs/super.c:501 kill_block_super+0x7a/0xe0 fs/super.c:1450 deactivate_locked_super+0xa0/0x110 fs/super.c:332 cleanup_mnt+0x490/0x520 fs/namespace.c:1186 task_work_run+0x246/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xd9/0x100 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:297 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe12468d5d7 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:00007ffd2c65cda8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fe12468d5d7 RDX: 00007ffd2c65ce7b RSI: 000000000000000a RDI: 00007ffd2c65ce70 RBP: 00007ffd2c65ce70 R08: 00000000ffffffff R09: 00007ffd2c65cc40 R10: 0000555555ebc8b3 R11: 0000000000000246 R12: 00007fe1246e6cdc R13: 00007ffd2c65df30 R14: 0000555555ebc810 R15: 00007ffd2c65df70